Closed DirtyJerz closed 4 years ago
I know I said to test with pip wheel, but that's not actually what I meant. On CI we would have the source and do python setup.py bdist_wheel
, or have a tarball sdist and do pip wheel
on that directly, not installing from pypi. I get the following error:
File "setup.py", line 4, in <module>
setup()
File "/build/venv/build/lib/python3.8/site-packages/robotpy_build/setup.py", line 141, in setup
s.prepare()
File "/build/venv/build/lib/python3.8/site-packages/robotpy_build/setup.py", line 88, in prepare
self.setup_kwargs["version"] = get_version(
File "/build/venv/build/lib/python3.8/site-packages/setuptools_scm/__init__.py", line 150, in get_version
parsed_version = _do_parse(config)
File "/build/venv/build/lib/python3.8/site-packages/setuptools_scm/__init__.py", line 105, in _do_parse
raise LookupError(
LookupError: setuptools-scm was unable to detect version for '/tmp/pip-req-build-1ltq0lq8'.
Any idea?
Maybe in robotpy-build we should let setuptools call setuptools-scm instead of doing it ourselves. I dunno.
Thank you!
x86_64 and arm-frc2020-linux-gnueabi