Skip to content

Commit 53d1ab3

Browse files
committed
Updates to PEP-0752 including co-authoring of the PEP
The PEP-0752 is important for community driven projects - such as Apache Airflow, not only because of security risks but also because of concerns with public discussions about new names of distributions following agreed and implemented pattern. As agreed with Ofek, I am happy to become co-author of the PEP and added more motivation explaining this case.
1 parent b93c20f commit 53d1ab3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

peps/pep-0752.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
PEP: 752
22
Title: Implicit namespaces for package repositories
3-
Author: Ofek Lev <ofekmeister@gmail.com>
3+
Author: Ofek Lev <ofekmeister@gmail.com>,
4+
Jarek Potiuk <potiuk@apache.org>
45
Sponsor: Barry Warsaw <barry@python.org>
56
PEP-Delegate: Dustin Ingram <di@python.org>
67
Discussions-To: https://discuss.python.org/t/63192
@@ -39,6 +40,9 @@ namespace. A few examples:
3940
are prefixed by ``opentelemetry-`` with child prefixes in the form
4041
``opentelemetry-<component>-<name>-``. The contrib packages live in a
4142
central repository and they are the only ones with the ability to publish.
43+
* `Apache Airflow <https://airflow.apache.org>`__ is a platform to programmatically
44+
author, schedule and monitor workflows. It has a `providers`__ where each
45+
provider package is prefixed by ``apache-airflow-providers-``.
4246

4347
__ https://github.com/open-telemetry/opentelemetry-python
4448
__ https://github.com/open-telemetry/opentelemetry-python-contrib
@@ -93,6 +97,16 @@ similar characters but that is insufficient for these use cases.
9397

9498
__ https://github.com/pypi/warehouse/blob/8615326918a180eb2652753743eac8e74f96a90b/warehouse/migrations/versions/d18d443f89f0_ultranormalize_name_function.py#L29-L42
9599

100+
Another problem that namespacing would solve is the issue of choosing new names
101+
for packages following the agreed patterns of naming. Often (this is the case
102+
for ``Apache Airflow`` for example), there are public discussions that precede
103+
the decision to create a new package. The decision is based on the agreed
104+
name and follow the pattern of the existing packages. If more package names are
105+
considered during the discussion, all the names have to be reserved via ``PyPI``
106+
interface before the discussion is public, otherwise the names can be taken by
107+
other users. This is a problem that actually happened in the past as explained
108+
in the associated discussion.
109+
96110
Rationale
97111
=========
98112

0 commit comments

Comments
 (0)