Skip to content

Commit

Permalink
Merge pull request #165 from Erotemic/enable-313
Browse files Browse the repository at this point in the history
Enable 313 in CI
  • Loading branch information
Erotemic authored Oct 5, 2024
2 parents 5b6014e + aa3eb98 commit 6eea33e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
44 changes: 28 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
echo "MOD_DPATH = $MOD_DPATH"
python -m pytest --verbose --cov=xdoctest $MOD_DPATH ../tests
cd ..
- uses: actions/upload-artifact@v4.3.1
- uses: actions/upload-artifact@v4.4.0
name: Upload sdist artifact
with:
name: sdist_wheels
Expand All @@ -116,7 +116,7 @@ jobs:
os:
- ubuntu-latest
python-version:
- '3.12'
- 3.13.0-rc.2
arch:
- auto
steps:
Expand All @@ -140,7 +140,7 @@ jobs:
- name: Show built files
shell: bash
run: ls -la wheelhouse
- uses: actions/upload-artifact@v4.3.1
- uses: actions/upload-artifact@v4.4.0
name: Upload wheels artifact
with:
name: wheels-${{ matrix.os }}-${{ matrix.arch }}
Expand Down Expand Up @@ -169,23 +169,23 @@ jobs:
install-extras: tests-strict,runtime-strict
os: windows-latest
arch: auto
- python-version: '3.12'
- python-version: 3.13.0-rc.2
install-extras: tests-strict,runtime-strict,optional-strict
os: ubuntu-latest
arch: auto
- python-version: '3.12'
- python-version: 3.13.0-rc.2
install-extras: tests-strict,runtime-strict,optional-strict
os: macOS-latest
arch: auto
- python-version: '3.12'
- python-version: 3.13.0-rc.2
install-extras: tests-strict,runtime-strict,optional-strict
os: windows-latest
arch: auto
- python-version: '3.12'
- python-version: 3.13.0-rc.2
install-extras: tests
os: macOS-latest
arch: auto
- python-version: '3.12'
- python-version: 3.13.0-rc.2
install-extras: tests
os: windows-latest
arch: auto
Expand All @@ -209,6 +209,10 @@ jobs:
install-extras: tests,optional
os: ubuntu-latest
arch: auto
- python-version: 3.13.0-rc.2
install-extras: tests,optional
os: ubuntu-latest
arch: auto
- python-version: pypy-3.9
install-extras: tests,optional
os: ubuntu-latest
Expand All @@ -233,6 +237,10 @@ jobs:
install-extras: tests,optional
os: macOS-latest
arch: auto
- python-version: 3.13.0-rc.2
install-extras: tests,optional
os: macOS-latest
arch: auto
- python-version: pypy-3.9
install-extras: tests,optional
os: macOS-latest
Expand All @@ -257,6 +265,10 @@ jobs:
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: 3.13.0-rc.2
install-extras: tests,optional
os: windows-latest
arch: auto
- python-version: pypy-3.9
install-extras: tests,optional
os: windows-latest
Expand All @@ -276,7 +288,7 @@ jobs:
uses: actions/setup-python@v5.1.1
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v4.1.2
- uses: actions/download-artifact@v4.1.8
name: Download wheels
with:
pattern: wheels-*
Expand Down Expand Up @@ -372,13 +384,13 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v4.1.1
- uses: actions/download-artifact@v4.1.2
- uses: actions/download-artifact@v4.1.8
name: Download wheels
with:
pattern: wheels-*
merge-multiple: true
path: wheelhouse
- uses: actions/download-artifact@v4.1.2
- uses: actions/download-artifact@v4.1.8
name: Download sdist
with:
name: sdist_wheels
Expand Down Expand Up @@ -427,7 +439,7 @@ jobs:
ots stamp wheelhouse/*.whl wheelhouse/*.tar.gz wheelhouse/*.asc
ls -la wheelhouse
twine upload --username __token__ --password "$TWINE_PASSWORD" --repository-url "$TWINE_REPOSITORY_URL" wheelhouse/*.whl wheelhouse/*.tar.gz --skip-existing --verbose || { echo "failed to twine upload" ; exit 1; }
- uses: actions/upload-artifact@v4.3.1
- uses: actions/upload-artifact@v4.4.0
name: Upload deploy artifacts
with:
name: deploy_artifacts
Expand All @@ -447,13 +459,13 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v4.1.1
- uses: actions/download-artifact@v4.1.2
- uses: actions/download-artifact@v4.1.8
name: Download wheels
with:
pattern: wheels-*
merge-multiple: true
path: wheelhouse
- uses: actions/download-artifact@v4.1.2
- uses: actions/download-artifact@v4.1.8
name: Download sdist
with:
name: sdist_wheels
Expand Down Expand Up @@ -502,7 +514,7 @@ jobs:
ots stamp wheelhouse/*.whl wheelhouse/*.tar.gz wheelhouse/*.asc
ls -la wheelhouse
twine upload --username __token__ --password "$TWINE_PASSWORD" --repository-url "$TWINE_REPOSITORY_URL" wheelhouse/*.whl wheelhouse/*.tar.gz --skip-existing --verbose || { echo "failed to twine upload" ; exit 1; }
- uses: actions/upload-artifact@v4.3.1
- uses: actions/upload-artifact@v4.4.0
name: Upload deploy artifacts
with:
name: deploy_artifacts
Expand All @@ -523,7 +535,7 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v4.1.1
- uses: actions/download-artifact@v4.1.2
- uses: actions/download-artifact@v4.1.8
name: Download artifacts
with:
name: deploy_artifacts
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
]
Expand Down

0 comments on commit 6eea33e

Please sign in to comment.