question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest release of Pandas (1.4.3) cannot be used with the latest release of pandas-stubs (1.4.2.220626)

See original GitHub issue

Hi, The latest version of pandas-stubs (1.4.2.220626) depends on Pandas version 1.4.2. This prevents updating to Pandas 1.4.3 if we want to use the latest version of pandas-stubs.

ERROR: Cannot install -r requirements.txt (line 22) and pandas==1.4.3 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pandas==1.4.3
    pandas-stubs 1.4.2.220626 depends on pandas==1.4.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Dr-Irvcommented, Jul 1, 2022

I’ll work on a new release this weekend that should address this issue

1reaction
aholmescommented, Jul 1, 2022

I had initially done poetry lock --no-update, which did update the versions in the file. However, deleting poetry.lock and going through the process again had the same effect.

Good news though - I noticed which python came from ~/.cache when I was in the poetry shell. I removed the directory and started over. The tests pass locally now. Thanks for the tip!

Read more comments on GitHub >

github_iconTop Results From Across the Web

pandas-stubs - PyPI
PyPI Latest Release Conda Latest Release Package Status License Downloads Gitter Powered by ... The stubs cover the most typical use cases of...
Read more >
What's new in 1.4.0 (January 22, 2022) - Pandas
What's new in 1.4.0 (January 22, 2022)#. These are the changes in pandas 1.4.0. See Release notes for a full changelog including other...
Read more >
VirtusLab/pandas-stubs - GitHub
This works only for legacy versions. Any version higher than shown here will install a version from the new repository. The easiest way...
Read more >
First release of pandas-stubs from the pandas team
This release is the result of a strategic effort led by the core pandas team to integrate the Microsoft type stub repository https://github.com/ ......
Read more >
Could not find a version that satisfies the requirement pandas ...
pandas 1.4+ requires Python >= 3.8. From the list of available versions I can guess you use Python 3.7 or lower. Upgrade Python...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found