diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 1268fcc2..ddc86cb1 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -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 @@ -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). @@ -64,8 +71,9 @@ jobs: rm dist/archey # Disabled against PyPy (see ). + # 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 \ diff --git a/packaging/build.sh b/packaging/build.sh index 2ff6b042..1213e944 100644 --- a/packaging/build.sh +++ b/packaging/build.sh @@ -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. diff --git a/setup.py b/setup.py index 2ce693da..90a8a082 100644 --- a/setup.py +++ b/setup.py @@ -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' ] )