Skip to content

Temporarily lock pyomo to v6.9.5 due to performance regression - #359

Open
idelder wants to merge 1 commit into
TemoaProject:mainfrom
idelder:fix/pyomo_lock
Open

Temporarily lock pyomo to v6.9.5 due to performance regression#359
idelder wants to merge 1 commit into
TemoaProject:mainfrom
idelder:fix/pyomo_lock

Conversation

@idelder

@idelder idelder commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

see Pyomo/pyomo#3971

Recommend that, until this pyomo issue is resolved or someone finds a way around it (e.g., specifying sort params for all components in Temoa), we lock pyomo to version 6.9.5.

Temporary solution to avoid new Temoa users being put off by models that don't solve.

Summary by CodeRabbit

  • Chores
    • Updated the Pyomo package to version 6.9.5 for consistent project environments.
    • Added the required PLY package to installation requirements.
    • Refreshed dependency lock files and package verification hashes.

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: eaa1757a-e132-4ed8-8341-95e92ac3d0b6

📥 Commits

Reviewing files that changed from the base of the PR and between 4a8aa60 and 138ce95.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • pyproject.toml
  • requirements-dev.txt
  • requirements.txt

Walkthrough

Changes

Dependency pinning

Layer / File(s) Summary
Update project dependency contract
pyproject.toml
Changes the main pyomo dependency from a minimum-version constraint to pyomo==6.9.5.
Synchronize exported requirements
requirements.txt, requirements-dev.txt
Pins pyomo to 6.9.5 with updated hashes and adds hashed ply==3.11 entries attributed to pyomo.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: particularlypythonicbs, jdecarolis

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: temporarily pinning Pyomo to 6.9.5 because of a performance regression.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant