Skip to content

Commit

Permalink
Update CI python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartmcalpine committed Sep 25, 2024
1 parent bba71d6 commit 8d76953
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ jobs:
fail-fast: false

matrix:
python-version: ["3.10"]
python-version: ["3.12"]
include:
- python-version: 3.9
if: github.event_name == 'pull_request'
- python-version: 3.10
if: github.event_name == 'pull_request'
- python-version: 3.11
if: github.event_name == 'pull_request'

Expand Down Expand Up @@ -111,10 +113,12 @@ jobs:
fail-fast: false

matrix:
python-version: ["3.10"]
python-version: ["3.12"]
include:
- python-version: 3.9
if: github.event_name == 'pull_request'
- python-version: 3.10
if: github.event_name == 'pull_request'
- python-version: 3.11
if: github.event_name == 'pull_request'

Expand Down Expand Up @@ -174,10 +178,12 @@ jobs:
fail-fast: false

matrix:
python-version: ["3.10"]
python-version: ["3.12"]
include:
- python-version: 3.9
if: github.event_name == 'pull_request'
- python-version: 3.10
if: github.event_name == 'pull_request'
- python-version: 3.11
if: github.event_name == 'pull_request'

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords = ["desc", "python", "registry"]
# NOTE: Those needing to create a database will also need to install the
Expand All @@ -27,7 +28,7 @@ dependencies = [
'pyyaml',
'pandas'
]
requires-python = ">=3.9,<3.12" # Supported versions (in CI)
requires-python = ">=3.9,<=3.12" # Supported versions (in CI)

[tool.setuptools.dynamic]
version = {attr = "dataregistry._version.__version__"}
Expand Down

0 comments on commit 8d76953

Please sign in to comment.