Skip to content

Commit

Permalink
Updates for python 3.12 (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianeboyd authored Sep 25, 2023
1 parent 776ee72 commit 4c2c59f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python_version: ["3.8", "3.9", "3.10", "3.11"]
python_version: ["3.8", "3.9", "3.10", "3.11", "3.12.0-rc.2"]
runs-on: ${{ matrix.os }}

steps:
Expand Down
4 changes: 2 additions & 2 deletions catalogue/tests/test_catalogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def test_entry_points_older():


@pytest.mark.skipif(
sys.version_info < (3, 10),
reason="Test does not support <3.10 importlib_metadata API",
sys.version_info < (3, 10) or sys.version_info >= (3, 12),
reason="Test only supports python 3.10 and 3.11 importlib_metadata API",
)
def test_entry_points_newer():
# Create a new EntryPoint object by pretending we have a setup.cfg and
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Scientific/Engineering

[options]
Expand Down

0 comments on commit 4c2c59f

Please sign in to comment.