-
-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Description
We have a suite of python projects being deployed on RHEL9 which require keeping package metadata in setup.cfg in order to build RPM packages in the RHEL environment. All of these packages are using setuptools-scm configuration with a version file and a non-default version_scheme.
Starting with 9.2.0 all these packages are failing trying to import version data from the missing version file, with the following warning message when building:
$ SETUPTOOLS_SCM_DEBUG=1 python -m build .
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- setuptools>=45
- setuptools_scm[toml]>=6.0
* Getting build dependencies for sdist...
* Installing packages in isolated environment:
- setuptools_scm[toml]
* Building sdist...
/tmp/build-env-jkdaqu_s/lib/python3.13/site-packages/setuptools_scm/_integration/version_inference.py:51: UserWarning: version of daemonizer already set
warnings.warn(self.message)
then again during wheel build:
* Building wheel from sdist
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- setuptools>=45
- setuptools_scm[toml]>=6.0
* Getting build dependencies for wheel...
* Installing packages in isolated environment:
- setuptools_scm[toml]
* Building wheel...
/tmp/build-env-mo3ptb7k/lib/python3.13/site-packages/setuptools_scm/_integration/version_inference.py:51: UserWarning: version of daemonizer already set
warnings.warn(self.message)
Metadata
Metadata
Assignees
Labels
No labels