File tree Expand file tree Collapse file tree 2 files changed +28
-14
lines changed Expand file tree Collapse file tree 2 files changed +28
-14
lines changed Original file line number Diff line number Diff line change 23
23
python-version : ${{ matrix.python-version }}
24
24
- name : Install dependencies
25
25
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 .
30
29
- name : Test
31
30
run : python setup.py test
32
31
- name : Upload coverage
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ setup_requires =
28
28
install_requires =
29
29
isodate
30
30
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
33
33
six
34
34
lazy-object-proxy
35
35
attrs
@@ -39,25 +39,40 @@ install_requires =
39
39
backports.functools-lru-cache; python_version<"3.0"
40
40
backports.functools-partialmethod; python_version<"3.0"
41
41
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
+ django < 2.0; python_version<"3.0"
48
+ django >= 2.2; python_version>="3.0"
49
+ djangorestframework == 3.9.4
50
+ flake8 == 3.9.2
47
51
falcon
52
+ falcon == 2.0.0; python_version<"3.0"
48
53
flask
54
+ flask < 2.0.0; python_version<"3.0"
55
+ requests
56
+ requests < 2.28.0; python_version<"3.0"
49
57
responses
58
+ responses < 0.18.0; python_version<"3.0"
50
59
webob
60
+ strict-rfc3339 == 0.7
51
61
52
62
[options.packages.find]
53
63
exclude =
54
64
tests
55
65
56
66
[options.extras_require]
57
67
django =
58
- django>=2.2; python_version>="3.0"
59
- flask = flask
60
- requests = requests
68
+ django < 2.0; python_version<"3.0"
69
+ django >= 2.2; python_version>="3.0"
70
+ flask =
71
+ flask
72
+ flask < 2.0.0; python_version<"3.0"
73
+ requests =
74
+ requests
75
+ requests < 2.28.0; python_version<"3.0"
61
76
62
77
[tool:pytest]
63
78
addopts = -sv --flake8 --junitxml reports/junit.xml --cov openapi_core --cov-report term-missing --cov-report xml:reports/coverage.xml
You can’t perform that action at this time.
0 commit comments