We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
setuptools_scm
1 parent 063ea8a commit d837d72Copy full SHA for d837d72
setup.cfg
@@ -45,7 +45,7 @@ install_requires =
45
typing-extensions
46
setup_requires =
47
setuptools>=30.3.0
48
- setuptools_scm<8
+ setuptools_scm
49
50
[options.extras_require]
51
apm =
setup.py
@@ -18,10 +18,12 @@
18
19
# Allows the fetching of tags even from shallow clones
20
# https://github.com/pypa/setuptools_scm/pull/118#issuecomment-255381535
21
-def parse_fetch_on_shallow(root):
+def parse_fetch_on_shallow(*args, **kwargs):
22
from setuptools_scm.git import parse, fetch_on_shallow
23
24
- return parse(root, pre_parse=fetch_on_shallow)
+ kwargs["pre_parse"] = fetch_on_shallow
25
+
26
+ return parse(*args, **kwargs)
27
28
29
setup(
0 commit comments