Skip to content

Commit f9b3ba1

Browse files
committed
python-openapi/openapi-core#296: Use jsonschema alpha release, remove python 3.6 support
1 parent c4dce17 commit f9b3ba1

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/workflows/python-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
python-version: [3.6, 3.7, 3.8, 3.9]
16+
python-version: [3.7, 3.8, 3.9]
1717
os: [windows-latest, ubuntu-latest]
1818
fail-fast: false
1919
steps:

openapi_spec_validator/readers.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import os
2-
try:
3-
import pathlib
4-
except ImportError:
5-
import pathlib2 as pathlib
2+
import pathlib
63
import sys
74

85
from openapi_spec_validator import all_urls_handler, file_object_handler

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
git+https://github.com/Julian/jsonschema@main#egg=jsonschema
1+
jsonschema==4.0.0a6
22
git+https://github.com/anexia-it/openapi-schema-validator@master
33
PyYAML==5.3.1
44
six==1.12.0

setup.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ python_requires = >= 3.6
2323
setup_requires =
2424
setuptools
2525
install_requires =
26-
jsonschema
27-
openapi-schema-validator
26+
jsonschema==4.0.0a6
27+
openapi-schema-validator @ git+https://github.com/anexia-it/openapi-schema-validator@master
2828
PyYAML>=5.1
2929
six
3030
tests_require =

0 commit comments

Comments
 (0)