diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d473da9..071f0b26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" name: Check Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v4 @@ -44,6 +45,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Requirements check run: python -m pip list @@ -55,9 +57,9 @@ jobs: run: python -m pytest - name: Install plotting requirements too - if: matrix.python-version != '3.10' + if: matrix.python-version != '3.12' run: python -m pip install -e ".[test,plot]" - name: Test plotting too - if: matrix.python-version != '3.10' + if: matrix.python-version != '3.12' run: python -m pytest --mpl diff --git a/pyproject.toml b/pyproject.toml index 26b88cc6..4c5505ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,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", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Mathematics", @@ -185,7 +186,7 @@ messages_control.disable = [ [tool.ruff] select = [ "E", "F", "W", # flake8 - "B", "B904", # flake8-bugbear + "B", # flake8-bugbear "I", # isort "ARG", # flake8-unused-arguments "C4", # flake8-comprehensions