Skip to content

Support linehaul data in user agent #10631

@konstin

Description

@konstin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementationsstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions