Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
📌 clean package deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarvaud committed Apr 13, 2022
1 parent 5ec28f0 commit bcd1d5f
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 179 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ DB_USER = root
DB_NAME = labonneboite
MYSQL = mysql -u ${DB_USER} --host ${DB_HOST} --port ${DB_PORT}

PIP_COMPILE_ARGS ?=

init: init-venv init-databases init-test-data

init-databases: init-services data create-index
Expand All @@ -33,7 +35,7 @@ requirements.dev.txt: requirements.txt

.SUFFIXES: .in .txt
.in.txt:
pip-compile -o $@ -v $<
pip-compile ${PIP_COMPILE_ARGS} -o $@ -v $<

# Services and data
# -----------------
Expand Down
12 changes: 12 additions & 0 deletions requirements.dev.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-r requirements.txt

# dev tools
flake8
flake8-pylint
coverage
isort
flake8-mypy
mypy
yapf
pytest
pytest-env
108 changes: 15 additions & 93 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,160 +4,82 @@
#
# pip-compile --output-file requirements.dev.txt requirements.dev.in
#
alembic==0.9.10
alembic==1.7.7
astroid==1.6.5
attrs==21.4.0 # via flake8-mypy, pytest
babel==2.6.0
backcall==0.1.0
blinker==1.4
cachetools==4.0.0
certifi==2017.4.17
cffi==1.13.1
chardet==3.0.4
click==6.7
coverage==6.2
cryptography==2.8
cssmin==0.2.0
decorator==4.3.0
defusedxml==0.5.0
easyprocess==0.3
elasticsearch-stubs==0
elasticsearch==1.9.0
first==2.0.1
flake8-mypy==17.8.0
flake8-pylint==0.1.3
flake8==4.0.1
flask-admin==1.5.3
flask-assets==0.12
flask-babelex==0.9.3
flask-cors==3.0.7
flask-debugtoolbar==0.10.1
flask-login==0.4.1
flask-script==2.0.6
flask-testing==0.7.1
flask-wtf==0.14.2
flask==0.12.4
future==0.16.0
geographiclib==1.49
geopy==1.19.0
gevent==1.1.1
google-api-python-client==1.7.11
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
google-auth==1.11.0
greenlet==0.4.12
future==0.18.2
html5lib==1.0.1
httplib2==0.11.3
idna==2.5
importlib-metadata==4.2.0 # via flake8, pluggy, pytest
importlib-metadata==4.2.0
importlib-resources==5.4.0
iniconfig==1.1.1 # via pytest
ipdb==0.13.9
ipython-genutils==0.2.0
ipython==7.16.1
isort==4.2.15
isort==5.10.1
itsdangerous==0.24
jedi==0.12.0
jinja2==2.10.1
jsmin==3.0.0
lazy-object-proxy==1.3.1
line-profiler==2.0
locustio==0.7.5
mailjet-rest==1.3.3
mako==1.0.7
markupsafe==1.1.1
mccabe==0.6.1
msgpack-python==0.5.6
mccabe==0.6.1 # via flake8, pylint
mypy-extensions==0.4.3 # via mypy
mypy==0.931
mysqlclient==1.4.2.post1
nose==1.3.7
mypy==0.942
numpy==1.16.1
oauthlib==2.0.2
packaging==21.3 # via pytest
pandas-stubs==1.2.0.40
pandas==0.22.0
parameterized==0.7.0
parso==0.2.1
pexpect==4.6.0
pickleshare==0.7.4
pillow==6.0.0
pip-tools==2.0.2
pluggy==1.0.0 # via pytest
prompt-toolkit==3.0.21
ptyprocess==0.6.0
py==1.11.0 # via pytest
pyasn1-modules==0.2.8
pyasn1==0.4.8
pycodestyle==2.8.0 # via flake8
pycparser==2.19
pycryptodomex==3.6.3
pycryptodomex==3.14.1
pyflakes==2.4.0 # via flake8
pygments==2.2.0
pyjwkest==1.4.0
pyjwkest==1.4.2
pyjwt==1.5.2
pylint==1.9.2
pyparsing==3.0.6 # via packaging
pylint==1.9.2 # via flake8-pylint
pyparsing==3.0.8 # via packaging
pypdf2==1.26.0
pyprof2calltree==1.4.3
pytest-env==0.6.2
pytest==6.2.5
pytest==7.0.1
python-dateutil==2.6.1
python-editor==1.0.3
python-slugify==1.2.5
python3-openid==3.1.0
pytz==2017.2
pyvirtualdisplay==2.2
pyzmq==16.0.2
raven[flask]==6.9.0
remote-pdb==1.3.0
reportlab==3.5.21
requests-oauthlib==0.8.0
requests==2.21.0
rsa==4.0
scikit-learn==0.16.1
scipy==1.2.1
selenium==3.141.0
sentry-sdk==0.20.3
six==1.10.0
social-auth-app-flask-sqlalchemy==1.0.1
social-auth-app-flask==1.0.0
social-auth-core[openidconnect]==1.4.0
social-auth-storage-sqlalchemy==1.1.0
speaklater==1.3
sqlalchemy-utils==0.32.13
sqlalchemy2-stubs==0.0.2a19
sqlalchemy==1.3.3
toml==0.10.2
tomli==1.2.3 # via mypy
traitlets==4.3.2
typed-ast==1.5.1 # via mypy
types-click==7.1.8 # via types-flask
types-cryptography==3.3.12
types-enum34==1.1.2 # via types-cryptography
types-flask==0.1.2
types-html5lib==1.1.5
types-ipaddress==1.0.2 # via types-cryptography
types-jinja2==2.11.9 # via types-flask
types-markupsafe==1.1.1
types-mysqlclient==2.0.4
types-python-slugify==5.0.3
types-requests==2.27.6
types-selenium==3.141.7
types-urllib3==1.26.6 # via types-requests
types-werkzeug==1.0.9 # via types-flask
typing-extensions==4.0.1 # via importlib-metadata, mypy, pandas-stubs, sqlalchemy2-stubs
tomli==1.2.3 # via mypy, pytest
typed-ast==1.5.2 # via mypy
typing-extensions==4.1.1
unidecode==0.4.21
uritemplate==3.0.1
urllib3==1.24.3
uwsgi==2.0.18
uwsgitop==0.11
validators==0.11.2
wcwidth==0.1.7
webassets==0.12.1
webencodings==0.5.1
werkzeug==0.11.10
wrapt==1.10.10
wtforms==2.1
xhtml2pdf==0.2.2
yapf==0.32.0
zipp==3.6.0
31 changes: 31 additions & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Flask<0.13
werkzeug
alembic>=1.5.1
Flask-BabelEx

