Skip to content

Commit e735350

Browse files
authored
Bump Python versions (#310)
* Bump Python versions * Fix version number
1 parent b0c8de2 commit e735350

File tree

6 files changed

+30
-25
lines changed

6 files changed

+30
-25
lines changed

.github/workflows/docs.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ permissions:
33
contents: read
44

55
on:
6-
76
pull_request:
87
branches:
98
- main
@@ -25,7 +24,7 @@ jobs:
2524

2625
- uses: actions/setup-python@v5
2726
with:
28-
python-version: "3.10"
27+
python-version: "3.13"
2928

3029
- uses: tlambert03/setup-qt-libs@19e4ef2d781d81f5f067182e228b54ec90d23b76 # v1
3130

@@ -53,16 +52,16 @@ jobs:
5352
needs: build-docs
5453
if: contains(github.ref, 'tags')
5554
steps:
56-
- uses: actions/checkout@v4
57-
with:
58-
persist-credentials: false
59-
- uses: actions/[email protected]
60-
with:
61-
name: docs
55+
- uses: actions/checkout@v4
56+
with:
57+
persist-credentials: false
58+
- uses: actions/[email protected]
59+
with:
60+
name: docs
6261

63-
- name: Push to GitHub pages
64-
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4
65-
with:
66-
folder: html
67-
ssh-key: ${{ secrets.DEPLOY_KEY }}
68-
repository-name: napari-matplotlib/napari-matplotlib.github.io
62+
- name: Push to GitHub pages
63+
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4
64+
with:
65+
folder: html
66+
ssh-key: ${{ secrets.DEPLOY_KEY }}
67+
repository-name: napari-matplotlib/napari-matplotlib.github.io

.github/workflows/test_and_deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ on:
1515
merge_group:
1616

1717
concurrency:
18-
group: ${{ github.workflow }}-${{ github.ref }}
19-
cancel-in-progress: true
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
2020

2121
jobs:
2222
pre-commit:
2323
name: precommit
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:
2828
fetch-depth: 0
29-
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
29+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
3030
with:
3131
python-version: "3.x"
32-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
32+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
3333
with:
3434
extra_args: --hook-stage manual --all-files
3535
test:
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
platform: [ubuntu-latest, macos-latest, windows-latest]
42-
python-version: ['3.10', '3.11', '3.12']
42+
python-version: ["3.11", "3.12", "3.13"]
4343

4444
steps:
4545
- uses: actions/checkout@v4
@@ -87,8 +87,6 @@ jobs:
8787
token: ${{ secrets.CODECOV_TOKEN }}
8888
fail_ci_if_error: false
8989

90-
91-
9290
deploy:
9391
# this will run when you have tagged a commit, starting with "v*"
9492
# and requires that you have put your twine API key in your

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ python:
1010
build:
1111
os: ubuntu-22.04
1212
tools:
13-
python: "3.10"
13+
python: "3.13"
1414
apt_packages:
1515
- xvfb

docs/changelog.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
=========
33

4+
4.0.0
5+
-----
6+
Dependencies
7+
~~~~~~~~~~~~
8+
9+
- Dropped support for Python 3.10
10+
- Added explicit support and testing for Python 3.13
11+
412
3.0.1
513
-----
614
Bug fixes

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ install_requires =
3131
napari>=0.5
3232
numpy>=1.23
3333
tinycss2
34-
python_requires = >=3.10
34+
python_requires = >=3.11
3535
include_package_data = True
3636
package_dir =
3737
=src

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ isolated_build = true
44

55
[gh-actions]
66
python =
7-
3.10: py310
87
3.11: py311
98
3.12: py312
9+
3.13: py313
1010

1111
[testenv]
1212
extras = testing

0 commit comments

Comments
 (0)