python-poetry / python-poetry/poetry

Support linehaul data in user agent

Open
#10,631 0 comments 0 reactions 1 assignee View on GitHub

@Secrus is already working on this.

Since Jun 4, 2026.

kind/feature status/accepted
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

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.