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 - name: Install dependencies
run: | run: |
pip install --upgrade pip 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 - name: Test with tox
run: tox run: tox
- name: Coveralls - name: Coveralls
@@ -33,7 +33,7 @@ jobs:
needs: test needs: test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install coveralls - name: Install "coveralls<4"
run: pip install coveralls run: pip install coveralls
- name: Coveralls Finished - name: Coveralls Finished
run: coveralls --service github --finish run: coveralls --service github --finish

View File

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