[Libre-soc-dev] Can't parse version working2
Boris Shingarov
Shingarov at labware.com
Wed May 26 07:03:48 BST 2021
Hi,
Today I finally got to actually diving into libresoc hands-on.
At the very first step, something weird is happening with the
libresoc-provided nmigen:
~/libresoc $ workon libresoc
(libresoc) ~/libresoc $ git clone https://git.libre-soc.org/git/nmigen.git
(libresoc) ~/libresoc $ cd nmigen
(libresoc) ~/libresoc/nmigen $ python3 setup.py develop
/home/boris/libresoc/nmigen/.eggs/setuptools_scm-6.0.1-py3.9.egg/setuptools_scm/version.py:69: UserWarning: tag 'working2' no version found
warnings.warn(f"tag {tag!r} no version found")
Traceback (most recent call last):
File "/home/boris/libresoc/nmigen/setup.py", line 32, in <module>
setup(
File "/home/boris/.virtualenvs/libresoc/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.9/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/home/boris/.virtualenvs/libresoc/lib/python3.9/site-packages/setuptools/dist.py", line 434, in __init__
_Distribution.__init__(self, {
File "/usr/lib/python3.9/distutils/dist.py", line 292, in __init__
self.finalize_options()
File "/home/boris/.virtualenvs/libresoc/lib/python3.9/site-packages/setuptools/dist.py", line 743, in finalize_options
ep(self)
File "/home/boris/.virtualenvs/libresoc/lib/python3.9/site-packages/setuptools/dist.py", line 750, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
File "/home/boris/libresoc/nmigen/.eggs/setuptools_scm-6.0.1-py3.9.egg/setuptools_scm/integration.py", line 24, in version_keyword
dist.metadata.version = _get_version(config)
File "/home/boris/libresoc/nmigen/.eggs/setuptools_scm-6.0.1-py3.9.egg/setuptools_scm/__init__.py", line 173, in _get_version
parsed_version = _do_parse(config)
File "/home/boris/libresoc/nmigen/.eggs/setuptools_scm-6.0.1-py3.9.egg/setuptools_scm/__init__.py", line 127, in _do_parse
version = _version_from_entrypoints(config) or _version_from_entrypoints(
File "/home/boris/libresoc/nmigen/.eggs/setuptools_scm-6.0.1-py3.9.egg/setuptools_scm/__init__.py", line 65, in _version_from_entrypoints
version = _call_entrypoint_fn(root, config, ep.load())
File "/home/boris/libresoc/nmigen/.eggs/setuptools_scm-6.0.1-py3.9.egg/setuptools_scm/__init__.py", line 46, in _call_entrypoint_fn
return fn(root, config=config)
File "/home/boris/libresoc/nmigen/.eggs/setuptools_scm-6.0.1-py3.9.egg/setuptools_scm/git.py", line 163, in parse
return meta(
File "/home/boris/libresoc/nmigen/.eggs/setuptools_scm-6.0.1-py3.9.egg/setuptools_scm/version.py", line 195, in meta
assert parsed_version is not None, "Can't parse version %s" % tag
AssertionError: Can't parse version working2
I can't make head or tail of this setuptools_scm stuff, in particular
where this 'working2' comes from. I've been playing for a while with
m-labs' nmigen clone and I don't recall having this problem when I was
installing from their clone. This is why I am asking on the libresoc
list. Anyone has any idea?
Boris
More information about the Libre-soc-dev
mailing list