Skip to content

Commit

Permalink
Bump supported Python versions (#200)
Browse files Browse the repository at this point in the history
* test on python 3.12

* restrict matrix runners to avoid rate limit

* drop 3.9 support
  • Loading branch information
ziw-liu authored Dec 8, 2023
1 parent 37fddaf commit a4d43a2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: ${{ matrix.platform }} py${{ matrix.python-version }}
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 3
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10", "3.11"]

python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
args: [--ignore, "E203,W503", --min-python-version, '3.9']
args: [--ignore, "E203,W503", --min-python-version, '3.10']
additional_dependencies: [flake8-typing-imports==1.12.0]
- repo: https://github.com/psf/black
rev: 23.3.0
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ and Python with an environment management tool
If you use Conda, set up an environment with:

```sh
conda create -n iohub-dev python=3.9
conda create -n iohub-dev python=3.10
conda activate iohub-dev
```

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Image Processing
Operating System :: Microsoft :: Windows
Expand All @@ -29,7 +29,7 @@ project_urls =
[options]
package = find:
include_package_data = True
python_requires = >=3.9
python_requires = >=3.10
setup_requires = setuptools_scm
install_requires =
pandas>=1.5.2
Expand Down

0 comments on commit a4d43a2

Please sign in to comment.