My preference would be also to have a consistent naming if possible, so +1 to the period option.

вт, 4 нояб. 2025 г. в 14:07, Herve Beraud <hberaud@redhat.com>:
+1 for the name consistency by using a period.

Le mar. 4 nov. 2025 à 12:24, Stephen Finucane <stephenfin@redhat.com> a écrit :
On Tue, 2025-11-04 at 12:25 +1100, Tony Breeds wrote:
> Hi Stephen,
>
> On Tue, 4 Nov 2025 at 03:40, Stephen Finucane <stephenfin@redhat.com> wrote:
> >
> > o/
> >
> > I'd like to propose the creation of a new "oslo.wsgi" project that
> > service projects should adopt, where it makes sense to. My reasons for
> > this proposal are three-fold:
>
> In general I feel like this makes sense.  At the risk of "bike shedding" can
> we use oslo_wsgi.  Namespaced packages continue to be a problem.   I
> concede that this may only be a problem with older releases,  maybe all
> the tools now correctly and completely canonicalise the package name
> but maybe not?
>
> I understand that this would be a departure from the norm in oslo.  Thoughts?

We haven't used namespaced packages in oslo for a long time now [1]. I
assume you're referring to the use of periods in package names, and the
issues this has caused in the recent past due to changes in our release
tooling [2]. It's a fair point but that only affected pkg_resources,
which has been replaced by packaging and importlib.metadata and isn't
long for the world [3][4], and only on Python <= 3.8 (due to missing
fixes). I think there should be no issues going forward in staying
consistent in our package naming here.

Similarly, there are other changes we could make when bootstrapping a
new project, such as switching to a src layout [5], but I've
intentionally avoided making these on the assumption that such changes
should be done for all (oslo) projects or none. I am going fully typed
and ruff formatted from the get-go though...

Cheers,
Stephen

[1] https://specs.openstack.org/openstack/oslo-specs/specs/kilo/drop-namespace-packages.html
[2] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/P5FVLZX5Z6ZGIWBJ5OMSL35MWJRIBRVW/#MEXONGKG4BTDM7WQGGFTP4MJZOGRT5AX
[3] https://setuptools.pypa.io/en/latest/pkg_resources.html
[4] https://review.opendev.org/q/topic:%22pkg_resources-removal%22
[5] https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/

>
> Yours Tony.



--
Hervé Beraud
Principal Software Engineer at Red Hat
irc: hberaud