pypa / pypa/hatch

Submitting a PEP for the `{root:uri}`

Open
#1,925 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.2k
Forks
462
Avg merge
19h 36m
Merged PRs (30d)
10

Description

Would you consider formalizing the {root:uri} format as a PEP. I have found two use-cases where this would need a format PEP:

  • build-system.requires for inter-dependent projects such as with hatchling and hatch. While this would not be able to be submitted to PyPI, it would still be useful for projects that are primarily distributed as git repos. We've added a similar parser for scikit-build-core because it can be very useful for compiled backends.
  • dependency-groups for meta-projects. I have noticed that some usecases of the {roo:uri} is in meta-projects ^1 to guarantee that a synchronized version of dependencies is installed. But this can leave artifacts of the meta-project's dist-info, so dependency-groups should be a good alternative for it.

The issue in these cases though is that these are handled by the installers pip, uv etc. where hatchling logic cannot be injected, thus the proposal for formalizing this as a PEP.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file or test is named. Start by reviewing the {root:uri} use cases in build-system.requires and dependency-groups, then compare how pip and uv handle them with the parser in scikit-build-core. Done means producing a settled proposal for a formal PEP.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.