From f8d5addd07e2e2755695b29b1fea606d639d5dcc Mon Sep 17 00:00:00 2001 From: Daniel Alley Date: Sun, 15 Oct 2023 23:42:59 -0400 Subject: [PATCH] Update CI --- .github/workflows/release-python.yml | 16 ++++++++-------- setup.py | 3 --- setup_for_python_metadata.py | 3 --- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index d985e4f..190c5bc 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest container: fedora:latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install / upgrade dependencies run: | @@ -31,7 +31,7 @@ jobs: pytest --verbose --color=yes ./ popd - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: dist/*.tar.gz @@ -40,17 +40,17 @@ jobs: name: Build binary wheels runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # setup Python for cibuildwheel - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: '3.x' # for other architectures, see: https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation - name: Build wheels for CPython - uses: pypa/cibuildwheel@v2.11.3 + uses: pypa/cibuildwheel@v2.16.2 env: CIBW_ARCHS: auto64 # only 64-bit CIBW_SKIP: "pp* *-musllinux_*" # no PyPy builds @@ -65,7 +65,7 @@ jobs: pytest --verbose --color=yes ./ popd - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: path: ./wheelhouse/*.whl @@ -76,12 +76,12 @@ jobs: needs: [build_bdist, build_sdist] runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: artifact path: dist - - uses: pypa/gh-action-pypi-publish@v1.5.0 + - uses: pypa/gh-action-pypi-publish@v1.8.10 with: user: __token__ password: ${{secrets.PYPI_API_TOKEN}} diff --git a/setup.py b/setup.py index 9e45341..2a86f56 100644 --- a/setup.py +++ b/setup.py @@ -33,9 +33,6 @@ setup( 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', 'Programming Language :: Python :: 3', - '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', diff --git a/setup_for_python_metadata.py b/setup_for_python_metadata.py index f6a15f8..1794eff 100755 --- a/setup_for_python_metadata.py +++ b/setup_for_python_metadata.py @@ -23,9 +23,6 @@ setup( 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', 'Programming Language :: Python :: 3', - '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',