fix setuptools_scm LookupError bug
1 unresolved thread
1 unresolved thread
If setuptools_scm is installed but gwinc is not called from the gwinc directory, a LookupError was previously thrown. Now the version is set to '?.?.?' in this case.
Merge request reports
Activity
added bug label
mentioned in issue #86 (closed)
10 10 except ModuleNotFoundError: 11 11 try: 12 12 import setuptools_scm 13 __version__ = setuptools_scm.get_version(fallback_version='?.?.?') 13 try: 14 __version__ = setuptools_scm.get_version(fallback_version='?.?.?') 15 except LookupError: 16 __version__ = '?.?.?' 14 17 # FIXME: fallback_version is not available in the buster version 15 18 # (3.2.0-1) 16 19 except (ModuleNotFoundError, TypeError): changed this line in version 4 of the diff
added 9 commits
-
d22c5d4e...05370968 - 8 commits from branch
gwinc:master
- dab53f3b - fix setuptools_scm LookupError bug
-
d22c5d4e...05370968 - 8 commits from branch
mentioned in commit a101f0c4
Please register or sign in to reply