pangaea-data-publisher / fuji

FAIRsFAIR Research Data Object Assessment Service
MIT License
53 stars 39 forks source link

Update python dependencies #380

Closed afuetterer closed 1 year ago

afuetterer commented 1 year ago

Some dependency versions are quite dated. Let's update those.

Versions

$ python -m pip list --outdated
Package                  Version Latest Type
------------------------ ------- ------ -----
beautifulsoup4           4.8.2   4.12.2 wheel
chardet                  3.0.4   5.2.0  wheel
click                    7.1.2   8.1.7  wheel
configparser             5.0.2   6.0.0  wheel
connexion                2.9.0   2.14.2 wheel
extruct                  0.13.0  0.16.0 wheel
Flask                    1.1.4   2.3.3  wheel
Flask-Cors               3.0.10  4.0.0  wheel
Flask-Limiter            2.0.0   3.5.0  wheel
idna                     2.10    3.4    wheel
IDUtils                  1.1.14  1.2.1  wheel
itsdangerous             1.1.0   2.1.2  wheel
Jinja2                   2.11.3  3.1.2  wheel 
jmespath                 0.10.0  1.0.1  wheel
jsonschema               3.2.0   4.19.0 wheel
levenshtein              0.12.0  0.21.1 wheel
MarkupSafe               2.0.1   2.1.3  wheel
openapi-schema-validator 0.1.6   0.6.0  wheel
openapi-spec-validator   0.3.3   0.6.0  wheel
pandas                   1.5.3   2.1.0  wheel
pyrsistent               0.16.1  0.19.3 wheel
PyYAML                   5.3.1   6.0.1  wheel
rapidfuzz                3.1.2   3.2.0  wheel
rdflib                   6.1.1   7.0.0  wheel
requests                 2.24.0  2.31.0 wheel
SPARQLWrapper            1.8.5   2.0.0  wheel
tika                     1.25    2.6.0  sdist
tldextract               3.1.2   3.4.4  wheel
urlextract               1.2.0   1.8.0  wheel
urllib3                  1.25.11 2.0.4  wheel
Werkzeug                 1.0.1   2.3.7  wheel

Tasks

Relevant

Related: #357 #409

afuetterer commented 1 year ago

Is there a reason for the version constraint flask-limiter<=2.0.0 @huberrob? What was the intention?

huberrob commented 1 year ago

I think there was a conflict with connexion or Werkzeug, but not sure..

afuetterer commented 1 year ago

Alright, I will investigate. I updated to the last version 2.14 of connexion in #407. Which works fine. If it works with flask-limiter 3.5 I will drop this constraint.

connexion team is also working on a version 3.0.0.

afuetterer commented 1 year ago

All done.