Published sdist (12.0.0) cannot be installed from source — it omits the VERSION file; sdists built from HEAD are fine

Open Beginner friendly
#497 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python

Research direction

Compare the published 12.0.0 sdist with an sdist built from HEAD, then inspect setup.py and the VERSION file it reads. Use the normal release process to produce a distribution that includes VERSION, and verify installation with the shown Python 3.12 pip command.

Written by the indexing model from the issue text.

Description

Installing hubspot-api-client from source fails:

$ docker run --rm python:3.12 pip install --no-binary :all: hubspot-api-client
...
FileNotFoundError: [Errno 2] No such file or directory: 'VERSION'

The published 12.0.0 sdist does not contain the VERSION file setup.py reads — but an sdist built from current HEAD includes it and installs cleanly (verified). A 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.

Dominant language
Python
Stars
434
Forks
126
PR merge metrics
No merged PRs in 30d

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.

More from HubSpot/hubspot-api-python

All issues in HubSpot/hubspot-api-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.