Skip to content

Commit

Permalink
Merge pull request #66 from adrianeboyd/chore/python-312-v2.0.x
Browse files Browse the repository at this point in the history
Updates for python 3.12 (#65)
  • Loading branch information
adrianeboyd authored Sep 25, 2023
2 parents 245ec35 + 7751f06 commit d549f9a
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 @@ -130,8 +130,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 @@ -23,6 +23,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 d549f9a

Please sign in to comment.