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

deps: forget about python_version specifier for importlib_metadata #2268

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

dgw
Copy link
Member

@dgw dgw commented Mar 13, 2022

Description

My clean install of Python 3.10 on Ubuntu 20.04 (via deadsnakes/ppa) came with an old version of importlib_metadata that tripped up the fallback logic I so carefully included.

Rather than contort the import logic, let's just use the backport until Sopel no longer supports Python versions where stdlib can't replace it entirely.

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

Notes

The test suite passes on my py3.10 env with this patch, except for a few DeprecationWarnings (from third-party code) that I'd like to try to mitigate without adding transitive deps into our requirements again. Did too much of that in 7.x.

1311 passed, 8 xfailed, 4 warnings is still a great sight to see. I'd just rather see 1311 passed, 8 xfailed instead. 😛

My clean install of Python 3.10 on Ubuntu 20.04 (via deadsnakes/ppa)
came with an old version of `importlib_metadata` that tripped up the
fallback logic I so carefully included.

Rather than contort the import logic, let's just use the backport until
Sopel no longer supports Python versions where stdlib can't replace it.
@dgw dgw added the Build label Mar 13, 2022
@dgw dgw added this to the 8.0.0 milestone Mar 13, 2022
@dgw dgw requested a review from a team March 13, 2022 06:01
Copy link
Contributor

@Exirel Exirel left a comment

Choose a reason for hiding this comment

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

I like the "when practical".

@dgw dgw merged commit 8b463a0 into master Mar 17, 2022
@dgw dgw deleted the importlib_metadata-pls branch March 17, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants