Visitar URL original
Improve handling of unexpected lines of `uv lock` output in Nox session to update requirements by namurphy · Pull Request #2965 · PlasmaPy/PlasmaPy · GitHub
Skip to content

Improve handling of unexpected lines of uv lock output in Nox session to update requirements - #2965

Merged
namurphy merged 3 commits into
PlasmaPy:mainfrom
namurphy:update-requirements-nox-session
Mar 10, 2025
Merged

namurphy merged 3 commits into
PlasmaPy:mainfrom
namurphy:update-requirements-nox-session

Conversation

@namurphy

Copy link
Copy Markdown
Member

This PR is a quick follow-up to #2964, since it failed when I tried to run the requirements workflow.

@github-actions github-actions Bot added testing CI Related to continuous integration python Pull requests that update Python code nox Related to the nox automation software labels Mar 10, 2025
@namurphy namurphy added the no changelog entry needed For PRs that should not have a changelog entry label Mar 10, 2025
Comment thread noxfile.py
Comment on lines +95 to +96
if not package_update.startswith("Updated"):
session.debug(f"Line not added to table: {package_update}")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There might be some standard output from uv lock --upgrade that this function is currently not handling, so it'll be helpful to print it out as a debug statement.

@namurphy
namurphy merged commit e62e787 into PlasmaPy:main Mar 10, 2025
@namurphy
namurphy deleted the update-requirements-nox-session branch March 10, 2025 23:39
@github-actions github-actions Bot removed the no changelog entry needed For PRs that should not have a changelog entry label Mar 10, 2025
@codecov

codecov Bot commented Mar 10, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.61%. Comparing base (8d4365c) to head (cb14501).
Report is 337 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2965   +/-   ##
=======================================
  Coverage   94.61%   94.61%           
=======================================
  Files         107      107           
  Lines        9662     9662           
  Branches     1462     1462           
=======================================
  Hits         9142     9142           
  Misses        327      327           
  Partials      193      193           

☔ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Related to continuous integration nox Related to the nox automation software python Pull requests that update Python code testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant