Skip to content

Commit

Permalink
#347 - Add support for Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamforka committed Oct 4, 2024
1 parent 4ce7ce0 commit 21a7683
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/_build-package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: build-package
on:
workflow_call:
inputs:
python_version:
type: string
required: true
jobs:
build:
name: Build wheel and sdist
Expand All @@ -10,7 +14,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.12
python-version: ${{ inputs.python_version }}
- name: Install build dependencies
run: pip install --no-cache-dir -U pip .['build']
- name: Build package
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/main-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
tags:
- "*"
pull_request:

env:
PYTHON: 3.13
jobs:
static-checks:
uses: ./.github/workflows/_static-checks.yml
Expand All @@ -16,11 +17,13 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
build-package:
uses: ./.github/workflows/_build-package.yml
with:
python_version: 3.13
build-docs:
uses: ./.github/workflows/_build-docs.yml
upload-package:
uses: ./.github/workflows/_upload-package.yml
if: startsWith(github.ref, 'refs/tags/')
uses: ./.github/workflows/_upload-package.yml
needs: [static-checks, integration-tests, build-package, build-docs]
secrets:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: MIT License",
]
authors = [{ name = "Szabolcs Antal", email = "[email protected]" }]
Expand Down

0 comments on commit 21a7683

Please sign in to comment.