Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update requirements.txt #318

Open
Friedrich2 opened this issue Jan 9, 2024 · 0 comments
Open

Update requirements.txt #318

Friedrich2 opened this issue Jan 9, 2024 · 0 comments

Comments

@Friedrich2
Copy link

The dependencies required by SBTi-finance-tool seem to be defined via requirements.txt.

These dependencies are pinned down to a specific version. Some of these are not the current versions.
For example, requirements.txt requires exactly pandas 1.5.3 and numpy 1.22.0, while the current versions of these two packages are pandas 2.1.4 and numpy 1.26.0.

I propose to use another form of requirement specifier specifying a half-closed interval (e. g. pandas >= 1.5.3). In this way, it is not needed to install multiple versions of the same package while using another package requesting the current version.

The issue arose during the use of for /F "skip=2 tokens=1" %a in ('pip list --outdated') do pip install --upgrade %a under Windows to upgrade all pip packages to the current version, implicitly hoping that every package works with the newest versions of its dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant