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

REGR: Conda build breaks in presence of pyproject.toml on aarch/ppc64le #3919

Closed
Tracked by #12462
h-vetinari opened this issue Mar 29, 2020 · 4 comments
Closed
Tracked by #12462
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity

Comments

@h-vetinari
Copy link
Contributor

There were weird build-errors in conda-forge/cvxpy-feedstock#30 and conda-forge/cvxpy-feedstock#31, where the aarch/ppc64le builds would seemingly try to install (and compile!) numpy/scipy etc.

Turns out that they were listed under pyproject.toml, and now the build tried to install them from scratch. Note that this was swallowed silently before, because the same underlying files went through on conda-forge/cvxpy-feedstock#29.

Now however it actually breaks on aarch/ppc64le, with errors that were fairly hard to figure out. Could it be that conda-build upgraded its internal pip-version or something?

I first tried to comment out the affected requirements in pyproject.toml, but even the presence of an empty file, the build will then try to install setuptools/wheel (see here, also xref #3507). This resulted in the even weirder error that numpy wasn't found despite being listed as a build requirement.

On a side-note, I seem to remember getting errors when setuptools tried to install dependencies. This has also not produced an error in the cvxpy-build for some time at least.

CC @scopatz, since you were caught off guard by it as well.

@h-vetinari h-vetinari changed the title REGR: Conda build breaks in presence of pyproject.toml on aarch/ppc64le, swallows it silently elsewhere REGR: Conda build breaks in presence of pyproject.toml on aarch/ppc64le Mar 30, 2020
@isuruf
Copy link
Contributor

isuruf commented Mar 31, 2020

Might be a duplicate of #2951

@jjhelmus
Copy link
Contributor

jjhelmus commented Apr 8, 2020

Did this end up being cause by a non-activated environment rather than conda-build?

@h-vetinari
Copy link
Contributor Author

@jjhelmus
these jobs failed on azure in the linked PR. Not sure how the mechanism failed exactly, but it was reproducibly only in case that pyproject.toml existed.

@github-actions
Copy link

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Mar 29, 2023
@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Apr 29, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Apr 28, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity
Projects
Archived in project
Development

No branches or pull requests

3 participants