Skip to content

Commit

Permalink
Merge pull request #88 from valeriupredoi/python311
Browse files Browse the repository at this point in the history
test support for Python=3.11
  • Loading branch information
valeriupredoi authored Mar 2, 2023
2 parents 78445a2 + a9996bc commit ab0ad5e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy-on-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/run-tests-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -42,4 +42,3 @@ jobs:
run: pytest
- shell: bash -l {0}
run: sphinx-build -Ea doc doc/build

3 changes: 1 addition & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -47,4 +47,3 @@ jobs:
run: pytest
- shell: bash -l {0}
run: sphinx-build -Ea doc doc/build

3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit ab0ad5e

Please sign in to comment.