Skip to content

use pep-420 implicit namespace package#66

Merged
Rogdham merged 1 commit intoRogdham:masterfrom
bollwyvl:patch-1
Dec 29, 2025
Merged

use pep-420 implicit namespace package#66
Rogdham merged 1 commit intoRogdham:masterfrom
bollwyvl:patch-1

Conversation

@bollwyvl
Copy link
Contributor

This removes the intermediate backports/__init__.py which would conflict with other pre-PEP-420 backports.* packages.

References:

@Rogdham
Copy link
Owner

Rogdham commented Dec 19, 2025

Thank you for the PR! I will need some time to properly test this. With the holiday season coming up, I will try to do that and ship a new release by the end of the year.

@bollwyvl
Copy link
Contributor Author

No hurry! Have a lovely holiday.

I think with a MSPV of 3.9 in this repo, we're well and out of any danger, as PEP-420 was adopted in CPython 3.3.

@Rogdham
Copy link
Owner

Rogdham commented Dec 29, 2025

I have tested this with various combinations of installing other packages such as backports.tarfile, backports.functools_lru_cache, backports.httpmethod, backports.strenum.

Everything seems to still work 🎉

Thank you for the PR!

@Rogdham Rogdham merged commit 1862c94 into Rogdham:master Dec 29, 2025
27 checks passed
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