python-poetry / python-poetry/poetry
Support linehaul data in user agent
@Secrus is already working on this.
Since Jun 4, 2026.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
Issue Kind
Brand new capability
Description
Linehaul is a feature by PyPI that allows querying statistics about the used platforms through BigQuery (https://github.com/pypi/linehaul-cloud-function). Clients query the host environment and attach this information as a JSON blob in the User Agent header. https://github.com/pypi/linehaul-cloud-function/blob/main/linehaul/ua/datastructures.py provides an overview over the datastructure.
Impact
This information is extremely valuable to understand usage across platforms, Python versions, CI and what components can or can't assume to present on a target system. Both pip and uv send linehaul data, but it would be valuable to increase the coverage.
Workarounds
The data is biased towards pip and uv
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.