newrelic / newrelic-python-agent

New Relic Python Agent
https://docs.newrelic.com/docs/agents/python-agent
Apache License 2.0
176 stars 99 forks source link

Remove Python 2 Support #1195

Closed TimPansino closed 1 month ago

TimPansino commented 1 month ago

Overview

github-actions[bot] commented 1 month ago

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Elapsed time
✅ MARKDOWN markdownlint 1 0 0 0.47s
✅ MARKDOWN markdown-link-check 1 0 1.29s
❌ PYTHON bandit 57 6 10.45s
✅ PYTHON black 166 49 0 12.39s
❌ PYTHON flake8 166 58 5.52s
✅ PYTHON isort 166 86 0 1.01s
❌ PYTHON pylint 166 324 40.42s
✅ YAML prettier 1 0 0 0.46s
✅ YAML v8r 1 0 3.54s
✅ YAML yamllint 1 0 0.51s

See detailed report in MegaLinter reports _Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff_

_MegaLinter is graciously provided by OX Security_

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 78.41727% with 30 lines in your changes missing coverage. Please review.

Project coverage is 81.43%. Comparing base (70e98a5) to head (0f89660).

Files Patch % Lines
newrelic/config.py 38.09% 8 Missing and 5 partials :warning:
newrelic/bootstrap/sitecustomize.py 0.00% 3 Missing :warning:
newrelic/core/profile_sessions.py 50.00% 2 Missing :warning:
newrelic/core/stats_engine.py 85.71% 2 Missing :warning:
newrelic/api/application.py 0.00% 1 Missing :warning:
newrelic/api/log.py 0.00% 0 Missing and 1 partial :warning:
newrelic/api/web_transaction.py 66.66% 0 Missing and 1 partial :warning:
newrelic/common/encoding_utils.py 80.00% 0 Missing and 1 partial :warning:
newrelic/common/object_names.py 85.71% 1 Missing :warning:
newrelic/core/agent.py 66.66% 0 Missing and 1 partial :warning:
... and 4 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop-py27-py37-removal #1195 +/- ## ============================================================= - Coverage 81.65% 81.43% -0.22% ============================================================= Files 197 196 -1 Lines 21773 21490 -283 Branches 3802 3743 -59 ============================================================= - Hits 17778 17500 -278 + Misses 2888 2877 -11 - Partials 1107 1113 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.