Closed PyDeps closed 1 year ago
Thank you for your interest in MHKiT. We currently find the dependency versioning of MHKiT sufficient and are working on improvements actively through our CI and testing efforts. If you have a specific issue please open a new issue. Thank you!
Hi, In MHKiT-Python, inappropriate dependency versioning constraints can cause risks.
Below are the dependencies and version constraints that the project is using
The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict. The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.
After further analysis, in this project, The version constraint of dependency numpy can be changed to >=1.8.0,<=1.17.2. The version constraint of dependency matplotlib can be changed to >=1.3.0,<=3.0.3. The version constraint of dependency requests can be changed to >=0.2.1,<=0.2.3. The version constraint of dependency requests can be changed to >=0.7.0,<=2.24.0. The version constraint of dependency requests can be changed to ==2.26.0. The version constraint of dependency scikit-learn can be changed to >=0.13,<=0.21.3. The version constraint of dependency xarray can be changed to >=0.18.0,<=2022.6.0rc0. The version constraint of dependency statsmodels can be changed to >=0.6.0-rc1,<=0.13.2.
The above modification suggestions can reduce the dependency conflicts as much as possible, and introduce the latest version as much as possible without calling Error in the projects.
The invocation of the current project includes all the following methods.
The calling methods from the numpy
The calling methods from the matplotlib
The calling methods from the requests
The calling methods from the scikit-learn
The calling methods from the xarray
The calling methods from the statsmodels
The calling methods from the all methods
@developer Could please help me check this issue? May I pull a request to fix it? Thank you very much.