diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1c371c..9eab9aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,15 +8,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: fail-fast: false - max-parallel: 4 + max-parallel: 8 matrix: - python-version: [2.7, 3.5, 3.6, 3.7] + python-version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10", 3.11] os: [ubuntu-latest, windows-latest, macOS-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Setup build and test environment @@ -41,7 +41,7 @@ jobs: - name: Upload coverage to Codecov # codecov only runs on Linux if: startsWith(matrix.os, 'ubuntu-') - uses: codecov/codecov-action@v1.0.0 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml @@ -53,12 +53,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - name: Set up Python 3.7 + - uses: actions/checkout@v3 + - name: Set up Python 3.11 if: startsWith(github.event.ref, 'refs/tags') - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Build Package if: startsWith(github.event.ref, 'refs/tags') run: | @@ -66,7 +66,7 @@ jobs: python setup.py sdist bdist_wheel --universal - name: Publish Package on PyPI if: startsWith(github.event.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_token }} diff --git a/setup.py b/setup.py index bc7d64e..0ca256e 100644 --- a/setup.py +++ b/setup.py @@ -92,13 +92,15 @@ def read_version(): 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', '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', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy'