Skip to content

Commit

Permalink
[REF] CI: Enable py3.11, remove obsolete py2.7 and fix pip version wa…
Browse files Browse the repository at this point in the history
…rn (#202)
  • Loading branch information
moylop260 authored Jul 5, 2023
1 parent 5b4fe32 commit 72c2c18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,30 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
python: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
os: [ubuntu-latest, windows-latest, macos-latest]
tox_env: ["py,codecov"]
include:
# The version '3.5' with architecture 'x64' was not found for Ubuntu 22.04
- python: '3.5'
os: ubuntu-20.04
tox_env: "py,codecov"
# The version '3.6' with architecture 'x64' was not found for Ubuntu 22.04.
- python: '3.6'
os: ubuntu-20.04
tox_env: "py,codecov"
# Run additional tox-env only for one environment
- python: '3.10'
os: ubuntu-latest
tox_env: 'check,docs,build'
exclude:
# The version '3.5' with architecture 'x64' was not found for Ubuntu 22.04
- python: '3.5'
os: ubuntu-latest
# The version '3.6' with architecture 'x64' was not found for Ubuntu 22.04.
- python: '3.6'
os: ubuntu-latest
- python: '2.7'
os: windows-latest
# No Python3.5.* found
- python: '3.5'
os: windows-latest
steps:
Expand All @@ -58,6 +62,7 @@ jobs:
key: ${{ runner.os }}-py${{ matrix.python }}-pre-commit
- name: install dependencies
run: |
pip install --upgrade pip
python -mpip install --progress-bar=off -r ci/requirements.txt
virtualenv --version
pip --version
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ def read(*names, **kwargs):
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
# uncomment if you test on these interpreters:
Expand Down

0 comments on commit 72c2c18

Please sign in to comment.