Skip to content

Commit

Permalink
moving to Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashof committed Dec 11, 2024
1 parent 5295c17 commit 82f1dc2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_to_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"

- name: install build tools
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.13"

- name: checkout
uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest] # [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10"] # ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.13"]
steps:
- name: checkout
uses: actions/checkout@v4
Expand Down
21 changes: 4 additions & 17 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ stages:

test-lint:
stage: test
image: "python:3.12"
image: "python:3.13"
needs: []
script:
- pip install isort black[jupyter] flake8-docstrings
Expand All @@ -16,6 +16,9 @@ test-lint:
.test-lin_py:
stage: test
needs: []
parallel:
matrix:
- IMAGE: ["python:3.9", "python:3.10", "python:3.13"]
before_script:
# missing dependencies for pyvista
- apt-get update && apt-get install libgl1 -y
Expand All @@ -32,22 +35,6 @@ test-lint:
path: ./tests/coverage.xml
when: always

test-lin_py_3.9:
extends: ".test-lin_py"
image: "python:3.9"

test-lin_py_3.10:
extends: ".test-lin_py"
image: "python:3.10"

test-lin_py_3.11:
extends: ".test-lin_py"
image: "python:3.11"

test-lin_py_3.12:
extends: ".test-lin_py"
image: "python:3.12"

doc-compile_paper:
stage: doc
needs: []
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repos:
additional_dependencies: [flake8-docstrings]
# strip output of notebooks
- repo: https://github.com/kynan/nbstripout
rev: 0.7.1
rev: 0.8.1
hooks:
- id: nbstripout
# pyupgrade
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
]
requires-python = ">=3.9"
Expand Down

0 comments on commit 82f1dc2

Please sign in to comment.