forked from orbit-oss/flask
test min/dev versions of pallets deps
This commit is contained in:
parent
86009452fb
commit
4e8787b915
6 changed files with 53 additions and 1 deletions
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
|
|
@ -33,6 +33,8 @@ jobs:
|
||||||
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
|
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
|
||||||
- {name: '3.6', python: '3.6', os: ubuntu-latest, tox: py36}
|
- {name: '3.6', python: '3.6', os: ubuntu-latest, tox: py36}
|
||||||
- {name: 'PyPy', python: 'pypy-3.7', os: ubuntu-latest, tox: pypy37}
|
- {name: 'PyPy', python: 'pypy-3.7', os: ubuntu-latest, tox: pypy37}
|
||||||
|
- {name: 'Pallets Minimum Versions', python: '3.10', os: ubuntu-latest, tox: py-min}
|
||||||
|
- {name: 'Pallets Development Versions', python: '3.7', os: ubuntu-latest, tox: py-dev}
|
||||||
- {name: Typing, python: '3.10', os: ubuntu-latest, tox: typing}
|
- {name: Typing, python: '3.10', os: ubuntu-latest, tox: typing}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
||||||
5
requirements/tests-pallets-dev.in
Normal file
5
requirements/tests-pallets-dev.in
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
https://github.com/pallets/werkzeug/archive/refs/heads/main.tar.gz
|
||||||
|
https://github.com/pallets/jinja/archive/refs/heads/main.tar.gz
|
||||||
|
https://github.com/pallets/markupsafe/archive/refs/heads/main.tar.gz
|
||||||
|
https://github.com/pallets/itsdangerous/archive/refs/heads/main.tar.gz
|
||||||
|
https://github.com/pallets/click/archive/refs/heads/main.tar.gz
|
||||||
18
requirements/tests-pallets-dev.txt
Normal file
18
requirements/tests-pallets-dev.txt
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
#
|
||||||
|
# This file is autogenerated by pip-compile with python 3.10
|
||||||
|
# To update, run:
|
||||||
|
#
|
||||||
|
# pip-compile requirements/tests-pallets-dev.in
|
||||||
|
#
|
||||||
|
click @ https://github.com/pallets/click/archive/refs/heads/main.tar.gz
|
||||||
|
# via -r requirements/tests-pallets-dev.in
|
||||||
|
itsdangerous @ https://github.com/pallets/itsdangerous/archive/refs/heads/main.tar.gz
|
||||||
|
# via -r requirements/tests-pallets-dev.in
|
||||||
|
jinja2 @ https://github.com/pallets/jinja/archive/refs/heads/main.tar.gz
|
||||||
|
# via -r requirements/tests-pallets-dev.in
|
||||||
|
markupsafe @ https://github.com/pallets/markupsafe/archive/refs/heads/main.tar.gz
|
||||||
|
# via
|
||||||
|
# -r requirements/tests-pallets-dev.in
|
||||||
|
# jinja2
|
||||||
|
werkzeug @ https://github.com/pallets/werkzeug/archive/refs/heads/main.tar.gz
|
||||||
|
# via -r requirements/tests-pallets-dev.in
|
||||||
5
requirements/tests-pallets-min.in
Normal file
5
requirements/tests-pallets-min.in
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
Werkzeug==2.0.0
|
||||||
|
Jinja2==3.0.0
|
||||||
|
MarkupSafe==2.0.0
|
||||||
|
itsdangerous==2.0.0
|
||||||
|
click==8.0.0
|
||||||
18
requirements/tests-pallets-min.txt
Normal file
18
requirements/tests-pallets-min.txt
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
#
|
||||||
|
# This file is autogenerated by pip-compile with python 3.10
|
||||||
|
# To update, run:
|
||||||
|
#
|
||||||
|
# pip-compile requirements/tests-pallets-min.in
|
||||||
|
#
|
||||||
|
click==8.0.0
|
||||||
|
# via -r requirements/tests-pallets-min.in
|
||||||
|
itsdangerous==2.0.0
|
||||||
|
# via -r requirements/tests-pallets-min.in
|
||||||
|
jinja2==3.0.0
|
||||||
|
# via -r requirements/tests-pallets-min.in
|
||||||
|
markupsafe==2.0.0
|
||||||
|
# via
|
||||||
|
# -r requirements/tests-pallets-min.in
|
||||||
|
# jinja2
|
||||||
|
werkzeug==2.0.0
|
||||||
|
# via -r requirements/tests-pallets-min.in
|
||||||
6
tox.ini
6
tox.ini
|
|
@ -1,7 +1,9 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist =
|
envlist =
|
||||||
py3{11,10,9,8,7,6},pypy37
|
py3{11,10,9,8,7,6},pypy3{8,7}
|
||||||
py39-click7
|
py39-click7
|
||||||
|
py310-min
|
||||||
|
py37-dev
|
||||||
style
|
style
|
||||||
typing
|
typing
|
||||||
docs
|
docs
|
||||||
|
|
@ -10,6 +12,8 @@ skip_missing_interpreters = true
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
-r requirements/tests.txt
|
-r requirements/tests.txt
|
||||||
|
min: -r requirements/tests-pallets-min.txt
|
||||||
|
dev: -r requirements/tests-pallets-dev.txt
|
||||||
|
|
||||||
click7: click<8
|
click7: click<8
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue