Latest release of Pandas (1.4.3) cannot be used with the latest release of pandas-stubs (1.4.2.220626)
See original GitHub issueHi, 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:
- Created a year ago
- Comments:8 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll work on a new release this weekend that should address this issue
I had initially done
poetry lock --no-update
, which did update the versions in the file. However, deletingpoetry.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!