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.

[KED-2292] Updating pyarrow version constraint

See original GitHub issue

Description

The pyarrow version constraint for ParquetDataSets is now set to =0.12.0, <1.0.0. Pyarrow has since had several major version upgrades (current release is 2.0.0). I am wondering if the version constraint on pyarrow could be relaxed, so we could get more recent versions of pyarrow.

Context

Many other python packages already depend on pyarrow >= 1.0.0, or even >= 2.0.0. An example would be awswrangler. By restricting pyarrow to <1.0.0, this means we either get version conflicts or have to use increasingly outdated packages.

Possible Implementation

I would suggest relaxing the pyarrow version constraint to >=0.12.0, <3.0.0. As per the arrow documentation, files created with any pyarrow version since 0.8.0 should stay readable in versions >= 1.0.0. Files created with pyarrow >= 1.0.0 are, however, not readable for versions < 1.0.0. Version 2.0.0 does not change the data format at all. It does, however, deprecate some functionality in the library (pyarrow.filesystem, pyarrow.serialize, pyarrow.deserialize). I’m not sure if Kedro uses this functionality.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
lorenabalancommented, Feb 1, 2021
1reaction
lorenabalancommented, Nov 19, 2020

Hi @sndrtj thanks a lot for bringing this to our attention! That sounds like a very reasonable request to me. Happy for you to make this contribution if you like, otherwise someone in the team will pick it up. 😊

Read more comments on GitHub >

github_iconTop Results From Across the Web

[KED-2292] Updating pyarrow version constraint #617 - GitHub
The pyarrow version constraint for ParquetDataSets is now set to =0.12.0, <1.0.0 . Pyarrow has since had several major version upgrades (current ...
Read more >
Installing PyArrow — Apache Arrow v10.0.1
PyArrow is currently compatible with Python 3.7, 3.8, 3.9, 3.10 and 3.11. Using Conda¶. Install the latest version of PyArrow from conda-forge using...
Read more >
attempting to upgrade pyarrow results in errors - Stack Overflow
pip3 -V shows "pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)". I'll try to update it and try updating pyarrow again. – raphael75.
Read more >
pyarrow - PyPI
Installing. Across platforms, you can install a recent version of pyarrow with the conda package manager: conda install pyarrow -c conda-forge.
Read more >
How to Check 'pyarrow' Package Version in Python? - Finxter
Semantic versioning consists of three numerical units of versioning information in the format major.minor.patch .
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