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
skip: true # [py<310 or (osx and (not arm64) and py==311)]
It seems to have no effect. In particular, Intel OSX for Python 3.11 still gets built. Removing the selectors entirely and rerendering does not change the result.
I tried moving the skip selectors for the individual outputs to the top level in conda-forge/pytensor-suite-feedstock#140, and that led to a recursion error. The periodic stack trace is:
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/environ.py", line 371, in get_dict
d.update(meta_vars(m, skip_build_id=skip_build_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/environ.py", line 597, in meta_vars
d["PKG_BUILD_STRING"] = meta.build_id()
^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/metadata.py", line 1756, in build_id
hash_ = self.hash_dependencies()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/metadata.py", line 1730, in hash_dependencies
hashing_dependencies = self.get_hash_contents()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/metadata.py", line 1677, in get_hash_contents
dependencies = set(self.get_used_vars())
^^^^^^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/metadata.py", line 2821, in get_used_vars
script_reqs = self._get_used_vars_output_script()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/metadata.py", line 2940, in _get_used_vars_output_script
self.get_rendered_output(self.name(), permit_undefined_jinja=True) or {}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/metadata.py", line 2773, in get_rendered_output
for output_ in self.get_rendered_outputs_section(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/metadata.py", line 2755, in get_rendered_outputs_section
self._get_contents(
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/metadata.py", line 1995, in _get_contents
env.globals.update(get_dict(m=self, skip_build_id=skip_build_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mares/micromamba/envs/forge/lib/python3.11/site-packages/conda_build/environ.py", line 371, in get_dict
d.update(meta_vars(m, skip_build_id=skip_build_id))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
Solution to issue cannot be found in the documentation.
Issue
I can reproduce this both locally and in CI.
I'm working on the pytensor recipe at conda-forge/pytensor-suite-feedstock#139 (comment). It's a recipe with two outputs. I'm using the same skip selector in both outputs:
It seems to have no effect. In particular, Intel OSX for Python 3.11 still gets built. Removing the selectors entirely and rerendering does not change the result.
I tried moving the skip selectors for the individual outputs to the top level in conda-forge/pytensor-suite-feedstock#140, and that led to a recursion error. The periodic stack trace is:
and the periodic key lookups are:
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: