Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.13, drop support for Python 3.10 #512

Merged
merged 1 commit into from
Oct 9, 2024
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
1 change: 0 additions & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
linters:
uses: fizyk/actions-reuse/.github/workflows/[email protected]
with:
pipenv-install-options: "--skip-lock"
mypy: true
black: true
ruff: true
6 changes: 2 additions & 4 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ jobs:
uses: actions/checkout@v4
- uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: "3.12"
pipenv-install-options: "--skip-lock"
python-version: "3.13"
command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x"
towncrier:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: "3.12"
pipenv-install-options: "--skip-lock"
python-version: "3.13"
command: towncrier check --compare-with origin/main
fetch-depth: 0
3 changes: 1 addition & 2 deletions .github/workflows/sphinx-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ jobs:
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- uses: fizyk/actions-reuse/.github/actions/[email protected]
with:
python-version: "3.12"
pipenv-install-options: "--skip-lock"
python-version: "3.13"
command: "sphinx-build -b html docs/source build/html"
- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
tests:
uses: fizyk/actions-reuse/.github/workflows/[email protected]
with:
pipenv-install-options: "--skip-lock"
python-versions: '["3.10", "3.11", "3.12"]'
python-versions: '["3.11", "3.12", "3.13"]'
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/example_config/*.json
*.py[cod]

# Pipfile
Pipfile.lock

# C extensions
*.so

Expand Down
1,538 changes: 0 additions & 1,538 deletions Pipfile.lock

This file was deleted.

1 change: 1 addition & 0 deletions newsfragments/+9c1604ec.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added support for Python 3.13
1 change: 1 addition & 0 deletions newsfragments/+a995d4c0.break.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Drop support for Python 3.10
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">= 3.10"
requires-python = ">= 3.11"
dependencies = [
"arrow>=1.1.0",
"Click>=8.0.1",
Expand Down
Loading