Skip to content

Commit

Permalink
Support Python 3.13, drop support for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Oct 9, 2024
1 parent 1970efb commit 636187b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
uses: actions/checkout@v4
- uses: fizyk/actions-reuse/.github/actions/pipenv@v2.4.8
with:
python-version: "3.12"
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/pipenv@v2.4.8
with:
python-version: "3.12"
python-version: "3.13"
command: towncrier check --compare-with origin/master
fetch-depth: 0
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
tests:
uses: fizyk/actions-reuse/.github/workflows/tests-pytests.yml@v2.4.8
with:
python-versions: '["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]'
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"]'
tests-macos:
needs:
- tests
uses: fizyk/actions-reuse/.github/workflows/tests-pytests.yml@v2.4.8
with:
python-versions: '["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.8"]'
python-versions: '["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.10"]'
os: macos-latest
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ port-for
:target: https://pypi.python.org/pypi/port-for
:alt: PyPI Version

.. image:: http://codecov.io/github/kmike/port-for/coverage.svg?branch=master
:target: http://codecov.io/github/kmike/port-for?branch=master
.. image:: http://codecov.io/github/fizyk/port-for/coverage.svg?branch=master
:target: http://codecov.io/github/fizyk/port-for?branch=master
:alt: Code Coverage


Expand Down
1 change: 1 addition & 0 deletions newsfragments/+13d35d54.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added Python 3.13 to the supported Python Versions
1 change: 1 addition & 0 deletions newsfragments/+367bc0ff.break.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dropped support for Python 3.8 (it has reached EOL)
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: POSIX",
"Topic :: System :: Installation/Setup",
"Topic :: System :: Systems Administration",
"Topic :: Internet :: WWW/HTTP :: Site Management",
]
requires-python = ">= 3.8"
requires-python = ">= 3.9"

[project.urls]
"Source" = "https://github.com/kmike/port-for/"
Expand Down Expand Up @@ -87,7 +88,7 @@ showcontent = false

[tool.black]
line-length = 80
target-version = ['py38']
target-version = ['py39']
include = '.*\.pyi?$'

[tool.ruff]
Expand Down

0 comments on commit 636187b

Please sign in to comment.