Skip to content

Commit f73fe5f

Browse files
committed
Bump versions, drop support for Python 3.8
1 parent 06144e3 commit f73fe5f

File tree

6 files changed

+791
-781
lines changed

6 files changed

+791
-781
lines changed

.github/workflows/build-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14-
- name: Set up Python 3.9
14+
- name: Set up Python 3.12
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.9
17+
python-version: 3.12
1818

1919
- name: Get full Python version
2020
id: full-python-version

.github/workflows/python-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11']
17+
python-version: ['3.9', '3.10', '3.11', '3.12']
1818
fail-fast: false
1919
steps:
2020
- uses: actions/checkout@v4

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@ language: python
22
sudo: false
33
matrix:
44
include:
5-
- python: 3.8
65
- python: 3.9
6+
- python: 3.10
7+
- python: 3.11
8+
- python: 3.12
79
- python: nightly
810
- python: pypy3
911
allow_failures:

openapi_schema_validator/shortcuts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ def validate(
1818
) -> None:
1919
cls.check_schema(schema)
2020
validator = cls(schema, *args, **kwargs)
21-
error = best_match(validator.iter_errors(instance))
21+
error = best_match(validator.evolve(schema=schema).iter_errors(instance))
2222
if error is not None:
2323
raise error

0 commit comments

Comments
 (0)