# HG changeset patch # User Franz Glasner # Date 1740343954 -3600 # Node ID 9518944ed42e2a199cf3039dd4a5ccf0ab5f0e0e # Parent 39a19c0087080005d7be8f3144d5d66f69563702 Do not handle "file:" version specifications yet diff -r 39a19c008708 -r 9518944ed42e _postprocess-sdist.py --- a/_postprocess-sdist.py Sun Feb 23 21:40:37 2025 +0100 +++ b/_postprocess-sdist.py Sun Feb 23 21:52:34 2025 +0100 @@ -31,7 +31,7 @@ assert dummy is not None and vermodattr is not None vermod = importlib.import_module(vermodname) project_version = getattr(vermod, vermodattr) - else: + elif project_version.startswith("file:"): assert False # # Compressed tar files cannot be modified by Python: make sure the