Skip to content

Commit 9c75ef5

Browse files
committed
Bump the minimum Python version to 3.9
To satisfy the breaking setuptools change around the license field. And bump the tested version ceiling to 3.13.
1 parent 1fa757a commit 9c75ef5

File tree

4 files changed

+10
-19
lines changed

4 files changed

+10
-19
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest, windows-latest, macos-latest]
20-
python-version: ["3.8", "3.10"]
21-
# Breaks due to https://github.com/jpype-project/jpype/issues/1009
22-
# Should be included once the fix is released
23-
exclude:
24-
- os: windows-latest
25-
python-version: "3.10"
26-
include:
27-
- os: windows-latest
28-
python-version: "3.9"
20+
python-version: ["3.9", "3.13"]
2921

3022
steps:
3123
- uses: actions/checkout@v2

dev-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ name: pyimagej-dev
2020
channels:
2121
- conda-forge
2222
dependencies:
23-
- python >= 3.8
23+
- python >= 3.9
2424
# Project dependencies
2525
- imglyb >= 2.1.0
2626
- jgo >= 1.0.3

doc/Install.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,15 @@ If installing via pip, we recommend using a
4848
[virtualenv](https://virtualenv.pypa.io/) to avoid cluttering up or mangling
4949
your system-wide or user-wide Python environment. Alternately, you can use
5050
mamba just for its virtual environment feature (`mamba create -n pyimagej
51-
python=3.8; mamba activate pyimagej`) and then simply `pip install` everything
51+
python=3.9; mamba activate pyimagej`) and then simply `pip install` everything
5252
into that active environment.
5353

5454
There are several ways to install things via pip, but we will not enumerate
5555
them all here; these instructions will assume you know what you are doing if
5656
you chose this route over conda/mamba above.
5757

58-
1. Install [Python 3](https://python.org/). As of this writing, PyImageJ has
59-
been tested with Python 3.6, 3.7, 3.8, 3.9, and 3.10.
60-
You might have issues with Python 3.10 on Windows.
58+
1. Install [Python 3](https://python.org/). As of this writing,
59+
PyImageJ has been tested with Python up through 3.13.
6160

6261
2. Install OpenJDK 8 or OpenJDK 11. PyImageJ should work with whichever
6362
distribution of OpenJDK you prefer; we recommend
@@ -176,7 +175,7 @@ USER root
176175
RUN apt-get update
177176
RUN apt-get install -y wget unzip > /dev/null && rm -rf /var/lib/apt/lists/* > /dev/null
178177
RUN micromamba install -y -n base -c conda-forge \
179-
python=3.8\
178+
python=3.9\
180179
pyimagej \
181180
openjdk=11 && \
182181
micromamba clean --all --yes

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = [ "setuptools>=61.2" ]
2+
requires = [ "setuptools>=77.0.0" ]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "pyimagej"
7-
version = "1.6.1.dev0"
7+
version = "1.7.0.dev0"
88
description = "Python wrapper for ImageJ"
99
license = "Apache-2.0"
1010
authors = [{name = "ImageJ2 developers", email = "ctrueden@wisc.edu"}]
@@ -16,11 +16,11 @@ classifiers = [
1616
"Intended Audience :: Education",
1717
"Intended Audience :: Science/Research",
1818
"Programming Language :: Python :: 3 :: Only",
19-
"Programming Language :: Python :: 3.8",
2019
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
2221
"Programming Language :: Python :: 3.11",
2322
"Programming Language :: Python :: 3.12",
23+
"Programming Language :: Python :: 3.13",
2424
"Operating System :: Microsoft :: Windows",
2525
"Operating System :: Unix",
2626
"Operating System :: MacOS",
@@ -33,7 +33,7 @@ classifiers = [
3333
]
3434

3535
# NB: Keep this in sync with environment.yml AND dev-environment.yml!
36-
requires-python = ">=3.8"
36+
requires-python = ">=3.9"
3737
dependencies = [
3838
"imglyb >= 2.1.0",
3939
"jgo >= 1.0.3",

0 commit comments

Comments
 (0)