fabric-testbed / InformationModel

FABRIC Information Model library
MIT License
7 stars 1 forks source link

Minimize and update dependencies #140

Closed sajith closed 1 year ago

sajith commented 1 year ago

Going by https://requires.io/github/fabric-testbed/InformationModel/requirements/?branch=rel1.4 (and https://requires.io/github/fabric-testbed/InformationModel/requirements/?branch=master), we have a fair number of outdated dependencies, and some of them are probably not directly used.

sajith commented 1 year ago

A status update: I ran pipreqs . --debug --force --mode compat and it updated requirements.txt to this form:

matplotlib~=3.6.0
neo4j~=4.1.0
networkx~=2.8.7
networkx_query~=1.0.1
PyYAML~=6.0
recordclass~=0.17.5
requests~=2.28.1
setuptools~=65.4.1

Also had to add pytest and wheel to the above list, so that the package can be installed and tested. However there are some non-deterministic errors when I run the test suite locally (with and without the changes to requirements.txt), so I am nervous about making a PR with those changes.