Skip to content

Add timeout when installing optional packages (solvers) in conda#3501

Merged
emma58 merged 10 commits intoPyomo:mainfrom
jsiirola:conda-timeout
Mar 3, 2025
Merged

Add timeout when installing optional packages (solvers) in conda#3501
emma58 merged 10 commits intoPyomo:mainfrom
jsiirola:conda-timeout

Conversation

@jsiirola
Copy link
Copy Markdown
Member

@jsiirola jsiirola commented Mar 2, 2025

Fixes # .

Summary/Motivation:

We continue to see intermittent test failures (primarily on win/3.11) where conda hangs indefinitely trying to solve the environment while installing SCIP. As resolving this issue will likely require a SCIP release, this PR updates the process we use to conda install optional packages (solvers) to enforce a 5-minute timeout when installing each package.

Timing out on the install will NOT fail the build.

Changes proposed in this PR:

  • Add a 5-minute timeout when attempting to install optional solvers with conda

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.

@emma58 emma58 merged commit fc7e91a into Pyomo:main Mar 3, 2025
34 checks passed
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