Avaiga / taipy

Turns Data and AI algorithms into production-ready web applications in no time.
https://www.taipy.io
Apache License 2.0
14.23k stars 1.7k forks source link

Check dependencies are up-to-date #414

Closed jrobinAV closed 8 months ago

jrobinAV commented 1 year ago

Check dependencies are up-to-date

toan-quach commented 1 year ago

Taipy-core dependencies version check

For setup.py

Required packages (format: taipy's requirement - current latest version)

Not up-to-date

"pyarrow>=10.0.1,<11.0"   -   pyarrow 14.0.1
"networkx>=2.6,<3.0”   -   networkx 3.2

Within current version range

"modin[dask]>=0.23.0,<1.0"   -   modin 0.24.1
"pymongo>=4.2.0,<5.0"   -   pymongo 4.5.0
"sqlalchemy>=2.0.16,<2.1"   -   SQLAlchemy 2.0.22
"toml>=0.10,<0.11"   -   toml 0.10.2

Extra packages

Not up-to-date

"fastparquet==2022.11.0"   -   fastparquet 2023.8.0
"pyodbc>=4,<4.1"   -   pyodbc 5.0.1
"pymysql>1,<1.1"   -   pymysql 1.1.0

Within current version range

"psycopg2>2.9,<2.10”   -   psycopg2 2.9.9

For Pipfile

modin = {extras = ["dask"], version = "==0.23.0"}   -   modin 0.24.1
networkx = "==2.6"   -   networkx 3.2
pyarrow = "==10.0.1"   -   pyarrow 13.0.0
pymongo = "==4.2.0"   -   pymongo 4.5.0
sqlalchemy = "==2.0.16"   -   SQLAlchemy 2.0.22
toml = "==0.10"   -   toml 0.10.2
jrobinAV commented 11 months ago

We need to review the version updates and apply them if they are OK.

joaoandre-avaiga commented 11 months ago

Taipy-rest dependencies version check

PR with changes: https://github.com/Avaiga/taipy-rest/pull/140/files

For setup.py

Required packages (format: taipy's requirement - current latest version)

Not up-to-date

"apispec[yaml]>=5.1,<6.0"  -   apispec 6.3

Unused "flask-migrate>=3.1,<4.0" - REMOVED "flask-marshmallow>=0.14,<0.15" - Replaced by marshmallow(we only used functionallity from marshmallow) "marshmallow-sqlalchemy>=0.25,<0.29" - REMOVED

Within current version range

"flask-restful>=0.3.9,<0.4"   -   flask-restful 0.3.10

For Pipfile

apispec = {extras = ["yaml"], version = "==5.0"}   -   apispec 6.3

Unused passlib - Removed pytest_factoryboy - Removed

jrobinAV commented 11 months ago

PyArrow got a critical vulnerability it must be upgraded to 14.0.1 https://github.com/Avaiga/taipy-core/security/dependabot/4

florian-vuillemot commented 8 months ago

Two bugs were found: