pyomo icon indicating copy to clipboard operation
pyomo copied to clipboard

Update GHA to grab gurobipy from PyPI

Open blnicho opened this issue 9 months ago • 2 comments

Summary/Motivation:

We currently grab gurobipy from pypi.gurobi.com when setting up our pip-based GHA jobs. This recently started causing test failures due to this site not being reachable. The Gurobi Python installation instructions say to grab gurobipy straight from PyPI so this PR updates our workflows to do so.

Changes proposed in this PR:

  • pip install gurobipy directly from PyPI

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

blnicho avatar May 03 '24 22:05 blnicho

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.45%. Comparing base (6393961) to head (6d94224).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3254      +/-   ##
==========================================
- Coverage   88.45%   88.45%   -0.01%     
==========================================
  Files         849      849              
  Lines       95329    95329              
==========================================
- Hits        84327    84319       -8     
- Misses      11002    11010       +8     
Flag Coverage Δ
linux 86.41% <ø> (+<0.01%) :arrow_up:
osx ?
other 86.60% <ø> (-0.01%) :arrow_down:
win 83.90% <ø> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 04 '24 00:05 codecov[bot]

Do we know why we are pinning the Gurobi version to 10.0.3?

jsiirola avatar May 04 '24 03:05 jsiirola

Do we know why we are pinning the Gurobi version to 10.0.3?

Yup - see #3052

mrmundt avatar May 06 '24 13:05 mrmundt