Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dralley committed Oct 16, 2023
1 parent 854fbb9 commit de94b44
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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

Expand All @@ -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
Expand All @@ -65,7 +65,7 @@ jobs:
pytest --verbose --color=yes ./
popd
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl

Expand All @@ -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}}
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
'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',
Expand Down
3 changes: 0 additions & 3 deletions setup_for_python_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
'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',
Expand Down

0 comments on commit de94b44

Please sign in to comment.