diff options
-rw-r--r-- | .github/workflows/coverage.yml | 2 | ||||
-rw-r--r-- | .github/workflows/python-nightly.yml | 1 | ||||
-rw-r--r-- | .github/workflows/testsuite.yml | 2 | ||||
-rw-r--r-- | README.rst | 4 | ||||
-rw-r--r-- | coverage/sqldata.py | 1 | ||||
-rw-r--r-- | doc/index.rst | 5 | ||||
-rw-r--r-- | setup.py | 1 | ||||
-rw-r--r-- | tests/test_execfile.py | 2 | ||||
-rw-r--r-- | tox.ini | 3 |
9 files changed, 11 insertions, 10 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 848573c2..578c909a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -46,7 +46,7 @@ jobs: - "3.8" - "3.9" - "3.10" - - "3.11.0-rc.2" + - "3.11" - "pypy-3.7" exclude: # Windows PyPy doesn't seem to work? diff --git a/.github/workflows/python-nightly.yml b/.github/workflows/python-nightly.yml index 5743dfbb..726fb2bd 100644 --- a/.github/workflows/python-nightly.yml +++ b/.github/workflows/python-nightly.yml @@ -44,6 +44,7 @@ jobs: - "3.9-dev" - "3.10-dev" - "3.11-dev" + - "3.12-dev" # https://github.com/actions/setup-python#available-versions-of-pypy - "pypy-3.7-nightly" - "pypy-3.8-nightly" diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index e1baaaf3..dbc90be3 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -47,7 +47,7 @@ jobs: - "3.8" - "3.9" - "3.10" - - "3.11.0-rc.2" + - "3.11" - "pypy-3.7" - "pypy-3.9" fail-fast: false @@ -28,8 +28,8 @@ Coverage.py runs on these versions of Python: .. PYVERSIONS -* CPython 3.7 through 3.11.0 rc2. -* PyPy3 7.3.8. +* CPython 3.7 through 3.12.0a1 +* PyPy3 7.3.9. Documentation is on `Read the Docs`_. Code repository and issue tracker are on `GitHub`_. diff --git a/coverage/sqldata.py b/coverage/sqldata.py index 5d7fbecf..2b773053 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -1005,7 +1005,6 @@ class CoverageData(SimpleReprMixin): copts = textwrap.wrap(", ".join(copts), width=75) return [ - ("sqlite3_version", sqlite3.version), ("sqlite3_sqlite_version", sqlite3.sqlite_version), ("sqlite3_temp_store", temp_store), ("sqlite3_compile_options", copts), diff --git a/doc/index.rst b/doc/index.rst index da1562a9..3191c548 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -18,9 +18,8 @@ supported on: .. PYVERSIONS -* Python versions 3.7 through 3.11.0 rc2. - -* PyPy3 7.3.8. +* Python versions 3.7 through 3.12.0a1. +* PyPy3 7.3.9. .. ifconfig:: prerelease @@ -45,6 +45,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 :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Quality Assurance diff --git a/tests/test_execfile.py b/tests/test_execfile.py index 83db5273..329ec528 100644 --- a/tests/test_execfile.py +++ b/tests/test_execfile.py @@ -259,7 +259,7 @@ class RunPycFileTest(CoverageTest): path = python_reported_file('binary') msg = ( re.escape(f"Couldn't run '{path}' as Python code: ") + - r"(TypeError|ValueError): source code string cannot contain null bytes" + r"(ValueError|SyntaxError): source code string cannot contain null bytes" ) with pytest.raises(Exception, match=msg): run_python_file([bf]) @@ -4,7 +4,7 @@ [tox] # When changing this list, be sure to check the [gh-actions] list below. # PYVERSIONS -envlist = py{37,38,39,310,311}, pypy3, doc, lint +envlist = py{37,38,39,310,311,312}, pypy3, doc, lint skip_missing_interpreters = {env:COVERAGE_SKIP_MISSING_INTERPRETERS:True} toxworkdir = {env:TOXWORKDIR:.tox} @@ -97,4 +97,5 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 pypy-3: pypy3 |