-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot unable to submit imagecodecs
version 2024.6.1
update
#2691
Comments
FWIW this issue doesn't occur when using the bot request to create the version update PR ( conda-forge/imagecodecs-feedstock#107 ) |
The issue here is that the patch (https://github.com/conda-forge/imagecodecs-feedstock/blob/main/recipe/meta.yaml#L12) does not apply with the new source. The bot downloads the source using the functions in conda-build which attempts to apply the patches. You can see the failure in the |
The reason the issue version request works is that the bot is not attempting to inspect the source code for missing deps in that case. |
Would it make sense for the bot to skip applying patches? |
The bot should have swallowed this error and said the dep analysis did not work. The patch application error is a red-herring. |
Sorry I missed it. What dependency is the bot having issues with? |
Sorry I may have mistyped. The bot uses depfinder and grayskull to look for package deps not in the recipe. |
Oh I see now...
Is there a way for a feedstock to turn these off? |
yes - |
cc @hmaarrfk (for awareness) |
Possibly a different issue, but it seems that the bot doesn't work when a version update is requested: conda-forge/imagecodecs-feedstock#124. Here is the beginning of the log with an error (there are more similar errors in the rest of the log): from https://github.com/conda-forge/conda-forge-webservices/actions/runs/12722873077/job/35467408140 2025-01-11 08:57:12,056 INFO conda_forge_webservices.github_actions_integration.__main__ || task `version_update` for conda-forge/imagecodecs-feedstock#124
Notice: task `version_update` for conda-forge/imagecodecs-feedstock#124
2025-01-11 08:57:12,057 DEBUG git.util || Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory')
2025-01-11 08:57:12,057 DEBUG git.cmd || Popen(['git', 'clone', '-v', '--', 'https://github.com/conda-forge/imagecodecs-feedstock.git', '/home/runner/work/conda-forge-webservices/conda-forge-webservices/task-data/imagecodecs-feedstock'], cwd=/home/runner/work/conda-forge-webservices/conda-forge-webservices, stdin=None, shell=False, universal_newlines=True)
2025-01-11 08:57:12,180 DEBUG git.repo.base || Cmd(['git', 'clone', '-v', '--', 'https://github.com/conda-forge/imagecodecs-feedstock.git', '/home/runner/work/conda-forge-webservices/conda-forge-webservices/task-data/imagecodecs-feedstock'])'s unused stdout:
2025-01-11 08:57:12,182 DEBUG git.cmd || Popen(['git', 'fetch', '-v', '--', 'origin', 'pull/1[24](https://github.com/conda-forge/conda-forge-webservices/actions/runs/12722873077/job/35467408140#step:5:25)/head:pull/124/head'], cwd=/home/runner/work/conda-forge-webservices/conda-forge-webservices/task-data/imagecodecs-feedstock, stdin=None, shell=False, universal_newlines=True)
2025-01-11 08:57:12,287 DEBUG git.cmd || Popen(['git', 'switch', 'pull/124/head'], cwd=/home/runner/work/conda-forge-webservices/conda-forge-webservices/task-data/imagecodecs-feedstock, stdin=None, shell=False, universal_newlines=False)
20[25](https://github.com/conda-forge/conda-forge-webservices/actions/runs/12722873077/job/35467408140#step:5:26)-01-11 08:57:12,292 DEBUG git.cmd || Popen(['git', 'cat-file', '--batch-check'], cwd=/home/runner/work/conda-forge-webservices/conda-forge-webservices/task-data/imagecodecs-feedstock, stdin=<valid stream>, shell=False, universal_newlines=False)
2025-01-11 08:57:12,294 INFO conda_forge_webservices.github_actions_integration.__main__ || version update requested version: 'None'
docker image pull
2025-01-11 08:57:30,539 INFO conda_forge_webservices.github_actions_integration.version_updating || using feedstock name imagecodecs for repo conda-forge/imagecodecs-feedstock
2025-01-11 08:57:30,539 INFO conda_forge_webservices.github_actions_integration.version_updating || computing feedstock attributes
2025-01-11 08:57:30,540 DEBUG conda_forge_tick.feedstock_parser || computed effective logging level: debug
2025-01-11 08:57:33,473 DEBUG conda_forge_tick.feedstock_parser || # of ci support files: 30
2025-01-11 08:57:33,473 DEBUG conda_forge_tick.feedstock_parser || parsing conda-build config: /tmp/tmpwdst9px8/imagecodecs-feedstock-main/.ci_support/linux_64_numpy2.0python3.10.____cpython.yaml
2025-01-11 08:57:33,907 DEBUG conda.base.context || [Errno 13] Permission denied: '/opt/conda/envs/cf-feedstock-ops/conda-meta/history'
2025-01-11 08:57:33,908 DEBUG conda.base.context || [Errno 13] Permission denied: '/opt/conda/envs/cf-feedstock-ops/conda-meta/history'
2025-01-11 08:57:33,954 DEBUG conda_forge_tick.utils || parsing for platform linux with cbc /tmp/tmpwdst9px8/imagecodecs-feedstock-main/.ci_support/linux_64_numpy2.0python3.10.____cpython.yaml and arch 64
WARNING: Setting build platform. This is only useful when pretending to be on another platform, such as for rendering necessary dependencies on a non-native platform. I trust that you know what you're doing.
WARNING: Setting build arch. This is only useful when pretending to be on another arch, such as for rendering necessary dependencies on a non-native arch. I trust that you know what you're doing.
Adding in variants from internal_defaults
Adding in variants from /tmp/tmpwdst9px8/imagecodecs-feedstock-main/.ci_support/linux_64_numpy2.0python3.10.____cpython.yaml
Adding in variants from config.variant
2025-01-11 08:57:33,996 DEBUG conda_forge_tick.utils || key-val not string: zip_keys: [['python', 'numpy'], ['c_compiler_version', 'cxx_compiler_version']]
Traceback (most recent call last):
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_forge_tick/utils.py", line 933, in _parse_meta_yaml_impl
if cfg_as_dict[key].startswith("/"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'startswith'
2025-01-11 08:57:33,997 DEBUG conda_forge_tick.utils || key-val not string: pin_run_as_build: {'python': {'min_pin': 'x.x', 'max_pin': 'x.x'}, 'r-base': {'min_pin': 'x.x', 'max_pin': 'x.x'}}
Traceback (most recent call last):
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_forge_tick/utils.py", line 933, in _parse_meta_yaml_impl
if cfg_as_dict[key].startswith("/"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'startswith'
2025-01-11 08:57:33,997 DEBUG conda_forge_tick.utils || key-val not string: extend_keys: ['pin_run_as_build', 'ignore_version', 'ignore_build_only_deps', 'extend_keys']
Traceback (most recent call last):
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_forge_tick/utils.py", line [93](https://github.com/conda-forge/conda-forge-webservices/actions/runs/12722873077/job/35467408140#step:5:95)3, in _parse_meta_yaml_impl
if cfg_as_dict[key].startswith("/"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'startswith'
2025-01-11 08:57:33,997 DEBUG conda_forge_tick.utils || key-val not string: ignore_build_only_deps: ['python', 'numpy']
Traceback (most recent call last):
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_forge_tick/utils.py", line 933, in _parse_meta_yaml_impl
if cfg_as_dict[key].startswith("/"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'startswith'
2025-01-11 08:57:33,9[98](https://github.com/conda-forge/conda-forge-webservices/actions/runs/12722873077/job/35467408140#step:5:100) DEBUG conda_forge_tick.utils || jinja2 environmment: |
It looks like
imagecodecs
is missing a2024.6.1
updateLooking at the bot log, it is not entirely clear what issue it is running into
The text was updated successfully, but these errors were encountered: