setuptools_scm: Version file is not generated since version 8 on CI without any error
Since setuptools_scm
release 8 I have observed a test crash because the version file is not generated.
/tmp/tox/py311-PyQt5-all/lib/python3.11/site-packages/PartSeg/__init__.py:4: in <module>
from PartSeg.version import version
E ModuleNotFoundError: No module named 'PartSeg.version'
When it is configured in pyproject.toml: https://github.com/4DNucleome/PartSeg/blob/bcaf0aad2e80edbf25e42859f8a0722074f0c68b/pyproject.toml#L1-L7
But when I pin setuptools_scm
below 8 all problems disappear.
Here is log with SETUPTOOLS_SCM_DEBUG
set to 1.
https://github.com/4DNucleome/PartSeg/actions/runs/6273817081/job/17038040421?pr=1020
I cannot reproduce it locally. I do not have any idea how to debug this.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 21 (10 by maintainers)
I have a idea for a Bugfix now, Will get that done over the weekend
Also please remove
use_scm_version=True