Skip to content

Commit

Permalink
Adopt Python v3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
pp-mo committed Oct 30, 2024
1 parent 792ba1e commit 90211d4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
ENV_NAME: "ci-locks"
strategy:
matrix:
lock: [py310-lock, py311-lock, py312-lock]
lock: [py310-lock, py311-lock, py312-lock, py313-lock]
steps:
- name: "Checkout"
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
version: [py310, py311, py312]
version: [py310, py311, py312, py313]
gitpath-prepend: [""]
include:
- os: ubuntu-latest
platform: linux
- os: ubuntu-latest
version: py312
version: py313
posargs: "--cov-report=xml --cov"
- os: macos-latest
version: py312
version: py313
platform: osx
# On macos, the up-to-date git may not be first on the path
# N.B. setting includes a final ":", to simplify the path setting command
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Atmospheric Science",
Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ requires =
tox-run-command


[testenv:py{310,311,312}-lock]
[testenv:py{310,311,312,313}-lock]
allowlist_externals =
cp
changedir =
Expand Down Expand Up @@ -32,17 +32,20 @@ commands =
conda-lock --channel conda-forge --kind explicit --file {env:TMPFILE} --platform linux-64 --filename-template "{envname}-\{platform\}.txt" {posargs}


[testenv:py{310,311,312}-{linux,osx,win}-test]
[testenv:py{310,311,312,313}-{linux,osx,win}-test]
conda_spec =
py310-linux: {toxinidir}{/}requirements{/}locks{/}py310-lock-linux-64.txt
py311-linux: {toxinidir}{/}requirements{/}locks{/}py311-lock-linux-64.txt
py312-linux: {toxinidir}{/}requirements{/}locks{/}py312-lock-linux-64.txt
py313-linux: {toxinidir}{/}requirements{/}locks{/}py313-lock-linux-64.txt
py310-osx: {toxinidir}{/}requirements{/}locks{/}py310-lock-osx-64.txt
py311-osx: {toxinidir}{/}requirements{/}locks{/}py311-lock-osx-64.txt
py312-osx: {toxinidir}{/}requirements{/}locks{/}py312-lock-osx-64.txt
py313-osx: {toxinidir}{/}requirements{/}locks{/}py313-lock-osx-64.txt
py310-win: {toxinidir}{/}requirements{/}locks{/}py310-lock-win-64.txt
py311-win: {toxinidir}{/}requirements{/}locks{/}py311-lock-win-64.txt
py312-win: {toxinidir}{/}requirements{/}locks{/}py312-lock-win-64.txt
py313-win: {toxinidir}{/}requirements{/}locks{/}py313-lock-win-64.txt
description =
Perform cf-units unit/integration tests.
passenv =
Expand Down

0 comments on commit 90211d4

Please sign in to comment.