diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2dc9ba2..a02fd52 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: diff --git a/catalogue/tests/test_catalogue.py b/catalogue/tests/test_catalogue.py index 100f35b..5e910ac 100644 --- a/catalogue/tests/test_catalogue.py +++ b/catalogue/tests/test_catalogue.py @@ -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 diff --git a/setup.cfg b/setup.cfg index 3958ead..0e0595e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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]