Skip to content

Upgrade Python 3.13 #392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.9
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.12

- name: Get full Python version
id: full-python-version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [windows-latest, ubuntu-latest]
fail-fast: false
steps:
Expand Down
2 changes: 1 addition & 1 deletion openapi_spec_validator/readers.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import sys
from collections.abc import Hashable
from os import path
from pathlib import Path
from typing import Any
from typing import Hashable
from typing import Mapping
from typing import Tuple

Expand Down
12 changes: 3 additions & 9 deletions openapi_spec_validator/schemas/utils.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
"""OpenAIP spec validator schemas utils module."""
import sys
from collections.abc import Hashable
from importlib.resources import as_file
from importlib.resources import files
from os import path
from typing import Any
from typing import Hashable
from typing import Mapping
from typing import Tuple

if sys.version_info >= (3, 9):
from importlib.resources import as_file
from importlib.resources import files
else:
from importlib_resources import as_file
from importlib_resources import files

from jsonschema_path.readers import FilePathReader


Expand Down
2 changes: 1 addition & 1 deletion openapi_spec_validator/validation/proxies.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""OpenAPI spec validator validation proxies module."""
import warnings
from collections.abc import Hashable
from typing import Any
from typing import Hashable
from typing import Iterator
from typing import Mapping
from typing import Optional
Expand Down
1,963 changes: 1,042 additions & 921 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Topic :: Software Development :: Libraries",
"Typing :: Typed",
]
Expand All @@ -53,10 +53,9 @@ include = [
]

[tool.poetry.dependencies]
jsonschema = "^4.18.0"
jsonschema = "^4.24.0"
openapi-schema-validator = "^0.6.0"
python = "^3.8.0"
importlib-resources = {version = ">=5.8,<7.0", python = "<3.9" }
python = "^3.9.0"
jsonschema-path = "^0.3.1"
lazy-object-proxy = "^1.7.1"

Expand Down
Loading