Skip to content

Commit

Permalink
Add tests for python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
JWCook committed Jan 2, 2025
1 parent 4834b82 commit 60982b4
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches: [main]
workflow_dispatch:
env:
LATEST_PY_VERSION: '3.11'
LATEST_PY_VERSION: '3.13'
COVERAGE_ARGS: '--cov --cov-report=term --cov-report=xml'
XDIST_ARGS: '--numprocesses=auto'

Expand All @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
required: false
default: ''
env:
LATEST_PY_VERSION: '3.11'
LATEST_PY_VERSION: '3.13'

jobs:
# Deploy stable builds on tags only, and pre-release builds from manual trigger ("workflow_dispatch")
Expand Down
5 changes: 4 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# History

## 0.20.0 (Unreleased)
## 0.20.0 (2025-01-02)

### ⚠️ Deprecations & Removals
* Drop support for python 3.7
Expand All @@ -26,6 +26,9 @@
### Bugfixes
* Fix `KeyError` when using `create_observation()` in dry-run mode

### Other changes
* Added support for python 3.13

## 0.19.0 (2023-12-12)

### New Endpoints
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
]


@session(python=['3.8', '3.9', '3.10', '3.11', '3.12'])
@session(python=['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'])
def test(session):
"""Run tests for a specific python version"""
test_paths = session.posargs or ['test']
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyinaturalist/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ruff: noqa: F401, F403
# isort: skip_file
__version__ = '0.19.0'
__version__ = '0.20.0'

from pyinaturalist.auth import get_access_token
from pyinaturalist.client import iNatClient
Expand Down

0 comments on commit 60982b4

Please sign in to comment.