You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pyarrow 0.9.0 not cross-platform compatible on projects with pinned dependencies #1992
We run a Python project with pinned dependencies for security and production-stability.
We recently added 0.9.0, and found that it broke on macOS development machines (as cython is not a declared dependency), but when upgrading to 0.9.0.post1, we found that our build broke because that is not available for Linux.
We can't use different versions on different OSes, and in fact don't want to specifically because this usually leads to instability of production builds.
For this reason, we are currently unable to use 0.9.0. Our suggested remediation is a 0.9.1 release for macOS and Linux with wheels. Note: we would advise against a 0.9.0.post2 release for this as it goes against our interpretation of PEP440.
Ping on this. The package is currently broken for projects that pin dependencies (which is Python best practice, as well as being very common for repeatable builds and security purposes).
We will fix this on the next release but it is quite a lot of work to make releases for Arrow due to its broad range of packages. If you want this fixed sooner, please help us to streamline the release process.
To help us to get out a new release, it would be helpful when someone could assist in the review of #1869 This PR gives us tooling to avoid such situations in the future again.
Hi, thanks for the update, but I think it would be best to leave the issue open so that the community can see when it is fixed, rather than when it is triaged. We'll be following this to see when we can start using arrow again.
@tekumara You've provided no mention of Linux distribution, python version or other environmental details so I'm not sure how you expect someone to help you.
We use the pip/requirements line I mentioned above on Mac and Linux without issue.
For example this works, so your issue is likely environment specific.
I was hoping your workaround for pip would work for pipenv but it uses 0.9.0.post1 regardless. Some more detail as requested:
# python 3.5.2
docker run -it ubuntu:xenial
apt-get update; apt-get install -y python3-dev python3-pip
cd /tmp
pip3 install pipenv
export LC_ALL=C.UTF-8;export LANG=C.UTF-8
pipenv install -v "pyarrow>=0.9.0,<=0.9.0.post1"
....
ROUND 1
Current constraints:
pyarrow<=0.9.0.post1,>=0.9.0 (from -r /tmp/pipenv-awjcfzsn-requirements/pipenv-m19__3qv-constraints.txt (line 2))
Finding the best candidates:
found candidate pyarrow==0.9.0.post1 (constraint was >=0.9.0,<=0.9.0.post1)
Finding secondary dependencies:
pyarrow==0.9.0.post1 not in cache, need to check index
pyarrow==0.9.0.post1; python_version != "3.2.*" and python_version >= "2.7" and python_version != "3.1.*" and python_version != "3.0.*" and python_version != "3.3.*" requires futures, numpy>=1.10, pyarrow==0.9.0.post1; python_version != "3.2.*" and python_version >= "2.7" and python_version != "3.1.*" and python_version != "3.0.*" and python_version != "3.3.*", six>=1.0.0
New dependencies found in this round:
adding ['futures', '', '[]']
adding ['numpy', '>=1.10', '[]']
adding ['pyarrow', '==0.9.0.post1', '[]']
adding ['six', '>=1.0.0', '[]']
....
Traceback (most recent call last):
File "/root/.local/share/virtualenvs/tmp-XVr6zr33/lib/python3.5/site-packages/pip/_internal/basecommand.py", line 141, in main
status = self.run(options, args)
File "/root/.local/share/virtualenvs/tmp-XVr6zr33/lib/python3.5/site-packages/pip/_internal/commands/install.py", line 299, in run
resolver.resolve(requirement_set)
File "/root/.local/share/virtualenvs/tmp-XVr6zr33/lib/python3.5/site-packages/pip/_internal/resolve.py", line 102, in resolve
self._resolve_one(requirement_set, req)
File "/root/.local/share/virtualenvs/tmp-XVr6zr33/lib/python3.5/site-packages/pip/_internal/resolve.py", line 256, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/root/.local/share/virtualenvs/tmp-XVr6zr33/lib/python3.5/site-packages/pip/_internal/resolve.py", line 209, in _get_abstract_dist_for
self.require_hashes
File "/root/.local/share/virtualenvs/tmp-XVr6zr33/lib/python3.5/site-packages/pip/_internal/operations/prepare.py", line 218, in prepare_linked_requirement
req.populate_link(finder, upgrade_allowed, require_hashes)
File "/root/.local/share/virtualenvs/tmp-XVr6zr33/lib/python3.5/site-packages/pip/_internal/req/req_install.py", line 308, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/root/.local/share/virtualenvs/tmp-XVr6zr33/lib/python3.5/site-packages/pip/_internal/index.py", line 543, in find_requirement
'No matching distribution found for %s' % req
pip._internal.exceptions.DistributionNotFound: No matching distribution found for pyarrow==0.9.0.post1 (from -r /tmp/pipenv-ilifgedr-requirements/pipenv-esjq5xiw-requirement.txt (line 1))
An error occurred while installing pyarrow==0.9.0.post1! Will try again.
"This is a restriction of our resolver at the moment, but we expect each package to at least have an sdist for each version. Please help suggest pyarrow to publish it."
We are working as quickly as we can to get the 0.10.0 release out. This will be resolved when that happens. You can help by getting involved with Arrow development
Activity
danpalmer commentedon May 8, 2018
Ping on this. The package is currently broken for projects that pin dependencies (which is Python best practice, as well as being very common for repeatable builds and security purposes).
xhochy commentedon May 8, 2018
We will fix this on the next release but it is quite a lot of work to make releases for Arrow due to its broad range of packages. If you want this fixed sooner, please help us to streamline the release process.
xhochy commentedon May 8, 2018
To help us to get out a new release, it would be helpful when someone could assist in the review of #1869 This PR gives us tooling to avoid such situations in the future again.
danpalmer commentedon May 8, 2018
Hi, thanks for the update, but I think it would be best to leave the issue open so that the community can see when it is fixed, rather than when it is triaged. We'll be following this to see when we can start using arrow again.
xhochy commentedon May 8, 2018
We only use Github issues for simple communication, for tracking everything is logged in https://issues.apache.org/jira/projects/ARROW
danpalmer commentedon May 8, 2018
@xhochy cool. Could you add a link here to the issue in Jira so that people who want to track it can do there?
xhochy commentedon May 8, 2018
Things to track in JIRA are:
jstray commentedon May 30, 2018
+1 for leaving it open until the next release. The JIRA release link is not publicly viewable.
tekumara commentedon Jul 30, 2018
@peterclearmetal
On Linux errors with
Works on Mac.
wesm commentedon Jul 31, 2018
What is the error?
notpeter commentedon Jul 31, 2018
@tekumara You've provided no mention of Linux distribution, python version or other environmental details so I'm not sure how you expect someone to help you.
We use the pip/requirements line I mentioned above on Mac and Linux without issue.
For example this works, so your issue is likely environment specific.
Similarly Python2/pip2 worked fine.
PS @peterclearmetal is my work GitHub. Sorry for the confusion.
tekumara commentedon Aug 1, 2018
I was hoping your workaround for
pipwould work forpipenvbut it uses0.9.0.post1regardless. Some more detail as requested:This has been discussed over here pypa/pipenv#2490
wesm commentedon Aug 1, 2018
So it sounds like pipenv is just buggy:
pypa/pipenv#2490 (comment)
"This is a restriction of our resolver at the moment, but we expect each package to at least have an sdist for each version. Please help suggest pyarrow to publish it."
We are working as quickly as we can to get the 0.10.0 release out. This will be resolved when that happens. You can help by getting involved with Arrow development