Skip to content

Commit c9b8cf3

Browse files
authored
Merge pull request #923 from karlhillx/remove-scikit-image-dep
Remove scikit-image runtime dependency
2 parents 1bf5bcf + 16dcaa1 commit c9b8cf3

4 files changed

Lines changed: 2 additions & 10 deletions

File tree

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Alphabetical list of code contributors
3737
* Yash Gondhalekar (@Yash-10)
3838
* Hans Moritz Günther (@hamogu)
3939
* Nathan Heidt (@heidtha)
40+
* Karl Hill (@karlhillx)
4041
* Michael Hlabathe (@hlabathems)
4142
* Elias Holte (@Sondanaa)
4243
* Anthony Horton (@AnthonyHorton)

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Other Changes and Additions
55
^^^^^^^^^^^^^^^^^^^^^^^^^^^
66

77
- Remove superfluous license file from the package. [#899]
8+
- scikit-image is no longer a runtime dependency. [#921]
89

910
2.5.0 (2025-07-03)
1011
------------------

ccdproc/tests/test_ccdproc.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import astropy
88
import astropy.units as u
99
import pytest
10-
import skimage
1110
from astropy.io import fits
1211
from astropy.modeling import models
1312
from astropy.nddata import (
@@ -801,10 +800,6 @@ def tran(arr):
801800

802801
# Test block_reduce and block_replicate wrapper
803802
@pytest.mark.skipif(not HAS_BLOCK_X_FUNCS, reason="needs astropy >= 1.1.x")
804-
@pytest.mark.skipif(
805-
(skimage.__version__ < "0.14.2") and ("dev" in xp.__version__),
806-
reason="Incompatibility between scikit-image " "and numpy 1.16",
807-
)
808803
def test_block_reduce():
809804
ccd = CCDData(
810805
xp.ones((4, 4)),
@@ -834,10 +829,6 @@ def test_block_reduce():
834829

835830

836831
@pytest.mark.skipif(not HAS_BLOCK_X_FUNCS, reason="needs astropy >= 1.1.x")
837-
@pytest.mark.skipif(
838-
(skimage.__version__ < "0.14.2") and ("dev" in xp.__version__),
839-
reason="Incompatibility between scikit-image " "and numpy 1.16",
840-
)
841832
def test_block_average():
842833
data = xp.asarray(
843834
[

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ dependencies = [
2121
"astroscrappy>=1.1.0",
2222
"numpy>=1.26",
2323
"reproject>=0.9.1",
24-
"scikit-image",
2524
"scipy",
2625
]
2726

0 commit comments

Comments
 (0)