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

[CI] Replace manylinux_2_24 image #1792

Merged
merged 4 commits into from
Jun 13, 2022

Conversation

phschiele
Copy link
Collaborator

@phschiele phschiele commented Jun 7, 2022

Description

Originally, we chose manylinux_2_24 due to compatibility issues with manylinux2014 (see comment here).
With the image potentially reaching EOL soon (pypa/manylinux#1332), this PR removes the hardcoding of the manylinux_2_24 image, which currently results in manylinux2014 being chosen. I've upgraded the version of cibuildwheel, but I'm not sure if this solved the original problem, or just that potentially problematic dependencies have been upgraded in the meantime.
See the outputs of this run to verify.

I've tested that the produced wheels can be installed on my local ubuntu 20.04 machine.

Note: From the repos where we have deployed a similar setup, only ecos-python still has manylinux_2_24 fixed. I.e., scs-python and diffcp are fine.

One side effect might be that rerunning the CI to upload the M1 wheels as discussed with @rileyjmurray would also upload the manylinux2014 wheels alongside the existing manylinux_2_24 wheels if this PR here is merged first. That should hopefully not cause issues, but we can just merge and deploy the M1 wheels before this one if we want to prevent it.

Type of change

  • New feature (backwards compatible)
  • New feature (breaking API changes)
  • Bug fix
  • Other (Documentation, CI, ...)

Contribution checklist

  • Add our license to new files.
  • Check that your code adheres to our coding style.
  • Write unittests.
  • Run the unittests and check that they’re passing.
  • Run the benchmarks to make sure your change doesn’t introduce a regression.

.github/workflows/build.yml Outdated Show resolved Hide resolved
Undo white space change
@@ -63,7 +63,6 @@ jobs:
- name: Set Additional Envs
run: |
echo "PYTHON_SUBVERSION=$(echo $PYTHON_VERSION | cut -c 3-)" >> $GITHUB_ENV
echo "DEPLOY=$( [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_REF == 'refs/tags'* ]] && echo 'True' || echo 'False' )" >> $GITHUB_ENV
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is unrelated, the DEPLOY environment variable was unused in this job.

@SteveDiamond
Copy link
Collaborator

Thanks @phschiele! Let's upload the M1 wheels first.

@SteveDiamond SteveDiamond merged commit c05c8df into cvxpy:master Jun 13, 2022
SteveDiamond added a commit that referenced this pull request Jun 29, 2022
* origin/master:
  Add autoflake pre-commit; remove unused variable; remove unused pass (#1756)
  [New atom] dotsort (#1803)
  Change exception type when unsupported SCIP 4.x is installed (#1807)
  Atom for the Von Neumann Entropy (#1789)
  Exclude examples from deployment (#1804)
  make upload jobs pass (#1802)
  [CI] Replace manylinux_2_24 image (#1792)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants