diff --git a/.github/workflows/build-and-deploy-on-pypi.yml b/.github/workflows/build-and-deploy-on-pypi.yml index 5fd0344d..3de305ab 100644 --- a/.github/workflows/build-and-deploy-on-pypi.yml +++ b/.github/workflows/build-and-deploy-on-pypi.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v1 with: - python-version: "3.10" + python-version: "3.11" - name: Install pep517 run: >- python -m diff --git a/.github/workflows/run-tests-push.yml b/.github/workflows/run-tests-push.yml index 5beaa34d..77495f27 100644 --- a/.github/workflows/run-tests-push.yml +++ b/.github/workflows/run-tests-push.yml @@ -8,7 +8,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.10"] + python-version: ["3.11"] fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: @@ -42,4 +42,3 @@ jobs: run: pytest - shell: bash -l {0} run: sphinx-build -Ea doc doc/build - diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 45a4ef3f..465822fd 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] fail-fast: false name: Linux Python ${{ matrix.python-version }} steps: @@ -47,4 +47,3 @@ jobs: run: pytest - shell: bash -l {0} run: sphinx-build -Ea doc doc/build - diff --git a/environment.yml b/environment.yml index cb2a1a41..98058560 100644 --- a/environment.yml +++ b/environment.yml @@ -36,6 +36,7 @@ dependencies: - docformatter - isort - pre-commit - - prospector!=1.1.6.3,!=1.1.6.4 + # prospector still doesn't support Python=3.11 (24/02/2023) + # - prospector!=1.1.6.3,!=1.1.6.4 - yamllint - yapf diff --git a/setup.py b/setup.py index cf615db1..79d5f61f 100755 --- a/setup.py +++ b/setup.py @@ -57,7 +57,8 @@ 'docformatter', 'isort', 'pre-commit', - 'prospector[with_pyroma,with_mypy]!=1.1.6.3,!=1.1.6.4', + # prospector still doesn't support Python=3.11 (24/02/2023) + # 'prospector[with_pyroma,with_mypy]!=1.1.6.3,!=1.1.6.4', 'sphinx>2', 'sphinx_rtd_theme', 'vprof',