Skip to content

Commit

Permalink
Merge pull request #338 from twisted/new-pythons
Browse files Browse the repository at this point in the history
Update the Python support matrix
  • Loading branch information
twm committed Feb 9, 2022
2 parents 226ed2d + 7f72f35 commit 8a92360
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "pypy-3.7"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy-3.7", "pypy-3.8"]
twisted-version: ["lowest", "latest"]
experimental: [false]

Expand Down Expand Up @@ -101,7 +101,9 @@ jobs:
"3.7": "py37",
"3.8": "py38",
"3.9": "py39",
"3.10": "py310",
"pypy-3.7": "pypy3",
"pypy-3.8": "pypy3",
}
factor = table["${{ matrix.python-version }}"]
print("::set-output name=value::" + factor)
Expand Down
1 change: 1 addition & 0 deletions changelog.d/338.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Python 3.10 and PyPy 3.8 are now supported.
1 change: 1 addition & 0 deletions changelog.d/338.removal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support for Python 3.6, which has reached end of support, is deprecated. This is the last release with support for Python 3.6.
4 changes: 1 addition & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ Here is a list of `requests`_ features and their status in treq.
+----------------------------------+----------+----------+
| Connection Timeouts | yes | yes |
+----------------------------------+----------+----------+
| HTTP(S) Proxy Support | yes | no |
| HTTP(S) Proxy Support | yes | no |
+----------------------------------+----------+----------+
| .netrc support | yes | no |
+----------------------------------+----------+----------+
| Python 2.7 | yes | yes |
+----------------------------------+----------+----------+
| Python 3.x | yes | yes |
+----------------------------------+----------+----------+

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
{py36,py37}-twisted_lowest,
{pypy3,py36,py37,py38,py39}-twisted_latest,
{pypy3,py36,py37,py38,py39}-twisted_trunk,
{pypy3,py36,py37,py38,py39,py310}-twisted_latest,
{pypy3,py36,py37,py38,py39,py310}-twisted_trunk,
twine, check-manifest, flake8, docs, coverage-report
isolated_build = true

Expand Down

0 comments on commit 8a92360

Please sign in to comment.