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

BUG: ci/circleci: build_scipy broken #18654

Closed
alugowski opened this issue Jun 10, 2023 · 2 comments · Fixed by #18657
Closed

BUG: ci/circleci: build_scipy broken #18654

alugowski opened this issue Jun 10, 2023 · 2 comments · Fixed by #18657
Labels
CI Items related to the CI tools such as CircleCI, GitHub Actions or Azure defect A clear bug or issue that prevents SciPy from being installed or used as expected Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
Milestone

Comments

@alugowski
Copy link
Contributor

Describe your issue.

ci/circleci: build_scipy CI appears to be broken for all PRs in the last few days. They all fail with this error:
image

Reproducing Code Example

Any recent PR

Error message

#!/bin/bash -eo pipefail
pip install --install-option="--no-cython-compile" cython
pip install numpy==1.23.5
pip install -r doc_requirements.txt
# `asv` pin because of slowdowns reported in gh-15568
pip install mpmath gmpy2 "asv==0.4.2" pythran ninja meson click rich-click doit pydevtool pooch
pip install pybind11
# extra benchmark deps
pip install pyfftw cffi pytest


Usage:   
  pip install [options] <requirement specifier> [package-index-options] ...
  pip install [options] -r <requirements file> [package-index-options] ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: --install-option

Exited with code exit status 2

CircleCI received exit code 2

SciPy/NumPy/Python version and system information

1.12.0.dev0+0.c4bfa2e 1.24.3 sys.version_info(major=3, minor=10, micro=11, releaselevel='final', serial=0)
@alugowski alugowski added the defect A clear bug or issue that prevents SciPy from being installed or used as expected label Jun 10, 2023
@tupui
Copy link
Member

tupui commented Jun 10, 2023

Indeed than you @alugowski, want to make a PR to fix it?

Relevant issue on PyPi pypa/pip#11358

alugowski added a commit to alugowski/scipy that referenced this issue Jun 11, 2023
Pip's `--install-option` switch is deprecated.
Cython docs say the purpose of `--no-cython-compile` is for platforms
that do not have wheels on PyPI, but they do have wheels for common
Linux platforms that should cover this CI job.

See https://cython.readthedocs.io/en/latest/src/quickstart/install.html

Fixes scipy#18654
@alugowski
Copy link
Contributor Author

Indeed than you @alugowski, want to make a PR to fix it?

Relevant issue on PyPi pypa/pip#11358

Sure :)

@tupui tupui added Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org CI Items related to the CI tools such as CircleCI, GitHub Actions or Azure labels Jun 11, 2023
@tylerjereddy tylerjereddy added this to the 1.11.0 milestone Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Items related to the CI tools such as CircleCI, GitHub Actions or Azure defect A clear bug or issue that prevents SciPy from being installed or used as expected Documentation Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@alugowski @tylerjereddy @tupui and others