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

Fix formatting and imports for Python 3.9 #4729

Closed
wants to merge 1 commit into from
Closed

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Nov 4, 2024

Summary of changes

Small PR to fix CI tests.

@cdce8p
Copy link
Contributor Author

cdce8p commented Nov 4, 2024

/CC @abravalheri

@abravalheri
Copy link
Contributor

abravalheri commented Nov 4, 2024

Thanks, @cdce8p. This has some overlaps with #4718, but I think that trying to keep all the PRs strictly separated by topic is turning out to be tricky. So we might just merge this one with the fix and regard #4718.

if sys.version_info < (3, 9):
import importlib_resources as resources # pragma: no cover
else:
import importlib.resources as resources # noqa: F401
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that if we don't do this change, we might be able to keep the PRs thematically separated... let me see if we can do that.

@abravalheri
Copy link
Contributor

Thank you, I have manually merged this one with some changes: 7a298d9.

@abravalheri abravalheri closed this Nov 4, 2024
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