diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 81243b7a2..dbc39f54b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -62,7 +62,7 @@ jobs: strategy: matrix: os: [ubuntu, windows, macos] - py: ['3.9', '3.10', '3.11', '3.12', '3.13'] + py: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] name: "Test on ${{ matrix.os }}, py${{ matrix.py }}" runs-on: "${{ matrix.os }}-latest" steps: diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1d6b8bcac..7f9965355 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,8 @@ CHANGELOG Unreleased ---------- +- Add official support for Python 3.14 + .. vendor-insert-here - Update vendored schemas: circle-ci, compose-spec, dependabot, meltano, mergify, diff --git a/tests/unit/test_cachedownloader.py b/tests/unit/test_cachedownloader.py index 175dbf83d..b906ca03a 100644 --- a/tests/unit/test_cachedownloader.py +++ b/tests/unit/test_cachedownloader.py @@ -345,6 +345,10 @@ def dummy_validate_bytes(data): assert validator_ran is False +@pytest.mark.skipif( + platform.system() == "Windows", + reason="time.tzset() is not available on Windows", +) def test_lastmod_from_header_uses_gmtime(request, monkeypatch, default_response): """ Regression test for https://github.com/python-jsonschema/check-jsonschema/pull/565 diff --git a/tox.ini b/tox.ini index edd6ecfed..922be7a31 100644 --- a/tox.ini +++ b/tox.ini @@ -3,9 +3,9 @@ envlist = mypy cov_clean py39-mindeps{,-format} - py{313,312,311,310,39} - py{39,313}-{json5,pyjson5}{,-format} - py{39,313}-{disable_orjson} + py{314,313,312,311,310,39} + py{39,314}-{json5,pyjson5}{,-format} + py{39,314}-{disable_orjson} cov_combine cov_report skip_missing_interpreters = true @@ -45,7 +45,7 @@ description = "combine coverage data" deps = coverage skip_install = true commands = coverage combine -depends = py{,38,39,310,311,312,313}{,-mindeps,-format,-json5,-pyjson5,-disable_orjson} +depends = py{,39,310,311,312,313,314}{,-mindeps,-format,-json5,-pyjson5,-disable_orjson} [testenv:cov_report] description = "report test coverage"