Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on Mac M1 from source tarball from testpypi #82

Closed
andygrove opened this issue Nov 26, 2022 · 6 comments
Closed

Cannot install on Mac M1 from source tarball from testpypi #82

andygrove opened this issue Nov 26, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@andygrove
Copy link
Member

andygrove commented Nov 26, 2022

Describe the bug
I am trying to install from testpypi on an M1 mac.

pip3 install -i https://test.pypi.org/simple/ datafusion==0.7.0
Looking in indexes: https://test.pypi.org/simple/
Collecting datafusion==0.7.0
  Using cached https://test-files.pythonhosted.org/packages/a4/4f/5c588562ec6ab1651659ff35e34c197a7c1eaa7663360f2ea9d7d777547d/datafusion-0.7.0.tar.gz (150 kB)
  Installing build dependencies ... error
  error: subprocess-exited-with-error
  
  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      Looking in indexes: https://test.pypi.org/simple/
      ERROR: Could not find a version that satisfies the requirement maturin<0.14,>=0.11 (from versions: none)
      ERROR: No matching distribution found for maturin<0.14,>=0.11
      [end of output]

To Reproduce

pip3 install -i https://test.pypi.org/simple/ datafusion==0.7.0

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@andygrove andygrove added the bug Something isn't working label Nov 26, 2022
@andygrove
Copy link
Member Author

@isidentical Any idea why this fails?

@andygrove
Copy link
Member Author

Perhaps it is because there is no recent version of maturin available in testpypi?

@isidentical
Copy link
Contributor

isidentical commented Nov 26, 2022

Can take a look at it in a couple of hours, if no one is found by then 👀 But yes, I think the problem seems to be that pip can't find the build dependencies on testpypi.

@isidentical
Copy link
Contributor

isidentical commented Nov 26, 2022

@andygrove just as a note (I didn't test it yet), but it might be worth to give a shot at --extra-index-url flag which allows to install stuff from both regular PyPI (like maturin) and TestPyPI (datafusion==0.7.0, considering it is not on the real PyPI)

pip install --extra-index-url https://test.pypi.org/simple/  datafusion==0.7.0

@andygrove
Copy link
Member Author

Thanks @isidentical ... that fixed it, and I have included this in the instructions in #83

@isidentical
Copy link
Contributor

Pretty cool to hear, I'll try to verify the last release artifacts and go through the release notes. Thanks so much for pushing this release, I think it is going to be really helpful to have the newest version of datafusion available in Python bindings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants