Skip to content

Commit

Permalink
Update to python3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Oct 28, 2024
1 parent 26fcdd3 commit f52eb00
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
codspeed-benchmarks:
timeout-minutes: 1440
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

name: codspeed benchmarks
steps:
Expand All @@ -25,8 +25,6 @@ jobs:

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: .python-version

- name: Install pynonthermal
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploypypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version-file: .python-version

- name: Install dependencies
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploytestpypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
- uses: actions/setup-python@v5
with:
cache: pip
python-version-file: .python-version

- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
uses: actions/setup-python@v5
with:
cache: pip
python-version-file: .python-version

- name: Install dependencies
run: |
Expand All @@ -45,17 +44,18 @@ jobs:
uses: actions/setup-python@v5
with:
cache: pip
python-version-file: .python-version

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip wheel pylint mypy ruff
python3 -m pip install -r requirements.txt
- name: Run Ruff
run: ruff check --output-format=github .
if: always()
run: ruff check --output-format=github --exit-non-zero-on-fix .

- name: Run Ruff Format
if: always()
run: ruff format --diff .

- name: Run mypy
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-15]
python-version: ['3.10', '3.11', '3.12']
os: [ubuntu-24.04, macos-15]
python-version: ['3.10', '3.11', '3.12', '3.13']
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
Expand All @@ -36,6 +36,7 @@ jobs:
with:
cache: pip
python-version: ${{ matrix.python-version }}
check-latest: true

- name: Install pynonthermal
run: |
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12
3.13
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Science/Research",
]
dynamic = ["version", "dependencies"]
Expand Down Expand Up @@ -48,7 +49,7 @@ implicit_reexport = true
packages = "pynonthermal"
plugins = 'numpy.typing.mypy_plugin'
pretty = true
python_version = '3.12'
python_version = '3.13'
scripts_are_modules = true
strict_equality = true
extra_checks = true
Expand Down

0 comments on commit f52eb00

Please sign in to comment.