Skip to content

CI can't install nightly-numpy on macos #50699

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

Closed
MarcoGorelli opened this issue Jan 12, 2023 · 5 comments
Closed

CI can't install nightly-numpy on macos #50699

MarcoGorelli opened this issue Jan 12, 2023 · 5 comments
Labels
CI Continuous Integration

Comments

@MarcoGorelli
Copy link
Member

Odd error from trying to install the nightly numpy on macos:

Python 3.11.1
Requirement already satisfied: pip in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (22.3.1)
Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (65.5.0)
Collecting setuptools
  Downloading setuptools-65.7.0-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 32.2 MB/s eta 0:00:00
Collecting wheel
  Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
Installing collected packages: wheel, setuptools
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.5.0
    Uninstalling setuptools-65.5.0:
      Successfully uninstalled setuptools-65.5.0
Successfully installed setuptools-65.7.0 wheel-0.38.4
Looking in indexes: https://pypi.anaconda.org/scipy-wheels-nightly/simple
Collecting numpy
  Downloading https://pypi.anaconda.org/scipy-wheels-nightly/simple/numpy/1.25.0.dev0%2B363.gbb2769e12/numpy-1.25.0.dev0%2B363.gbb2769e12.tar.gz (10.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 30.1 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status '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://pypi.anaconda.org/scipy-wheels-nightly/simple
      ERROR: Could not find a version that satisfies the requirement setuptools==59.2.0 (from versions: none)
      ERROR: No matching distribution found for setuptools==59.2.0
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Error: Process completed with exit code 1.
https://github.com/pandas-dev/pandas/actions/runs/3901907570/jobs/6664321626

No idea what a fix could be, on linux (which I use) it works fine. @phofl you use mac, right? Any ideas?

@MarcoGorelli MarcoGorelli added the CI Continuous Integration label Jan 12, 2023
@phofl
Copy link
Member

phofl commented Jan 12, 2023

Can't reproduce,

Successfully installed numpy-1.25.0.dev0+363.gbb2769e12

I've got python 3.11.0 though. my mamba can't find 3.11.1

@lithomas1
Copy link
Member

Two thoughts,

  1. It's trying to install from the sdist, which means it didn't find the nightly wheels.
  2. Seems to be failing since its looking in the scipy-wheels-nightly index for setuptools, since it can't find it.

We should figure out why it's installing from the sdist and not able to find the nightlies. (I can seem macOS py311 wheels on the index)

@lithomas1
Copy link
Member

That being said, though, it is time for the 3.11-dev jobs to be moved to regular jobs, so this might not matter anyways.

@phofl
Copy link
Member

phofl commented Jan 12, 2023

Already opened a PR for this, but it has some failures

@MarcoGorelli
Copy link
Member Author

closing as this doesn't seem actionable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration
Projects
None yet
Development

No branches or pull requests

3 participants