* [gentoo-dev] Last rites: dev-python/backports, dev-python/namespace-*
@ 2020-12-03 17:30 Michał Górny
2020-12-04 12:41 ` Michał Górny
0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2020-12-03 17:30 UTC (permalink / raw
To: gentoo-dev-announce; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
# Michał Górny <mgorny@gentoo.org> (2020-12-03)
# Explicit namespace support was necessary for Python 2 only. Empty
# directories work best for Python 3.
# Removal in 14 days.
dev-python/backports
dev-python/namespace-google
dev-python/namespace-jaraco
dev-python/namespace-paste
dev-python/namespace-repoze
dev-python/namespace-sphinxcontrib
dev-python/namespace-zope
--
Best regards,
Michał Górny
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-dev] Last rites: dev-python/backports, dev-python/namespace-*
2020-12-03 17:30 [gentoo-dev] Last rites: dev-python/backports, dev-python/namespace-* Michał Górny
@ 2020-12-04 12:41 ` Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2020-12-04 12:41 UTC (permalink / raw
To: gentoo-dev, gentoo-dev-announce
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
On Thu, 2020-12-03 at 18:30 +0100, Michał Górny wrote:
> # Michał Górny <mgorny@gentoo.org> (2020-12-03)
> # Explicit namespace support was necessary for Python 2 only. Empty
> # directories work best for Python 3.
> # Removal in 14 days.
> dev-python/backports
> dev-python/namespace-google
> dev-python/namespace-jaraco
> dev-python/namespace-paste
> dev-python/namespace-repoze
> dev-python/namespace-sphinxcontrib
> dev-python/namespace-zope
>
I was wrong here, and there are corner cases (particularly related to
running tests) with setuptools-style namespaces that makes this
infeasible. I've unmasked all but backports and jaraco -- these two use
pkgutil-style namespaces and are not affected.
Long story short, if setup.py enables some namespace-related magic
in setuptools, Python can no longer find other packages using implicit
namespace -- only these using explicit pkg_resources namespace.
--
Best regards,
Michał Górny
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-04 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-03 17:30 [gentoo-dev] Last rites: dev-python/backports, dev-python/namespace-* Michał Górny
2020-12-04 12:41 ` Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox