Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
python-version: [[3, 6, 15], [3, 7, 17], [3, 8, 18]]
steps:
- name: Checkout p537
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: "Setup Python ${{ join(matrix.python-version, '.') }}"
# Upgrade node16 -> node20: Out for review here:
# https://github.com/gabrielfalcao/pyenv-action/pull/444
Expand All @@ -40,49 +40,53 @@ jobs:
command: pip install -U tox
- name: Run Unit Tests
run: tox -e py${{ matrix.python-version[0] }}${{ matrix.python-version[1] }}
tests-39-314:
name: (${{ matrix.os }}) Python 3.9 - 3.14 Tests
tests-39-315:
name: (${{ matrix.os }}) Python 3.9 - 3.15 Tests
needs: org-check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, macos-13, windows-2022]
steps:
- name: Checkout p537
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup Python 3.9
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.9"
- name: Setup Python 3.10
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
- name: Setup Python 3.11
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Setup Python 3.12
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Setup Python 3.13
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Setup Python 3.14
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.14.0-alpha.1"
python-version: "3.14"
- name: Setup Python 3.15
uses: actions/setup-python@v6
with:
python-version: "3.15.0-alpha.1"
- name: Run Unit Tests
uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7
uses: pex-tool/actions/run-tox@7d8530c74d2e3ca4640d1ed9192b6e2b8c4f5f7b
with:
tox-env: py39,py310,py311,py312,py313,py314
tox-env: py39,py310,py311,py312,py313,py314,py315
final-status:
name: Gather Final Status
needs:
- tests-36-38
- tests-39-314
- tests-39-315
runs-on: ubuntu-24.04
steps:
- name: Check Non-Success
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
python-version: [[3, 6, 15], [3, 7, 17], [3, 8, 18]]
steps:
- name: Checkout p537 ${{ needs.determine-tag.outputs.release-tag }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ needs.determine-tag.outputs.release-tag }}
- name: "Setup Python ${{ join(matrix.python-version, '.') }}"
Expand All @@ -69,25 +69,25 @@ jobs:
name: "${{ matrix.os }}-${{ needs.determine-tag.outputs.release-tag }}-${{ join(matrix.python-version, '.') }}-distributions"
path: dist/
retention-days: 1
package-39-314-dists:
package-39-315-dists:
name: ${{ matrix.os }} Package for Python ${{ matrix.python-version[0] }}.${{ matrix.python-version[1] }}
needs: determine-tag
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04, macos-13, windows-2022]
python-version: [[3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 14, "0-alpha.1"]]
python-version: [[3, 9], [3, 10], [3, 11], [3, 12], [3, 13], [3, 14], [3, 15, "0-alpha.1"]]
steps:
- name: Checkout p537 ${{ needs.determine-tag.outputs.release-tag }}
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: ${{ needs.determine-tag.outputs.release-tag }}
- name: Setup Python ${{ join(matrix.python-version, '.') }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "${{ join(matrix.python-version, '.') }}"
- name: Package ${{ needs.determine-tag.outputs.release-tag }}
uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7
uses: pex-tool/actions/run-tox@7d8530c74d2e3ca4640d1ed9192b6e2b8c4f5f7b
with:
tox-env: package
- name: Upload Artifact
Expand All @@ -101,14 +101,14 @@ jobs:
needs:
- determine-tag
- package-36-38-dists
- package-39-314-dists
- package-39-315-dists
runs-on: ubuntu-24.04
environment: Release
permissions:
id-token: write
steps:
- name: Download all packaged distributions
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
path: dist/
- name: Re-organize distributions for upload
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def long_description():

setup(
name='p537',
version='1.0.8',
version='1.0.9',
author="John Sirois",
author_email="john.sirois@gmail.com",
description='A tiny platform-specific distribution with a console script.',
Expand All @@ -31,8 +31,9 @@ def long_description():
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3.14',
],
python_requires=">=3.6,<3.15",
python_requires=">=3.6,<3.16",
ext_modules=[
Extension('p537', sources=['p537module.c']),
],
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ envlist =
py312
py313
py314
py315

[testenv]
deps =
Expand Down