# # Databases and migrations.
SQLAlchemy-Utils
SQLAlchemy

elasticsearch<2.0.0

# # Users and auth management.
Flask-Login
social-auth-app-flask-sqlalchemy
social-auth-app-flask
social-auth-core[openidconnect]

# # Data and Importer.
pandas

# # PDF utils and dependencies.
xhtml2pdf

# # Utils.
python-slugify
unidecode
requests
mailjet_rest
cryptography
astroid
108 changes: 23 additions & 85 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,122 +4,60 @@
#
# pip-compile --output-file requirements.txt requirements.in
#
alembic==0.9.10
astroid==1.6.5 # via pylint
alembic==1.7.7
astroid==1.6.5
babel==2.6.0 # via flask-babelex
backcall==0.1.0 # via ipython
blinker==1.4 # via flask-debugtoolbar, raven
cachetools==4.0.0 # via google-auth
certifi==2017.4.17 # via requests, sentry-sdk
certifi==2017.4.17 # via requests
cffi==1.13.1 # via cryptography
chardet==3.0.4 # via requests
click==6.7 # via flask, pip-tools
click==6.7 # via flask
cryptography==2.8
cssmin==0.2.0
decorator==4.3.0 # via ipdb, ipython, traitlets, validators
defusedxml==0.5.0 # via python3-openid, social-auth-core
easyprocess==0.3 # via pyvirtualdisplay
elasticsearch==1.9.0
first==2.0.1 # via pip-tools
flask-admin==1.5.3
flask-assets==0.12
flask-babelex==0.9.3
flask-cors==3.0.7
flask-debugtoolbar==0.10.1
flask-login==0.4.1
flask-script==2.0.6
flask-testing==0.7.1
flask-wtf==0.14.2
flask==0.12.4
future==0.16.0 # via pyjwkest
geographiclib==1.49 # via geopy
geopy==1.19.0
gevent==1.1.1
google-api-python-client==1.7.11
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.1
google-auth==1.11.0 # via google-api-python-client, google-auth-httplib2, google-auth-oauthlib
greenlet==0.4.12 # via gevent
html5lib==1.0.1
httplib2==0.11.3 # via google-api-python-client, google-auth-httplib2, xhtml2pdf
future==0.18.2 # via pyjwkest
html5lib==1.0.1 # via xhtml2pdf
httplib2==0.11.3 # via xhtml2pdf
idna==2.5 # via requests
ipdb==0.13.9
ipython-genutils==0.2.0 # via traitlets
ipython==7.16.1
isort==4.2.15 # via pylint
itsdangerous==0.24 # via flask, flask-debugtoolbar
jedi==0.12.0 # via ipython
importlib-metadata==4.2.0 # via alembic
importlib-resources==5.4.0 # via alembic
itsdangerous==0.24 # via flask
jinja2==2.10.1 # via flask, flask-babelex
jsmin==3.0.0
lazy-object-proxy==1.3.1 # via astroid
line-profiler==2.0
locustio==0.7.5
mailjet-rest==1.3.3
mako==1.0.7 # via alembic
markupsafe==1.1.1
mccabe==0.6.1 # via pylint
msgpack-python==0.5.6 # via locustio
mysqlclient==1.4.2.post1
nose==1.3.7
numpy==1.16.1
markupsafe==1.1.1 # via jinja2, mako
numpy==1.16.1 # via pandas
oauthlib==2.0.2 # via requests-oauthlib, social-auth-core
pandas==0.22.0
parameterized==0.7.0
parso==0.2.1 # via jedi
pexpect==4.6.0 # via ipython
pickleshare==0.7.4 # via ipython
pillow==6.0.0 # via reportlab, xhtml2pdf
pip-tools==2.0.2
prompt-toolkit==3.0.21 # via ipython
ptyprocess==0.6.0 # via pexpect
pyasn1-modules==0.2.8 # via google-auth
pyasn1==0.4.8 # via pyasn1-modules, rsa
pycparser==2.19 # via cffi
pycryptodomex==3.6.3 # via pyjwkest
pygments==2.2.0 # via ipython
pyjwkest==1.4.0 # via social-auth-core
pycryptodomex==3.14.1 # via pyjwkest
pyjwkest==1.4.2 # via social-auth-core
pyjwt==1.5.2 # via social-auth-core
pylint==1.9.2
pypdf2==1.26.0 # via xhtml2pdf
pyprof2calltree==1.4.3
python-dateutil==2.6.1 # via alembic, pandas
python-editor==1.0.3 # via alembic
python-dateutil==2.6.1 # via pandas
python-slugify==1.2.5
python3-openid==3.1.0 # via social-auth-core
pytz==2017.2 # via babel, pandas
pyvirtualdisplay==2.2
pyzmq==16.0.2
raven[flask]==6.9.0
remote-pdb==1.3.0
reportlab==3.5.21 # via xhtml2pdf
requests-oauthlib==0.8.0 # via google-auth-oauthlib, social-auth-core
requests-oauthlib==0.8.0 # via social-auth-core
requests==2.21.0
rsa==4.0 # via google-auth
scikit-learn==0.16.1
scipy==1.2.1
selenium==3.141.0
sentry-sdk==0.20.3
six==1.10.0 # via astroid, cryptography, flask-cors, google-api-python-client, google-auth, html5lib, pip-tools, pyjwkest, pylint, python-dateutil, social-auth-app-flask, social-auth-app-flask-sqlalchemy, social-auth-core, social-auth-storage-sqlalchemy, sqlalchemy-utils, traitlets, validators, xhtml2pdf
six==1.10.0 # via astroid, cryptography, html5lib, pyjwkest, python-dateutil, social-auth-app-flask, social-auth-app-flask-sqlalchemy, social-auth-core, social-auth-storage-sqlalchemy, sqlalchemy-utils, xhtml2pdf
social-auth-app-flask-sqlalchemy==1.0.1
social-auth-app-flask==1.0.0
social-auth-core[openidconnect]==1.4.0
social-auth-storage-sqlalchemy==1.1.0 # via social-auth-app-flask-sqlalchemy
speaklater==1.3
speaklater==1.3 # via flask-babelex
sqlalchemy-utils==0.32.13
sqlalchemy==1.3.3
toml==0.10.2 # via ipdb
traitlets==4.3.2 # via ipython
unidecode==0.4.21 # via python-slugify
uritemplate==3.0.1 # via google-api-python-client
urllib3==1.24.3 # via elasticsearch, requests, selenium, sentry-sdk
uwsgi==2.0.18
uwsgitop==0.11
validators==0.11.2
wcwidth==0.1.7 # via prompt-toolkit
webassets==0.12.1 # via flask-assets
typing-extensions==4.1.1 # via importlib-metadata
unidecode==0.4.21
urllib3==1.24.3 # via elasticsearch, requests
webencodings==0.5.1 # via html5lib
werkzeug==0.11.10 # via flask, flask-debugtoolbar
werkzeug==0.11.10
wrapt==1.10.10 # via astroid
wtforms==2.1
xhtml2pdf==0.2.2
zipp==3.6.0
zipp==3.6.0 # via importlib-metadata, importlib-resources

0 comments on commit bcd1d5f

Please sign in to comment.