Skip to content

Commit

Permalink
Adjust tested python versions
Browse files Browse the repository at this point in the history
Remove python 3.7, add python 3.13
  • Loading branch information
cdent committed Jan 20, 2025
1 parent 5d5fb4a commit ce47612
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
include:
- python: 3.x
toxenv: pep8
- python: 3.7
toxenv: py37
- python: 3.8
toxenv: py38
- python: 3.9
Expand All @@ -23,10 +21,10 @@ jobs:
toxenv: py311
- python: "3.12"
toxenv: py312
- python: "3.13"
toxenv: py313
- python: pypy-3.8
toxenv: pypy3
- python: 3.7
toxenv: py37-pytest
- python: 3.8
toxenv: py38-pytest
- python: 3.9
Expand All @@ -37,6 +35,8 @@ jobs:
toxenv: py311-pytest
- python: "3.12"
toxenv: py312-pytest
- python: "3.13"
toxenv: py313-pytest
- python: 3.9
toxenv: py39-failskip
- python: 3.9
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ looks like this::
See the docs_ for more details on the many features and formats for
setting request headers and bodies and evaluating responses.

Gabbi is tested with Python 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 and pypy3.
Gabbi is tested with Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 and pypy3.

Tests can be run using `unittest`_ style test runners, `pytest`_
or from the command line with a `gabbi-run`_ script.
Expand Down Expand Up @@ -84,7 +84,7 @@ Gabbi is set up to be developed and tested using `tox`_ (installed via
are in the directories ``gabbi/tests/gabbits_*`` and loaded by the file
``gabbi/test_*.py``), you call ``tox``::

tox -epep8,py37
tox -epep8,py311

If you have the dependencies installed (or a warmed up
virtualenv) you can run the tests by hand and exit on the first
Expand All @@ -95,7 +95,7 @@ failure::
Testing can be limited to individual modules by specifying them
after the tox invocation::

tox -epep8,py37 -- test_driver test_handlers
tox -epep8,py311 -- test_driver test_handlers

If you wish to avoid running tests that connect to internet hosts,
set ``GABBI_SKIP_NETWORK`` to ``True``.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ classifier =
Operating System :: POSIX
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: 3 :: Only
Topic :: Internet :: WWW/HTTP :: WSGI
Topic :: Software Development :: Testing
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 3.1.1
skipsdist = True
envlist = pep8,py37,py38,py39,py310,py311,py312,pypy3,pep8,limit,failskip,docs,py39-prefix,py39-limit,py39-verbosity,py39-failskip,py36-pytest,py37-pytest,py38-pytest,py39-pytest,py310-pytest,py311-pytest,py312-pytest
envlist = pep8,py38,py39,py310,py311,py312,py313,pypy3,pep8,limit,failskip,docs,py39-prefix,py39-limit,py39-verbosity,py39-failskip,py36-pytest,py38-pytest,py39-pytest,py310-pytest,py311-pytest,py312-pytest,py313-pytest

[testenv]
deps = -r{toxinidir}/requirements.txt
Expand All @@ -22,9 +22,6 @@ commands = {posargs}
[testenv:py36-pytest]
commands = py.test gabbi

[testenv:py37-pytest]
commands = py.test gabbi

[testenv:py38-pytest]
commands = py.test gabbi

Expand All @@ -40,6 +37,9 @@ commands = py.test gabbi
[testenv:py312-pytest]
commands = py.test gabbi

[testenv:py313-pytest]
commands = py.test gabbi

[testenv:py39-prefix]
setenv = GABBI_PREFIX=/snoopy

Expand Down

0 comments on commit ce47612

Please sign in to comment.