Skip to content

Commit

Permalink
Support Python 3.13. #341
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon24 committed Jun 28, 2024
1 parent 8b0d57b commit 32186d3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

matrix:
python-version: [
"3.10", "3.11", "3.12",
"3.10", "3.11", "3.12", "3.13",
"pypy-3.10"
]
os: [ubuntu-latest, macos-latest, windows-latest]
Expand All @@ -33,6 +33,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- run: ./run.sh ci-install
- run: ./run.sh ci-run
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Unreleased
* Prefer feed user title to feed title if available.
* Use feed title as artist, instead of author.

* Support Python 3.13. (:issue:`341`)
* Update vendored `feedparser`_ to the ``develop`` branch as of 2024-06-26.
Needed because upstream removed dependency on stdlib module ``cgi``
(removed in Python 3.13), but the `version 2.9 <Version 2.9_>`_
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,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 :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet",
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = coverage-clean,py{312,311,310,py310},coverage-report,typing,docs
envlist = coverage-clean,py{313,312,311,310,py310},coverage-report,typing,docs
skip_missing_interpreters = true

[testenv]
Expand All @@ -15,8 +15,8 @@ allowlist_externals =
commands = {posargs:./run.sh coverage-run --cov-append -v}

depends =
py{312,311,310,py310}: coverage-clean
coverage-report: py{312,311,310,py310}
py{313,312,311,310,py310}: coverage-clean
coverage-report: py{313,312,311,310,py310}

[testenv:coverage-clean]
deps = coverage
Expand Down

0 comments on commit 32186d3

Please sign in to comment.