Pin dependencies in setup.cfg.

This commit is contained in:
Rémy HUBSCHER 2020-04-21 10:03:33 +02:00
parent 330103872f
commit 51fd5f0616
No known key found for this signature in database
GPG key ID: A500E24B95405094
4 changed files with 26 additions and 64 deletions

View file

@ -1,6 +0,0 @@
zest.releaser
tox
pytest
flake8
Flask-Testing
black ; python_version >= '3.6'

View file

@ -1,30 +0,0 @@
alembic==1.4.2
aniso8601==8.0.0
Babel==2.8.0
blinker==1.4
click==7.1.1
debts==0.5
dnspython==1.16.0
email-validator==1.0.5
Flask==1.1.2
Flask-Babel==1.0.0
Flask-Cors==3.0.8
Flask-Mail==0.9.1
Flask-Migrate==2.5.3
Flask-RESTful==0.3.8
Flask-Script==2.0.6
Flask-SQLAlchemy==2.4.1
Flask-WTF==0.14.3
idna==2.9
itsdangerous==1.1.0
Jinja2==2.11.2
Mako==1.1.2
MarkupSafe==1.1.1
python-dateutil==2.8.1
pytz==2019.3
six==1.14.0
SQLAlchemy==1.3.16
SQLAlchemy-Continuum==1.3.9
SQLAlchemy-Utils==0.36.3
Werkzeug==1.0.1
WTForms==2.2.1

View file

@ -14,6 +14,7 @@ classifiers =
Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Topic :: Internet :: WWW/HTTP Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: WSGI :: Application Topic :: Internet :: WWW/HTTP :: WSGI :: Application
@ -22,29 +23,30 @@ packages = find:
include_package_data = True include_package_data = True
zip_safe = False zip_safe = False
install_requires = install_requires =
flask blinker==1.4
flask-wtf debts==0.5
flask-sqlalchemy<3.0 email_validator==1.0.5
SQLAlchemy-Continuum Flask-Babel==1.0.0
flask-mail Flask-Cors==3.0.8
Flask-Migrate Flask-Mail==0.9.1
Flask-script Flask-Migrate==2.5.3
flask-babel Flask-RESTful==0.3.8
flask-restful Flask-Script==2.0.6
jinja2 Flask-SQLAlchemy==2.4.1
blinker Flask-WTF==0.14.3
flask-cors Flask==1.1.2
itsdangerous itsdangerous==1.1.0
email_validator Jinja2==2.11.2
debts SQLAlchemy-Continuum==1.3.9
[options.extras_require] [options.extras_require]
dev = dev =
zest.releaser black==19.10b0
tox flake8==3.7.9
pytest Flask-Testing==0.8.0
flake8 pytest==5.4.1
Flask-Testing tox==3.14.6
zest.releaser==6.20.1
[options.entry_points] [options.entry_points]
console_scripts = console_scripts =

12
tox.ini
View file

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py37,py36,py35,docs,flake8,black envlist = py38,py37,py36,py35,docs,flake8,black
skip_missing_interpreters = True skip_missing_interpreters = True
[testenv] [testenv]
@ -9,8 +9,7 @@ commands =
py.test --pyargs ihatemoney.tests.tests py.test --pyargs ihatemoney.tests.tests
deps = deps =
-rdev-requirements.txt -e.[dev]
-rrequirements.txt
# To be sure we are importing ihatemoney pkg from pip-installed version # To be sure we are importing ihatemoney pkg from pip-installed version
changedir = /tmp changedir = /tmp
@ -23,14 +22,10 @@ changedir = {toxinidir}
[testenv:black] [testenv:black]
commands = black --check --target-version=py34 . commands = black --check --target-version=py34 .
deps =
-rdev-requirements.txt
changedir = {toxinidir} changedir = {toxinidir}
[testenv:flake8] [testenv:flake8]
commands = flake8 ihatemoney commands = flake8 ihatemoney
deps =
-rdev-requirements.txt
changedir = {toxinidir} changedir = {toxinidir}
[flake8] [flake8]
@ -43,5 +38,6 @@ extend-ignore =
[travis] [travis]
python = python =
3.5: py35 3.5: py35
3.6: py36, docs, black, flake8 3.6: py36
3.7: py37 3.7: py37
3.8: py38, docs, black, flake8