Setting up aesara #1395
Smit-create
started this conversation in
General
Replies: 3 comments 4 replies
-
For a development setup, try Better yet, we should have an |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have created an Full stacktrace: Error
% pip install -e ./
Obtaining file:///Users/thebigbool/repos/aesara
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... error
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [49 lines of output]
/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/version.py:84: UserWarning: tag '0.0' no version found
warnings.warn(f"tag {tag!r} no version found")
Traceback (most recent call last):
File "/Users/thebigbool/opt/anaconda3/envs/aesara-dev/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
main()
File "/Users/thebigbool/opt/anaconda3/envs/aesara-dev/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/Users/thebigbool/opt/anaconda3/envs/aesara-dev/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 132, in get_requires_for_build_editable
return hook(config_settings)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 447, in get_requires_for_build_editable
return self.get_requires_for_build_wheel(config_settings)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
self.run_setup()
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
exec(code, locals())
File "<string>", line 1, in <module>
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 147, in setup
_setup_distribution = dist = klass(attrs)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 475, in __init__
_Distribution.__init__(
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
self.finalize_options()
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 899, in finalize_options
ep(self)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/integration.py", line 127, in infer_version
_assign_version(dist, config)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/integration.py", line 60, in _assign_version
maybe_version = _get_version(config)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/__init__.py", line 153, in _get_version
parsed_version = _do_parse(config)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/__init__.py", line 100, in _do_parse
version = _version_from_entrypoints(config) or _version_from_entrypoints(
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/_entrypoints.py", line 66, in _version_from_entrypoints
version: ScmVersion | None = _call_entrypoint_fn(root, config, ep.load())
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/_entrypoints.py", line 40, in _call_entrypoint_fn
return fn(root, config=config)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/git.py", line 181, in parse
return _git_parse_inner(
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/git.py", line 224, in _git_parse_inner
return meta(
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/version.py", line 226, in meta
parsed_version = _parse_tag(tag, preformatted, config)
File "/private/var/folders/43/clc5f7ln5sj3d3zwmnvpmpxm0000gn/T/pip-build-env-tm4m7u63/overlay/lib/python3.10/site-packages/setuptools_scm/version.py", line 203, in _parse_tag
assert version is not None
AssertionError
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. |
Beta Was this translation helpful? Give feedback.
4 replies
-
For anyone else who many have this problem, the solution was to pull in all the tags from the upstream repository. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to set up a local aesara dev environment. I started by creating the
conda
env and tried to make some changes and test aesara. It showed me to build or install aesara to import it so I tried the following:% python3 -m build
This ends up with the following error:
Beta Was this translation helpful? Give feedback.
All reactions