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

Python 3.12+ compatibility and add code coverage to pytest #5

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

reuterbal
Copy link
Collaborator

I replaced the use of pkg_resources with importlib for compatibility with Python 3.12+. This is backward compatible until 3.8, which we require as a minimum already.

I've also adapted the pytest plan to include code coverage and upload this to codecov. Unfortunately, there was no easy way to hook this into the reusable workflow, but given the very few extra lines needed for equivalent functionality, it seemed easiest to do it this way.

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Copy link
Collaborator

@mlange05 mlange05 left a comment

Choose a reason for hiding this comment

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

Looks good to me. Many thanks for the TLC and additional codecov covergage. GTG form me. :shipit:

Copy link
Collaborator

@johannesbulin johannesbulin left a comment

Choose a reason for hiding this comment

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

I agree, changes look nice. So thanks for adding this!

@johannesbulin johannesbulin merged commit fec7796 into main Dec 11, 2024
17 checks passed
@johannesbulin johannesbulin deleted the nabr-codecov branch December 11, 2024 08:21
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