Merge pull request #755 from cjmayo/python3.12

Add Python 3.12
This commit is contained in:
Chris Mayo 2023-09-11 19:23:53 +01:00 committed by GitHub
commit 3a276cfc8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 4 deletions

View file

@ -25,6 +25,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12-dev"
toxenv: [py]
include:
- python-version: "3.8"

View file

@ -72,7 +72,6 @@ Modules = (
("argcomplete", "Argcomplete", None),
("GeoIP", "GeoIP", 'lib_version'), # on Unix systems
("pygeoip", "GeoIP", 'lib_version'), # on Windows systems
("sqlite3", "sqlite3", 'version'),
("sqlite3", "SQLite", 'sqlite_version'),
("meliae", "Meliae", '__version__'),
)

View file

@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"

View file

@ -16,6 +16,8 @@
"""
Test miscellaneous html tag parsing and URL types
"""
import sys
from tests import need_network
from . import LinkCheckTest
@ -41,7 +43,11 @@ class TestMisc(LinkCheckTest):
@need_network
def test_itms_services(self):
url = "itms-services:?action=download-manifest&url=http://www.example.com/"
if sys.version_info < (3, 12):
url = "itms-services:?action=download-manifest&url=http://www.example.com/"
else:
url = \
"itms-services://?action=download-manifest&url=http://www.example.com/"
resultlines = [
"url %s" % url,
"cache key %s" % url,

View file

@ -1,9 +1,9 @@
[tox]
envlist = py3{8,9,10,11}, minreqs
envlist = py3{8,9,10,11,12}, minreqs
[base]
deps =
pyftpdlib
pyftpdlib @ https://github.com/giampaolo/pyftpdlib/archive/ec1f095910846c11fe3a7f8513de771afc7c8afd.tar.gz
parameterized
pyopenssl
pytest-xdist