[KED-1055] Dependency issue with pyarrow
See original GitHub issueDescription
There is a regression on windows for kedro 0.15.1 and 0.15.0 on windows.
When running pipenv install kedro===0.14.3
, everything is fine, but when doing pipenv install kedro===0.15.0
or pipenv install kedro===0.15.1
, it fails at a depency on pyarrow 0.14.1
Context
I can’t install the latest version of kedro on windows 10
Steps to Reproduce
- create a fresh python environment and activate it
- pipenv install kedro
Expected Result
The dependency should be resolved, and kedro 0.15 should be able to install on windows
Actual Result
Fails to install kedro
[pipenv.exceptions.InstallError]: ['Collecting pyarrow==0.14.1 (from -r C:\\Users\\OUELAL\\AppData\\Local\\Temp\\pipenv-1e42tyv4-requirements\\pipenv-ocm118ym-requirement.txt (line 1))']
[pipenv.exceptions.InstallError]: ['ERROR: Could not find a version that satisfies the requirement pyarrow==0.14.1 (from -r C:\\Users\\OUELAL\\AppData\\Local\\Temp\\pipenv-1e42tyv4-requirements\\pipenv-ocm118ym-requirement.txt (line 1)) (from versions: 0.4.1, 0.5.0, 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0, 0.14.0)', 'ERROR: No matching distribution found for pyarrow==0.14.1 (from -r C:\\Users\\OUELAL\\AppData\\Local\\Temp\\pipenv-1e42tyv4-requirements\\pipenv-ocm118ym-requirement.txt (line 1))']
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
- Kedro version used (
pip show kedro
orkedro -V
): - Python version used (
python -V
): Python 3.6.8 - Operating system and version: Windows 10 Pro
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
[KED-1055] Dependency issue with pyarrow #94 - GitHub
There is a regression on windows for kedro 0.15.1 and 0.15.0 on windows. When running pipenv install kedro===0.14.3 , everything is fine, but ......
Read more >Installing PyArrow — Apache Arrow v10.0.1
If you encounter any importing issues of the pip wheels on Windows, you may need to install the Visual C++ Redistributable for Visual...
Read more >pyarrow 4.0.1 - PyPI
If you encounter any issues importing the pip wheels on Windows, you may need to install the Visual C++ Redistributable for Visual Studio ......
Read more >pyarrow dependency custom build wheel - c++ - Stack Overflow
I am developing a python package using pybind11 which depends on pyarrow to interop between data types in python and C++.
Read more >Pyarrow - :: Anaconda.org
conda install -c conda-forge pyarrow conda install -c "conda-forge/label/broken" pyarrow conda install -c "conda-forge/label/cf201901" pyarrow
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’ve had a look, and pyarrow was pinned to 0.12.0 in the kedro 0.14.3 release.
Also, this doesn’t happen with a pip install, only pipenv. I’ve had a similar issue with airflow, where essentially an unpinned dependency got updated, and it’s requirements of a common library was pinned to a higher version. So airflow depended on X and Y. X also depended on an unpinned version of Y and suddenly the dependency got all screwed up when X got updated. Pip was not making an error (although it should have), but pipenv was correctly throwing an error.
edit: To clarify, it was essentially this issue : https://github.com/pypa/pipenv/issues/2596
as a workaround, you can pin the pyarrow version to 0.14.0, and it seems to do the trick.
Here is my Pipfile :
What I find strange is that you need to pin the pyarrow version within the packages for it to work.