Skip to content

Fix/Tweak PyROS Documentation and Solver Output Logging#3475

Merged
jsiirola merged 11 commits intoPyomo:mainfrom
shermanjasonaf:fix-docs-and-logging
Feb 15, 2025
Merged

Fix/Tweak PyROS Documentation and Solver Output Logging#3475
jsiirola merged 11 commits intoPyomo:mainfrom
shermanjasonaf:fix-docs-and-logging

Conversation

@shermanjasonaf
Copy link
Copy Markdown
Contributor

Changes proposed in this PR:

  • Tweak PyROS online documentation, including the output logging example
  • Adjust UTC time retrieval in PyROS logging to deprecation of datetime.datetime.utcnow() in Python 3.12
  • Suppress fatal: not a git repository (or any of the parent directories): .git error emitted to console when PyROS attempts to retrieve the git commit hash of a Pyomo installation that is not a git repository
  • Add more information to output logging message emitted upon failure to solve deterministic (i.e., initial master) problem

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 Feb 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.62%. Comparing base (bb5f993) to head (0f955d0).
Report is 799 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3475   +/-   ##
=======================================
  Coverage   88.62%   88.62%           
=======================================
  Files         880      880           
  Lines      100661   100661           
=======================================
+ Hits        89214    89215    +1     
+ Misses      11447    11446    -1     
Flag Coverage Δ
linux 86.20% <100.00%> (+<0.01%) ⬆️
osx 76.20% <100.00%> (+<0.01%) ⬆️
other 86.72% <100.00%> (+<0.01%) ⬆️
win 84.66% <100.00%> (+<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.

@jsiirola jsiirola merged commit cc2185b into Pyomo:main Feb 15, 2025
31 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.

4 participants