Skip to content

Commit 702a955

Browse files
committed
Drop support for python < 3.9
1 parent 656a5ea commit 702a955

File tree

3 files changed

+11
-26
lines changed

3 files changed

+11
-26
lines changed

.github/workflows/discorpy_ga.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
os: [ubuntu-latest, windows-latest, macos-latest]
29-
python-version: ["3.8", "3.9", "3.10", "3.11" ]
30-
exclude:
31-
- os: macos-latest
32-
python-version: "3.8"
29+
python-version: ["3.9", "3.10", "3.11" ]
3330

3431
steps:
3532
- uses: actions/checkout@v4

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#python>=3.8
1+
#python>=3.9
22
numpy
33
scipy
44
scikit-image

setup.py

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,14 @@
55
py_ver = sys.version.split(".")[:2]
66
python_version = py_ver[0] + "." + py_ver[1]
77

8-
if python_version == "3.8":
9-
dependencies = [
10-
"scipy<1.10",
11-
"pywavelets<1.5",
12-
"contourpy<1.2",
13-
"h5py<3.10",
14-
"pillow",
15-
"matplotlib<3.8",
16-
"scikit-image<0.19",
17-
"numpy<1.20",
18-
]
19-
else:
20-
dependencies = [
21-
"scikit-image",
22-
"scipy",
23-
"h5py",
24-
"pillow",
25-
"matplotlib",
26-
"numpy"
27-
]
8+
dependencies = [
9+
"scikit-image",
10+
"scipy",
11+
"h5py",
12+
"pillow",
13+
"matplotlib",
14+
"numpy"
15+
]
2816

2917
HERE = pathlib.Path(__file__).parent
3018
README = (HERE / "README.md").read_text()
@@ -56,5 +44,5 @@
5644
"Topic :: Scientific/Engineering :: Image Processing"
5745
],
5846
install_requires=dependencies,
59-
python_requires='>=3.8',
47+
python_requires='>=3.9',
6048
)

0 commit comments

Comments
 (0)