Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix formatting and imports for Python 3.9#4729

Closed
cdce8p wants to merge 1 commit into
pypa:mainfrom
cdce8p:fix-tests
Closed

Fix formatting and imports for Python 3.9#4729
cdce8p wants to merge 1 commit into
pypa:mainfrom
cdce8p:fix-tests

Conversation

@cdce8p

@cdce8p cdce8p commented Nov 4, 2024

Copy link
Copy Markdown
Member

Summary of changes

Small PR to fix CI tests.

@cdce8p

cdce8p commented Nov 4, 2024

Copy link
Copy Markdown
Member Author

/CC @abravalheri

@abravalheri

abravalheri commented Nov 4, 2024

Copy link
Copy Markdown
Contributor

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.

Comment thread setuptools/_importlib.py
if sys.version_info < (3, 9):
import importlib_resources as resources # pragma: no cover
else:
import importlib.resources as resources # noqa: F401

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@abravalheri abravalheri closed this Nov 4, 2024
@cdce8p cdce8p deleted the fix-tests branch March 20, 2025 22:37
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