-
Notifications
You must be signed in to change notification settings - Fork 567
[Xpress] Remove deprecation warnings (#1) #3794
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
9ab1283
Remove deprecation warnings (#1)
XPRSc4v4 13ee044
Merge branch 'main' into main
XPRSc4v4 d694eb2
Merge branch 'main' of https://github.com/Pyomo/pyomo
XPRSc4v4 3675141
Merge branch 'main' of https://github.com/XPRSc4v4/pyomo
XPRSc4v4 1e1cd59
Removed very old version handling + added workflow test for 9.3
XPRSc4v4 f78123b
Workflow fix
XPRSc4v4 427f306
Merge branch 'main' into main
blnicho 0236606
Merge branch 'main' into main
blnicho 8878a96
Merge branch 'main' into main
blnicho 1225942
Change GHA logic for testing old Xpress version
blnicho d0d9b41
Add 'intel' channel to conda configuration
blnicho ca192fe
Adjust which GHA jobs test older Xpress version
blnicho b36bace
Merge branch 'main' into main
mrmundt 72a1258
Adjust which GHA jobs test old Xpress version
blnicho 91b8daf
Merge branch 'main' into main
blnicho d9a3300
Merge branch 'main' into main
jsiirola 2121e59
Revert changes to GHA workflow
blnicho 869e669
Merge branch 'main' into main
blnicho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is changing the
xpressversion for every GHA job using conda to install Python packages which is not what I think you intended. During the dev call we talked about installing an older version ofxpresson just one or two jobs to exercise the version-specific logic in the solver interface. I think you can do this by modifying the if-tree above that sets theXPRESSenvironment variable. There is already some special logic there for windows so maybe we use the linux conda job for this. I think you can just modify theelsesection on line 450 to something like:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I should have asked for clarification during the call!
I've applied the changes, targeting Python 3.10 so the latest Xpress release is still tested in the other jobs. Let me know if there are any other issues.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So turns out we can't use the Linux conda job to test an older version of Xpress because we can't get ANY version of Xpress to install in our Linux/conda GHA job. I tried both Python 3.11 and 3.12. They fail saying the environment can't be satisfied because intel-openmp can't be found in our conda channels. I modified the workflow to try using the win/3.10 and win/3.11 jobs instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, Bethany. Let me know if there is anything I could do to help!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our conda environments are fragile on GHA so I switched to using the linux/3.10 and linux/3.11 jobs for this which install Xpress using pip. I'll mark this discussion as resolved once I verify that the right versions of Xpress were installed.