Skip to content

Update deps - #503

Merged
marcomangano merged 5 commits into
mainfrom
cleanup-deps
Nov 18, 2026
Merged

marcomangano merged 5 commits into
mainfrom
cleanup-deps

Conversation

@ewu63

@ewu63 ewu63 commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

Purpose

After removing them from docker, they have to be added here as deps.

Expected time until merged

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (non-backwards-compatible fix or feature)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Documentation update
  • Maintenance update
  • Other (please describe)

Testing

Checklist

  • I have run ruff check and ruff format to make sure the Python code adheres to PEP-8 and is consistently formatted
  • I have formatted the Fortran code with fprettify or C/C++ code with clang-format as applicable
  • I have run unit and regression tests which pass locally with my changes
  • I have added new tests that prove my fix is effective or that my feature works
  • I have added necessary documentation

@ewu63
ewu63 requested review from a team and marcomangano as code owners October 26, 2026 05:02
@ewu63
ewu63 requested review from mpdutta and sabakhshi October 26, 2026 05:02
@codecov

codecov Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.22%. Comparing base (74e9bcf) to head (9bf79a3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #503   +/-   ##
=======================================
  Coverage   54.22%   54.22%           
=======================================
  Files           1        1           
  Lines         225      225           
=======================================
  Hits          122      122           
  Misses        103      103           

☔ View full report in Codecov by Harness.
📢 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.

@ewu63

ewu63 commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author

@A-CGray and @marcomangano we might need to have a quick call on this -- the weekly docker base layer builds have been failing and we need to figure out how to sort out all the deps. This PR probably needs some more work but we will have to force merge this to get docker building again.

@A-CGray

A-CGray commented Nov 17, 2026

Copy link
Copy Markdown
Member

@A-CGray and @marcomangano we might need to have a quick call on this -- the weekly docker base layer builds have been failing and we need to figure out how to sort out all the deps. This PR probably needs some more work but we will have to force merge this to get docker building again.

Happy to have a call. My impression is that the docker builds are failing because they end up installing the latest version of unopy, but we haven't yet merged #501 so the pyoptsparse tests then fail due to the changes in UnoPy's options.

Comment thread .github/environment.yml Outdated
- sqlitedict >=1.6
- cyipopt
- egobox >=0.38.0
- unopy

@A-CGray A-CGray Nov 17, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we enforce >=0.4.17 here or do that as part of #501 ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think tests will fail so I will actually pin <= to pass here

@ewu63
ewu63 force-pushed the cleanup-deps branch 4 times, most recently from 5b48438 to 5e25093 Compare November 17, 2026 22:54

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

So I switched this to use miniforge so that we can install IPOPT in this CI job.

Comment thread .github/environment.yml
- sqlitedict >=1.6
- ipopt
- cyipopt
- egobox >=0.38.0

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Capped the version, will fix in #501

@ewu63
ewu63 requested a review from A-CGray November 17, 2026 23:15
@ewu63

ewu63 commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator Author

@marcomangano @A-CGray I cleaned this up and I think this is ready to merge, after which we can work on #501 and others.

@marcomangano
marcomangano merged commit cc0d41f into main Nov 18, 2026
16 checks passed
@marcomangano
marcomangano deleted the cleanup-deps branch November 18, 2026 17:30
@ewu63 ewu63 mentioned this pull request Nov 18, 2026
2 of 13 tasks
ewu63 added a commit to cvanaret/pyoptsparse that referenced this pull request Nov 19, 2026
* unopy and cyipopt become option deps here

* add ipopt into env

* Use miniforge conda env in Linux/macOS CI with cyipopt from conda-forge

* pin upper bound unopy

* not needed
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.

3 participants