Skip to content

Disallow cplex 22.1.2.1 from conda, too#3910

Merged
jsiirola merged 5 commits intoPyomo:mainfrom
jsiirola:disallow-cplex
Apr 13, 2026
Merged

Disallow cplex 22.1.2.1 from conda, too#3910
jsiirola merged 5 commits intoPyomo:mainfrom
jsiirola:disallow-cplex

Conversation

@jsiirola
Copy link
Copy Markdown
Member

Fixes # .

Summary/Motivation:

We have previously disallowed cplex 22.1.2.1 from pip because of internal CPEX errors when computing an IIS. They recently (4 days ago) released both 22.1.2 and 22.1.2.1 to conda, where they fail, too. This PR extends the exclusion to the conda environments:

  • exclude cplex 22.1.2 and 22.1.2.1 from conda builds for python 3.13 and 3.14
    • note that this is different from pip where we don't exclude 22.1.2, as those releases appear to work.
  • relax the cplex restriction on PIP toonly Python 3.13 and 3.14

Changes proposed in this PR:

  • disallow cplex 22.1.2 and 22.1.2.1 from conda
  • only disallow 22.1.2.1 from PIP for Python 3.13 and 3.14

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.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.93%. Comparing base (e5df38e) to head (93355f1).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3910   +/-   ##
=======================================
  Coverage   89.93%   89.93%           
=======================================
  Files         902      902           
  Lines      106415   106415           
=======================================
+ Hits        95701    95706    +5     
+ Misses      10714    10709    -5     
Flag Coverage Δ
builders 29.18% <ø> (-0.01%) ⬇️
default 86.23% <ø> (?)
expensive 35.63% <ø> (?)
linux 87.38% <ø> (-2.04%) ⬇️
linux_other 87.38% <ø> (ø)
oldsolvers 28.10% <ø> (+<0.01%) ⬆️
osx 82.71% <ø> (ø)
win 85.81% <ø> (+0.01%) ⬆️
win_other 85.81% <ø> (+0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@emma58 emma58 left a comment

Choose a reason for hiding this comment

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

There are two comment typos (to prove I'm not completely asleep...).

jsiirola and others added 2 commits April 12, 2026 22:29
Co-authored-by: Emma Johnson <12833636+emma58@users.noreply.github.com>
Co-authored-by: Emma Johnson <12833636+emma58@users.noreply.github.com>
@jsiirola jsiirola merged commit aac00c2 into Pyomo:main Apr 13, 2026
63 of 65 checks passed
@jsiirola jsiirola deleted the disallow-cplex branch April 13, 2026 06:45
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.

2 participants