#1 Install from source has version “UNKNOWN”
Closed: Fixed Opened by bignose.

When installing from a clean source tree, the resulting distribution has version “UNKNOWN” regardless of what is recorded in the ChangeLog.

This results in failed installation of ‘python-daemon’ as a dependency:

UserWarning: The version specified ('UNKNOWN') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.


This is because the ‘setup.py’ code attempts to query the package version from the Python distribution; but when this is done in a clean source tree, the distribution does not yet exist so querying its version fails.

Commit 571c6cdf seeks to address this issue, by resolving a circular dependency in the install procedure.

I will seek independent confirmation before releasing this change.

This is now resolved in version 2.1.2.

@bignose changed the status to Closed

Metadata