You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
INFO:conda_smithy.configure_feedstock:Applying migrations: /Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/python312.yaml,/Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/ffmpeg7.yaml
INFO:conda_smithy.configure_feedstock:Applying migrations: /Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/python312.yaml,/Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/ffmpeg7.yaml
INFO:conda_smithy.configure_feedstock:Applying migrations: /Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/python312.yaml,/Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/ffmpeg7.yaml
INFO:conda_smithy.configure_feedstock:Applying migrations: /Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/python312.yaml,/Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/ffmpeg7.yaml
INFO:conda_smithy.configure_feedstock:Applying migrations: /Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/python312.yaml,/Users/larsoner/.cache/conda-smithy/share/conda-forge/migrations/ffmpeg7.yaml
...
Traceback (most recent call last):
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/bin/conda-smithy", line 10, in <module>
sys.exit(main())
^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_smithy/cli.py", line 737, in main
args.subcommand_func(args)
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_smithy/cli.py", line 584, in __call__
self._call(args, tmpdir)
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_smithy/cli.py", line 589, in _call
configure_feedstock.main(
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_smithy/configure_feedstock.py", line 2754, in main
render_azure(env, config, forge_dir, return_metadata=True)
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_smithy/configure_feedstock.py", line 1863, in render_azure
return _render_ci_provider(
^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_smithy/configure_feedstock.py", line 1143, in _render_ci_provider
dump_subspace_config_files(
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_smithy/configure_feedstock.py", line 731, in dump_subspace_config_files
configs, top_level_loop_vars = _collapse_subpackage_variants(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_smithy/configure_feedstock.py", line 562, in _collapse_subpackage_variants
top_level_loop_vars = list_of_metas[0].get_used_loop_vars(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2765, in get_used_loop_vars
used_vars = self.get_used_vars(
^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2869, in get_used_vars
script_reqs = self._get_used_vars_output_script()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2988, in _get_used_vars_output_script
self.get_rendered_output(self.name(), permit_undefined_jinja=True) or {}
...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2821, in get_rendered_output
for output_ in self.get_rendered_outputs_section(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2803, in get_rendered_outputs_section
self._get_contents(
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2054, in _get_contents
env.globals.update(get_dict(m=self, skip_build_id=skip_build_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/environ.py", line 370, in get_dict
d.update(meta_vars(m, skip_build_id=skip_build_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/environ.py", line 597, in meta_vars
d["PKG_HASH"] = meta.hash_dependencies()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 1787, in hash_dependencies
hashing_dependencies = self.get_hash_contents()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 1734, in get_hash_contents
dependencies = set(self.get_used_vars())
^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2869, in get_used_vars
script_reqs = self._get_used_vars_output_script()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2988, in _get_used_vars_output_script
self.get_rendered_output(self.name(), permit_undefined_jinja=True) or {}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2821, in get_rendered_output
for output_ in self.get_rendered_outputs_section(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2803, in get_rendered_outputs_section
self._get_contents(
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2054, in _get_contents
env.globals.update(get_dict(m=self, skip_build_id=skip_build_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/environ.py", line 370, in get_dict
d.update(meta_vars(m, skip_build_id=skip_build_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/environ.py", line 597, in meta_vars
d["PKG_HASH"] = meta.hash_dependencies()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 1787, in hash_dependencies
hashing_dependencies = self.get_hash_contents()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 1734, in get_hash_contents
dependencies = set(self.get_used_vars())
^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2863, in get_used_vars
meta_yaml_reqs = self._get_used_vars_meta_yaml(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2938, in _get_used_vars_meta_yaml
reqs_text, recipe_text = self._get_used_vars_meta_yaml_helper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2910, in _get_used_vars_meta_yaml_helper
recipe_text = self.extract_single_output_text(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2282, in extract_single_output_text
recipe_text = self.extract_outputs_text(apply_selectors=apply_selectors)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2261, in extract_outputs_text
return self.get_recipe_text(
^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 2230, in get_recipe_text
if self.is_output and not force_top_level:
^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 1311, in is_output
return parent_name and parent_name != self.name()
^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 1596, in name
name = self.get_value("package/name", "")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/MNE-Python/1.7.0_0/.mne-python/envs/smithy/lib/python3.12/site-packages/conda_build/metadata.py", line 1537, in get_value
section_data = self.get_section(section)
^^^^^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
Okay I looked at git log and noticed that a recent merge to main succeeded with a previous conda-forge-pinning, so I did:
MNT: Re-rendered with conda-build 24.5.2.dev41, conda-smithy 3.36.3.dev46+gdd6091b8, and conda-forge-pinning 2024.07.04.12.04.07
so that made me look at conda-forge/vtk-feedstock#330 where someone manually rebuilt with a dev version of conda-smithy and conda-build. So I git clone'ed conda-build and conda-smithy (checking out dd6091b), pip install -ve .'ed them and did conda install rattler-build-conda-compat and then:
conda-smithy rerender --no-check-uptodate -c auto
and things were fine. So I guess this was fixed in #1969 so I'll close!
Solution to issue cannot be found in the documentation.
Issue
See conda-forge/vtk-feedstock#332 and https://github.com/conda-forge/vtk-feedstock/actions/runs/9847400200/job/27187287542. Replicated locally using up-to-date conda-smithy in a clean env just created using
conda create -n smithy conda-smithy
. To replicate, clone theconda-forge/vtk-feedstock
and try to rerender it.The error is:
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: