14
0

Accepting request 1137104 from home:bnavigator:branches:devel:languages:python

- Add setuptools-scm-issue953-nowarn.patch
  * gh#pypa/setuptools_scm#953
  * don't warn if setuptools_scm is present but not directly used

OBS-URL: https://build.opensuse.org/request/show/1137104
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=79
This commit is contained in:
2024-01-06 13:08:37 +00:00
committed by Git OBS Bridge
parent 1fda20a7b0
commit 36be66b30a
3 changed files with 26 additions and 10 deletions

View File

@@ -0,0 +1,12 @@
https://github.com/pypa/setuptools_scm/issues/953
--- setuptools-scm-8.0.4.orig/src/setuptools_scm/_integration/setuptools.py
+++ setuptools-scm-8.0.4/src/setuptools_scm/_integration/setuptools.py
@@ -116,6 +116,6 @@
try:
config = _config.Configuration.from_file(dist_name=dist_name)
except LookupError as e:
- log.warning(e)
+ log.info(e)
else:
_assign_version(dist, config)