Skip to content

Published sdist (7.18.1) cannot be installed from source — it omits version.py; sdists built from HEAD are fine #660

@sethc555

Description

@sethc555

Installing posthoganalytics from source fails:

$ docker run --rm python:3.12 pip install --no-binary :all: posthoganalytics
...
ModuleNotFoundError: No module named 'version'

The published 7.18.1 sdist does not contain the version.py that setup.py imports — but an sdist built from current HEAD includes it and installs cleanly (verified). So this looks like a release-tooling artifact rather than a code bug: the next release built the normal way should fix it, no code change needed.

Found while build-checking popular PyPI packages for source-install breakage (wheelproof); claims verified twice in clean python:3.12 containers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions