Skip to content

Commit

Permalink
Adhere to SPEC0
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed May 3, 2024
1 parent fd47be0 commit 9b0e3b2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand Down
9 changes: 9 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
Changelog
=========
2.0.2
-----
Dependencies
~~~~~~~~~~~~
napari-matplotlib now adheres to `SPEC 0<https://scientific-python.org/specs/spec-0000/>`_, and has:
- Dropped support for Python 3.9
- Added support for Python 3.12
- Added a minimum required numpy verison of 1.23

2.0.1
-----
Bug fixes
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ profile = "black"
line_length = 79

[tool.ruff]
target-version = "py39"
target-version = "py310"
select = ["I", "UP", "F", "E", "W", "D"]
ignore = [
"D100", # Missing docstring in public module
Expand All @@ -46,7 +46,7 @@ fix = true
convention = "numpy"

[tool.mypy]
python_version = "3.9"
python_version = "3.10"
# Block below are checks that form part of mypy 'strict' mode
strict = true
disallow_subclassing_any = false # TODO: fix
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ packages = find:
install_requires =
matplotlib
napari
numpy
numpy>=1.23
tinycss2
python_requires = >=3.9
python_requires = >=3.10
include_package_data = True
package_dir =
=src
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tox]
envlist = py{39,310,311}
envlist = py{310,311,312}
isolated_build = true

[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312

[testenv]
extras = testing
Expand Down

0 comments on commit 9b0e3b2

Please sign in to comment.