From 1db3095fac6bec0307596d44bd7a4e65ff38b552 Mon Sep 17 00:00:00 2001 From: Richard Hitier Date: Tue, 7 Jun 2022 16:32:37 +0200 Subject: [PATCH] Update dependencies --- DEV.md | 3 +++ README.md | 2 +- requirements-tests.txt | 4 +++- requirements.txt | 59 ++++++++++------------------------------------------------- 4 files changed, 17 insertions(+), 51 deletions(-) diff --git a/DEV.md b/DEV.md index 3478c7c..1bbc005 100644 --- a/DEV.md +++ b/DEV.md @@ -9,6 +9,9 @@ ## Testing + # prerequisites + pip install -r requirements-tests.txt + # basic PYTHONPATH=. pytest diff --git a/README.md b/README.md index c83e398..cb6265c 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ virtualenv ### Python venv ``` bash -virtualenv venv +python3 -m venv venv source venv/bin/activate pip install matplotlib pip install numpy==1.8.* diff --git a/requirements-tests.txt b/requirements-tests.txt index 4e9ad68..dcdd991 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1 +1,3 @@ -selenium flask_testing +selenium +flask_testing +pytest diff --git a/requirements.txt b/requirements.txt index 9b48e48..372642b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,52 +7,13 @@ ## MAIN DEPENDENCIES - -Flask==0.12 -Jinja2==2.9.5 -Markdown==2.6.8 -MarkupSafe==1.0 -python-slugify==1.2.4 -requests==2.19.1 - -# Why not pyvo ? -# For obscure reasons within spacepy, only numpy 1.7 or 1.8 will work -# and pyvo requires astropy, that requires a more recent numpy. -#pyvo==0.9.* - - -## FILE FORMATS - -# Also available : https://pypi.org/project/pupynere/ - -PyYAML==3.12 -netCDF4==1.2.7 -h5py==2.8.0 -# spacepy does not like recent numpy versions (1.7 looks ok -- 1.8 works too) -numpy==1.8.* -# We only use pycdf from spacepy. -# Ulterior versions are broken on install. (for python 2.7) -spacepy==0.1.5 - -# isoparse needs at least 2.7 -python-dateutil==2.7.* - -## SECOND LEVEL DEPS -# (comment them out if you have compatibility issues) - -appdirs==1.4.3 -click==6.7 -dateutils==0.6.6 -itsdangerous==0.24 -mglob==0.4 -pyparsing==2.2.0 -packaging==16.8 -six==1.10.0 -Werkzeug==0.12 -Cython==0.27.1 - - -## WEIRD STUFF - -# This version number makes pip yell on the prod server (?) -#pkg-resources==0.0.0 +wheel +Flask==2.1.2 +python-dotenv==0.20.0 +requests==2.27.1 +numpy==1.22.4 +python-dateutil==2.8.2 +Yaml8==0.1.2 +netCDF4==1.5.8 +unicode-slugify==0.1.5 +gunicorn==20.1.0 -- libgit2 0.21.2