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

Pyscript hanging on to old dependencies #663

Open
cascer1 opened this issue Nov 24, 2024 · 0 comments
Open

Pyscript hanging on to old dependencies #663

cascer1 opened this issue Nov 24, 2024 · 0 comments

Comments

@cascer1
Copy link

cascer1 commented Nov 24, 2024

Hi!

I'm using pyscript to run a script I wrote to calculate how fast my car should charge. It uses the entsoe-py library to retrieve energy prices, which in turn depends on pandas >= 2.2.0

Previously, the entsoe-py library used pandas 2.1.4.

So, after upgrading to entsoe-py 0.6.16, I also updated my requirements.txt to require pandas 2.2.3. However, when I reload pyscript, it fails because it says pandas 2.1.4 is not compatible with entsoe-py 0.6.16:

Unable to install package entsoe-py==0.6.16: × No solution found when resolving dependencies: ╰─▶ Because entsoe-py==0.6.16 depends on pandas>=2.2.0 and pandas==2.1.4, we can conclude that entsoe-py==0.6.16 cannot be used. And because you require entsoe-py==0.6.16, we can conclude that your requirements are unsatisfiable.

This is my requirements.txt:

requests==2.32.3
pytz==2024.2
beautifulsoup4==4.12.3
pandas==2.2.3
entsoe-py==0.6.16

Where is this old version of pandas coming from? I had this issue once before, and then re-installing pyscript fixed it. But now that's not working for me. What else can I try?

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