Skip to content

Commit

Permalink
Run towncrier on Python 3.11
Browse files Browse the repository at this point in the history
Towncrier 23.10.0 dropped support for Python 3.7.
  • Loading branch information
twm committed Nov 3, 2023
1 parent 773256b commit 17cbdcb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.8'
python-version: '3.11'

- uses: actions/cache@v3
with:
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,27 @@ commands =
{envbindir}/trial {posargs:treq}

[testenv:flake8]
python = python3.11
skip_install = True
deps = flake8
commands = flake8 src/treq/

[testenv:towncrier]
python = python3
python = python3.11
deps =
towncrier
commands =
towncrier {posargs:--draft}

[testenv:twine]
python = python3
python = python3.11
deps =
twine
commands =
twine check {distdir}/*.*

[testenv:check-manifest]
python = python3.11
deps =
check-manifest
commands =
Expand Down

0 comments on commit 17cbdcb

Please sign in to comment.