# Standards

**URL:** https://discuss.python.org/c/packaging/std/35.md

[Latest](https://discuss.python.org/latest.md) · [Categories](https://discuss.python.org/categories.md) · [Tags](https://discuss.python.org/tags.md)

---

## [About the Standards category](https://discuss.python.org/t/about-the-standards-category/42394)

<div class="topic-metadata">

**Author:** [@ambv](https://discuss.python.org/u/ambv)\
**Replies:** 0

</div>

Standards discussions, ala PEPs as well as some proposals/grand ideas for changes to how things are done.

---

## [PEP 780: ABI features as environment markers](https://discuss.python.org/t/pep-780-abi-features-as-environment-markers/86013)

<div class="topic-metadata">

**Author:** [@zklaus](https://discuss.python.org/u/zklaus)\
**Replies:** 56\
**Last updated:** [November 17, 2026, 8:37pm UTC](https://discuss.python.org/t/pep-780-abi-features-as-environment-markers/86013 "2026-11-17T20:37:43Z")

</div>

Hi! We are excited to present PEP 780—ABI features as environment markers. We believe there is a need to make ABI features like free-threading available as environment markers for dependency specification and beyond tha…

---

## [PEP 847: Problem Details for the Simple Repository API](https://discuss.python.org/t/pep-847-problem-details-for-the-simple-repository-api/108996)

<div class="topic-metadata">

**Author:** [@woodruffw](https://discuss.python.org/u/woodruffw)\
**Replies:** 24\
**Last updated:** [November 9, 2026, 11:39pm UTC](https://discuss.python.org/t/pep-847-problem-details-for-the-simple-repository-api/108996 "2026-11-09T23:39:59Z")

</div>

Pre-PEP thread: Pre-PEP Discussion: RFC 9457 Error Responses for Package registries Current PEP text: PEP 847 – Problem Details for the Simple Repository API | peps.python.org Summary of rationale and motivation Right …

---

## [PEP 771: Default Extras for Python Software Packages (Round 3)](https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages-round-3/109501)

<div class="topic-metadata">

**Author:** [@trobitaille](https://discuss.python.org/u/trobitaille)\
**Replies:** 23\
**Last updated:** [November 6, 2026, 10:44pm UTC](https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages-round-3/109501 "2026-11-06T22:44:27Z")

</div>

We are happy to share an updated version of PEP 771! There was a lot of good feedback and many valid points raised in the previous round of discussion, and we have updated the PEP to reflect as much of the discussion …

---

## [PEP 725: Specifying external dependencies in pyproject.toml (round 2)](https://discuss.python.org/t/pep-725-specifying-external-dependencies-in-pyproject-toml-round-2/103890)

<div class="topic-metadata">

**Author:** [@rgommers](https://discuss.python.org/u/rgommers)\
**Replies:** 101\
**Last updated:** [October 22, 2026, 6:10am UTC](https://discuss.python.org/t/pep-725-specifying-external-dependencies-in-pyproject-toml-round-2/103890 "2026-10-22T06:10:36Z")

</div>

Hi all, I’m happy to share, also on behalf of my co-authors @pradyunsg and @jaimergp, an update of PEP 725 - Specifying external dependencies in pyproject.toml (see also the round 1 discussion). Please use this new thre…

---

## [PEP 817: Wheel Variants: Beyond Platform Tags (Overview PEP)](https://discuss.python.org/t/pep-817-wheel-variants-beyond-platform-tags-overview-pep/109567)

<div class="topic-metadata">

**Author:** [@konstin](https://discuss.python.org/u/konstin)\
**Replies:** 1\
**Last updated:** [October 20, 2026, 3:12pm UTC](https://discuss.python.org/t/pep-817-wheel-variants-beyond-platform-tags-overview-pep/109567 "2026-10-20T15:12:47Z")

</div>

After initially proposing all of wheel variants in one PEP, we’ve split it up into a series of PEPs. We rewrote PEP 817 into an informational overview PEP, to discuss the broader story of wheel variants, while discussing…

---

## [PEP 850: Wheel Variants: Providers](https://discuss.python.org/t/pep-850-wheel-variants-providers/109568)

<div class="topic-metadata">

**Author:** [@konstin](https://discuss.python.org/u/konstin)\
**Replies:** 0\
**Last updated:** [October 20, 2026, 12:58pm UTC](https://discuss.python.org/t/pep-850-wheel-variants-providers/109568 "2026-10-20T12:58:12Z")

</div>

We’d like to share the next step of wheel variants: Variant Providers. In short, PEP 850: Wheel Variants: Providers defines how to query the system for compatible variant properties: This PEP extends PEP 825 by definin…

---

## [PEP 808: Partially dynamic project metadata](https://discuss.python.org/t/pep-808-partially-dynamic-project-metadata/104883)

<div class="topic-metadata">

**Author:** [@henryiii](https://discuss.python.org/u/henryiii)\
**Replies:** 41\
**Last updated:** [October 20, 2026, 12:12am UTC](https://discuss.python.org/t/pep-808-partially-dynamic-project-metadata/104883 "2026-10-20T00:12:20Z")

</div>

Hello everyone! On behalf of my co-author, @Lecris and sponsor @FFY00, I’d like to announce PEP 808: Partially dynamic project metadata. You can see a rendered version here. This PEP proposes allowing list and table de…

---

## [PEP 771: Default Extras for Python Software Packages (Round 2)](https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages-round-2/94905)

<div class="topic-metadata">

**Author:** [@trobitaille](https://discuss.python.org/u/trobitaille)\
**Replies:** 168\
**Last updated:** [October 15, 2026, 10:41am UTC](https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages-round-2/94905 "2026-10-15T10:41:17Z")

</div>

Following the discussion on the first published version of PEP 771 in February, we are happy to share with you the updated version of PEP 771: Default Extras for Python Software Packages: Let’s discuss this updated ve…

---

## [PEP 755: Implicit namespace policy for PyPI](https://discuss.python.org/t/pep-755-implicit-namespace-policy-for-pypi/63191)

<div class="topic-metadata">

**Author:** [@ofek](https://discuss.python.org/u/ofek)\
**Replies:** 78\
**Last updated:** [October 3, 2026, 12:18am UTC](https://discuss.python.org/t/pep-755-implicit-namespace-policy-for-pypi/63191 "2026-10-03T00:18:05Z")

</div>

Follow-up from the previous thread: PEP 752: Package repository namespaces This is now only related to policy and operational choices for PyPI.

---

## [Local tool namespace in pyproject.toml?](https://discuss.python.org/t/local-tool-namespace-in-pyproject-toml/109154)

<div class="topic-metadata">

**Author:** [@barry](https://discuss.python.org/u/barry)\
**Replies:** 6\
**Last updated:** [September 22, 2026, 2:53am UTC](https://discuss.python.org/t/local-tool-namespace-in-pyproject-toml/109154 "2026-09-22T02:53:50Z")

</div>

PEP 518 defines the tool table and recommends as a namespace under tool: We need some mechanism to allocate names within the tool.\* namespace, to make sure that different projects don’t attempt to use the same sub-tabl…

---

## [PEP 804: An external dependency registry and name mapping mechanism](https://discuss.python.org/t/pep-804-an-external-dependency-registry-and-name-mapping-mechanism/103891)

<div class="topic-metadata">

**Author:** [@jaimergp](https://discuss.python.org/u/jaimergp)\
**Replies:** 58\
**Last updated:** [September 18, 2026, 3:55pm UTC](https://discuss.python.org/t/pep-804-an-external-dependency-registry-and-name-mapping-mechanism/103891 "2026-09-18T15:55:34Z")

</div>

Hello everyone! On behalf of my co-authors @pradyunsg, @rgommers, @mgorny and @msarahan, I’d like to share our work on this new PEP 804 “An external dependency registry and name mapping mechanism”. This PEP is meant to…

---

## [PEP 825: Wheel Variants, Package Format (split from PEP 817)](https://discuss.python.org/t/pep-825-wheel-variants-package-format-split-from-pep-817/106196)

<div class="topic-metadata">

**Author:** [@mgorny](https://discuss.python.org/u/mgorny)\
**Replies:** 235\
**Last updated:** [September 7, 2026, 4:21pm UTC](https://discuss.python.org/t/pep-825-wheel-variants-package-format-split-from-pep-817/106196 "2026-09-07T16:21:41Z")

</div>

Following the suggestions given in the previous PEP 817 thread, we have decided to split PEP 817 into a series of smaller PEPs, with the hope that this will make it easier to comprehend the concept and discuss it. We hav…

---

## [Requirements on toml and other standardized file format use in packaging standards](https://discuss.python.org/t/requirements-on-toml-and-other-standardized-file-format-use-in-packaging-standards/108735)

<div class="topic-metadata">

**Author:** [@Liz](https://discuss.python.org/u/Liz)\
**Replies:** 30\
**Last updated:** [September 2, 2026, 1:34pm UTC](https://discuss.python.org/t/requirements-on-toml-and-other-standardized-file-format-use-in-packaging-standards/108735 "2026-09-02T13:34:32Z")

</div>

I’d like to propose a very simple rule for all packaging standards use. Packaging use of standardized file formats must only rely on the guaranteed parts of the standard. That’s it, nothing more to it. The goal here is…

---

## [Pre-PEP Discussion: RFC 9457 Error Responses for Package registries](https://discuss.python.org/t/pre-pep-discussion-rfc-9457-error-responses-for-package-registries/105453)

<div class="topic-metadata">

**Author:** [@lgonzalez](https://discuss.python.org/u/lgonzalez)\
**Replies:** 28\
**Last updated:** [August 9, 2026, 12:20pm UTC](https://discuss.python.org/t/pre-pep-discussion-rfc-9457-error-responses-for-package-registries/105453 "2026-08-09T12:20:29Z")

</div>

Abstract This proposal recommends that Python package registries adopt RFC 9457 (Problem Details for HTTP APIs) as a standard format for error responses in PEP 503 (Simple Repository API) and PEP 691 (JSON-based Simple A…

---

## [Pre-PEP: Standardizing test dependency and command specification](https://discuss.python.org/t/pre-pep-standardizing-test-dependency-and-command-specification/71896)

<div class="topic-metadata">

**Author:** [@hroncok](https://discuss.python.org/u/hroncok)\
**Replies:** 65\
**Last updated:** [August 7, 2026, 7:34pm UTC](https://discuss.python.org/t/pre-pep-standardizing-test-dependency-and-command-specification/71896 "2026-08-07T19:34:33Z")

</div>

Pre-PEP: Standardizing test dependency and command specification Hello Pythonistas. I’d like to start a discussion on an idea that has been brewing in my brain for a while now. Let’s call it a pre-PEP, but nothing here i…

---

## [PEP 833: Freezing the HTML simple repository API](https://discuss.python.org/t/pep-833-freezing-the-html-simple-repository-api/107051)

<div class="topic-metadata">

**Author:** [@woodruffw](https://discuss.python.org/u/woodruffw)\
**Replies:** 35\
**Last updated:** [August 7, 2026, 4:42pm UTC](https://discuss.python.org/t/pep-833-freezing-the-html-simple-repository-api/107051 "2026-08-07T16:42:02Z")

</div>

Pre-PEP thread: Pre-PEP: What would it look like to deprecate PEP 503? PEP draft: PEP 833 – Freezing the HTML simple repository API | peps.python.org Summary of rationale and motivation The use of an HTML representatio…

---

## [Pre-Pep: Staged Releases separated from PEP-694](https://discuss.python.org/t/pre-pep-staged-releases-separated-from-pep-694/107804)

<div class="topic-metadata">

**Author:** [@cjames23](https://discuss.python.org/u/cjames23)\
**Replies:** 60\
**Last updated:** [August 4, 2026, 1:33am UTC](https://discuss.python.org/t/pre-pep-staged-releases-separated-from-pep-694/107804 "2026-08-04T01:33:18Z")

</div>

Some thoughts after chewing on PEP 694 for a while. 694 lists “staging” as one of its benefits — upload something, preview it, publish it when you’re ready. I think the staging idea is strong enough to stand on its own, …

---

## [PEP 694 - PyPI upload API 2.0 (Round 4)](https://discuss.python.org/t/pep-694-pypi-upload-api-2-0-round-4/108320)

<div class="topic-metadata">

**Author:** [@barry](https://discuss.python.org/u/barry)\
**Replies:** 2\
**Last updated:** [July 31, 2026, 7:59am UTC](https://discuss.python.org/t/pep-694-pypi-upload-api-2-0-round-4/108320 "2026-07-31T07:59:24Z")

</div>

Time for another round of PEP 694 updates. This version just closes some gaps that were less than clear in specification. The Change History section has all the details. Summary below. The previous Round 3 thread sho…

---

## [\[split out\] Deprecating arbitrary equality](https://discuss.python.org/t/split-out-deprecating-arbitrary-equality/104935)

<div class="topic-metadata">

**Author:** [@dimbleby](https://discuss.python.org/u/dimbleby)\
**Replies:** 15\
**Last updated:** [July 30, 2026, 12:40pm UTC](https://discuss.python.org/t/split-out-deprecating-arbitrary-equality/104935 "2026-07-30T12:40:19Z")

</div>

Are there any existing tools that support arbitrary equality as the spec describes it? Trying the spec example of ===foobar, all of pip and uv and poetry fail, with an error message indicating that this is an invalid ve…

---

## [PEP 694 -- PyPI upload API 2.0 (Round 3)](https://discuss.python.org/t/pep-694-pypi-upload-api-2-0-round-3/107923)

<div class="topic-metadata">

**Author:** [@barry](https://discuss.python.org/u/barry)\
**Replies:** 10\
**Last updated:** [July 29, 2026, 11:59pm UTC](https://discuss.python.org/t/pep-694-pypi-upload-api-2-0-round-3/107923 "2026-07-29T23:59:45Z")

</div>

Since before PyConUS, I’ve been making substantive improvements to PEP 694, mostly in response to @dustin detailed and appreciated feedback, as he is the PEP Delegate. Please follow up here rather than in the Round 2 t…

---

## [\`cache-dir / config-dir\` in \`pyproject.toml\` so tools stop littering the project root](https://discuss.python.org/t/cache-dir-config-dir-in-pyproject-toml-so-tools-stop-littering-the-project-root/108277)

<div class="topic-metadata">

**Author:** [@rsb-23](https://discuss.python.org/u/rsb-23)\
**Replies:** 6\
**Last updated:** [July 28, 2026, 1:21pm UTC](https://discuss.python.org/t/cache-dir-config-dir-in-pyproject-toml-so-tools-stop-littering-the-project-root/108277 "2026-07-28T13:21:09Z")

</div>

Problem Every dev tool invents its own cache/state directory and drops it straight in the project root: .pytest\_cache/, .mypy\_cache/, .ruff\_cache/, .tox/, .hypothesis/, htmlcov/, .coverage. Each one needs its own .gitign…

---

## [Clarify the usages of relative paths beyond project directory in package metadata](https://discuss.python.org/t/clarify-the-usages-of-relative-paths-beyond-project-directory-in-package-metadata/108259)

<div class="topic-metadata">

**Author:** [@frostming](https://discuss.python.org/u/frostming)\
**Replies:** 4\
**Last updated:** [July 25, 2026, 5:16am UTC](https://discuss.python.org/t/clarify-the-usages-of-relative-paths-beyond-project-directory-in-package-metadata/108259 "2026-07-25T05:16:25Z")

</div>

Quoting from the latest spec: If it is a string then it is a path relative to pyproject.toml to a text file containing the full description. It says nothing about whether the paths must be inside the project director…

---

## [PEP 752: Implicit namespaces for package repositories](https://discuss.python.org/t/pep-752-implicit-namespaces-for-package-repositories/63192)

<div class="topic-metadata">

**Author:** [@ofek](https://discuss.python.org/u/ofek)\
**Replies:** 98\
**Last updated:** [July 23, 2026, 4:09pm UTC](https://discuss.python.org/t/pep-752-implicit-namespaces-for-package-repositories/63192 "2026-07-23T16:09:43Z")

</div>

Follow-up from the previous thread: PEP 752: Package repository namespaces This is now only the concrete specification and everything related to policy or operational choices for PyPI is in this thread: PEP 755: Impli…

---

## [Implementation of swapped marker order](https://discuss.python.org/t/implementation-of-swapped-marker-order/107060)

<div class="topic-metadata">

**Author:** [@henryiii](https://discuss.python.org/u/henryiii)\
**Replies:** 28\
**Last updated:** [July 22, 2026, 3:04pm UTC](https://discuss.python.org/t/implementation-of-swapped-marker-order/107060 "2026-07-22T15:04:46Z")

</div>

PEP 508 (11 years ago) permits marker expressions with the variable on either side: python\_version \>= '3.9' # variable on LHS — worked before '3.9' \<= python\_version # variable on RHS — broken before this fix '3…

---

## [PEP 819: JSON Package Metadata](https://discuss.python.org/t/pep-819-json-package-metadata/105558)

<div class="topic-metadata">

**Author:** [@emmatyping](https://discuss.python.org/u/emmatyping)\
**Replies:** 41\
**Last updated:** [July 20, 2026, 10:29pm UTC](https://discuss.python.org/t/pep-819-json-package-metadata/105558 "2026-07-20T22:29:29Z")

</div>

I’m happy to announce PEP 819: JSON Package Metadata. I was motivated to work on this PEP based on issues experienced both in working on tooling around Python packages at work and discussions about pain points with other…

---

## [PEP 694 -- PyPI upload API 2.0 (Round 2)](https://discuss.python.org/t/pep-694-pypi-upload-api-2-0-round-2/101483)

<div class="topic-metadata">

**Author:** [@barry](https://discuss.python.org/u/barry)\
**Replies:** 35\
**Last updated:** [June 27, 2026, 1:21am UTC](https://discuss.python.org/t/pep-694-pypi-upload-api-2-0-round-2/101483 "2026-06-27T01:21:31Z")

</div>

I’m very happy to share round 2 of PEP 694 – PyPI upload API 2.0. This latest round incorporates all the changes discussed in the first round of DPO discussion, plus changes from @EWDurbin based on our discussion at PyC…

---

## [Pre PEP discussion: Workspace standardization in pyproject.toml](https://discuss.python.org/t/pre-pep-discussion-workspace-standardization-in-pyproject-toml/106690)

<div class="topic-metadata">

**Author:** [@cjames23](https://discuss.python.org/u/cjames23)\
**Replies:** 9\
**Last updated:** [May 25, 2026, 7:31pm UTC](https://discuss.python.org/t/pre-pep-discussion-workspace-standardization-in-pyproject-toml/106690 "2026-05-25T19:31:50Z")

</div>

Now that there are multiple tools that have implemented the concept of workspace dependencies heavily inspired by the same concept in Cargo. I think it is time for some discussion around what standardization would look l…

---

## [Path separator inside \`RECORD\` files in wheels](https://discuss.python.org/t/path-separator-inside-record-files-in-wheels/106019)

<div class="topic-metadata">

**Author:** [@jwodder](https://discuss.python.org/u/jwodder)\
**Replies:** 5\
**Last updated:** [May 15, 2026, 9:59pm UTC](https://discuss.python.org/t/path-separator-inside-record-files-in-wheels/106019 "2026-05-15T21:59:21Z")

</div>

What characters are allowed as path separators in the “path” fields of entries in \*.dist-info/RECORD files inside wheels? Just /, or both / and \\? Both PEP 427 and the “Binary distribution format” spec on packaging.pyt…

---

## [Proposal: Withdraw/reject PEP 708 (Extending the Repository API to Mitigate Dependency Confusion Attacks) due to lack of adoption](https://discuss.python.org/t/proposal-withdraw-reject-pep-708-extending-the-repository-api-to-mitigate-dependency-confusion-attacks-due-to-lack-of-adoption/106800)

<div class="topic-metadata">

**Author:** [@pf\_moore](https://discuss.python.org/u/pf_moore)\
**Replies:** 13\
**Last updated:** [April 16, 2026, 8:50pm UTC](https://discuss.python.org/t/proposal-withdraw-reject-pep-708-extending-the-repository-api-to-mitigate-dependency-confusion-attacks-due-to-lack-of-adoption/106800 "2026-04-16T20:50:37Z")

</div>

Continuing the discussion from PEP 708 - Extending the Repository API to Mitigate Dependency Confusion Attacks: It has now been nearly 3 years since PEP 708 was provisionally accepted, and we still have no implementati…

[Next page](https://discuss.python.org/c/packaging/std/35.md?page=1)
