Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc1b65a5

Browse files
authored
Merge pull request#406 from p1c2u/fix/openapi-spec-validator-strict-requirement-fix
openapi-spec-validator strict requirement fix
2 parentsc368978 +e098725 commitc1b65a5

File tree

2 files changed

+23
-15
lines changed

2 files changed

+23
-15
lines changed

‎.github/workflows/python-test.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ jobs:
2323
python-version:${{ matrix.python-version }}
2424
-name:Install dependencies
2525
run:|
26-
python -m pip install --upgrade pip
27-
pip install -r requirements.txt
28-
pip install -r requirements_dev.txt
29-
pip install -e .
26+
python -m pip install --upgrade pip setuptools
27+
python -m pip install -r requirements_dev.txt
28+
python -m pip install -e .[django,flask,requests]
3029
-name:Test
3130
run:python setup.py test
3231
-name:Upload coverage

‎setup.cfg‎

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ setup_requires =
2828
install_requires =
2929
isodate
3030
dictpath
31-
openapi-spec-validator < 0.4.0
32-
openapi-schema-validator < 0.2.0
31+
openapi-spec-validator < 0.5.0
32+
openapi-schema-validator < 0.3.0
3333
six
3434
lazy-object-proxy
3535
attrs
@@ -39,25 +39,34 @@ install_requires =
3939
backports.functools-lru-cache; python_version<"3.0"
4040
backports.functools-partialmethod; python_version<"3.0"
4141
tests_require =
42-
mock; python_version<"3.0"
43-
pytest
44-
pytest-flake8 < 1.1.0
45-
pytest-cov
46-
flake8 < 4.0.0
42+
mock == 2.0.0
43+
pytest == 3.5.0
44+
pytest-flake8 == 1.0.7
45+
pytest-cov == 2.5.1
46+
coverage == 5.5
47+
djangorestframework == 3.9.4
48+
flake8 == 3.9.2
4749
falcon
48-
flask
50+
falcon == 2.0.0; python_version<"3.0"
4951
responses
52+
responses < 0.18.0; python_version<"3.0"
5053
webob
54+
strict-rfc3339 == 0.7
5155

5256
[options.packages.find]
5357
exclude =
5458
tests
5559

5660
[options.extras_require]
5761
django =
58-
django>=2.2; python_version>="3.0"
59-
flask = flask
60-
requests = requests
62+
django < 2.0; python_version<"3.0"
63+
django >= 2.2; python_version>="3.0"
64+
flask =
65+
flask
66+
flask < 2.0.0; python_version<"3.0"
67+
requests =
68+
requests
69+
requests < 2.28.0; python_version<"3.0"
6170

6271
[tool:pytest]
6372
addopts = -sv --flake8 --junitxml reports/junit.xml --cov openapi_core --cov-report term-missing --cov-report xml:reports/coverage.xml

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp