Pin test versions (#1373)

This commit is contained in:
Robbe Sneyders
2021-06-29 21:45:42 +02:00
committed by GitHub
parent 602f7087a9
commit d4657e7a15
2 changed files with 9 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install tox tox-gh-actions setuptools coveralls
pip install "tox<4" "tox-gh-actions<3" "setuptools<58" "coveralls<4"
- name: Test with tox
run: tox
- name: Coveralls
@@ -33,7 +33,7 @@ jobs:
needs: test
runs-on: ubuntu-latest
steps:
- name: Install coveralls
- name: Install "coveralls<4"
run: pip install coveralls
- name: Coveralls Finished
run: coveralls --service github --finish

View File

@@ -26,22 +26,22 @@ install_requires = [
'PyYAML>=5.1,<6',
'requests>=2.9.1,<3',
'inflection>=0.3.1,<0.6',
'openapi-spec-validator>=0.2.4,<2',
'openapi-spec-validator>=0.2.4,<0.4',
'werkzeug>=1.0,<2.0',
]
swagger_ui_require = 'swagger-ui-bundle>=0.0.2'
flask_require = 'flask>=1.0.4'
swagger_ui_require = 'swagger-ui-bundle>=0.0.2,<0.1'
flask_require = 'flask>=1.0.4,<2'
aiohttp_require = [
'aiohttp>=2.3.10,<4',
'aiohttp-jinja2>=0.14.0,<2'
]
tests_require = [
'decorator',
'pytest',
'pytest-cov',
'testfixtures',
'decorator>=5,<6',
'pytest>=6,<7',
'pytest-cov>=2,<3',
'testfixtures>=6,<7',
flask_require,
swagger_ui_require
]