Skip to content
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

Update for new pythonjsonlogger #30

Merged
merged 3 commits into from
Dec 17, 2024
Merged

Conversation

crimsonknave
Copy link
Collaborator

python-json-logger has a new major version update and moved one of it's classes that was used. This sets the requirement to the version that changed the path and updates to use the new path.

@Copilot Copilot bot review requested due to automatic review settings December 13, 2024 18:16
@crimsonknave crimsonknave requested a review from a team as a code owner December 13, 2024 18:16

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • requirements/requirements-dev.txt: Language not supported
Comments suppressed due to low confidence (3)

example/logging_config.py:96

  • Ensure that there are tests verifying the new path for the JsonFormatter class to prevent regressions.
"class": "pythonjsonlogger.json.JsonFormatter",

example/logging_config.py:119

  • Ensure that there are tests verifying the new path for the JsonFormatter class to prevent regressions.
"class": "pythonjsonlogger.json.JsonFormatter",

annotated_logger/init.py:112

  • Ensure that the new path for JsonFormatter is covered by tests to verify that the logging configuration works correctly with the updated class path.
"class": "pythonjsonlogger.json.JsonFormatter",  # pragma: no mutate

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

Copy link

github-actions bot commented Dec 13, 2024

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  annotated_logger
  __init__.py
Project Total  

This report was generated by python-coverage-comment-action

sophiagavrila
sophiagavrila previously approved these changes Dec 13, 2024
Copy link

@sophiagavrila sophiagavrila left a comment

Choose a reason for hiding this comment

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

This unblocks a lot downstream issues within our builds. Thank you!

@crimsonknave crimsonknave merged commit 4da2a53 into main Dec 17, 2024
25 checks passed
@crimsonknave crimsonknave deleted the update-python-json-logger branch December 17, 2024 21:14
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.

2 participants