Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[META] Adds official support for Python 3.10 #85

Merged
merged 3 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, pypy3]
python-version:
- '3.5'
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10-dev'
- 'pypy3'

steps:
- uses: actions/checkout@v2
Expand All @@ -34,10 +41,10 @@ jobs:
time archey
time python -m archey

# Currently disabled against Python 3.9.
# Currently disabled against Python >= 3.9.
# See PyCQA/pylint#3882 & PyCQA/pylint#3890.
- name: Lint source code against Pylint
if: ${{ matrix.python-version != '3.9' }}
if: ${{ matrix.python-version != '3.9' && matrix.python-version != '3.10-dev' }}
run: pylint archey/

# Disabled against Pypy (see python/typed_ast#111).
Expand All @@ -64,8 +71,9 @@ jobs:
rm dist/archey

# Disabled against PyPy (see <https://stackoverflow.com/a/22245203>).
# Currently disabled against Python 3.10.
- name: Standalone building (with PyInstaller)
if: ${{ matrix.python-version != 'pypy3' }}
if: ${{ matrix.python-version != 'pypy3' && matrix.python-version != '3.10-dev' }}
run: |
pyinstaller \
--distpath dist \
Expand Down
2 changes: 1 addition & 1 deletion packaging/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ NAME="$(python3 setup.py --name)"
VERSION="$(python3 setup.py --version)"
AUTHOR="$(python3 setup.py --author)"
AUTHOR_EMAIL="$(python3 setup.py --author-email)"
SUPPORTED_PYTHON_VERSIONS="$(python3 setup.py --classifiers | grep 'Programming Language' | grep -Po '\d\.\d')"
SUPPORTED_PYTHON_VERSIONS="$(python3 setup.py --classifiers | grep 'Programming Language' | grep -Po '\d+\.\d+')"


# DRY.
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: System'
]
)