ITADN

test failures on conda-smithy feedstock

#2587Openh-vetinari 创建于 2026-06-14
H
h-vetinaricommented
In https://github.com/conda-forge/conda-smithy-feedstock/pull/391, there's test failures, though only with rattler-build <details> <summary>List of failures</summary> ``` =========================== short test summary info ============================ FAILED tests/test_configure_feedstock.py::test_noarch_skips_appveyor[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_noarch_runs_on_circle[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_noarch_runs_on_default[rattler-build-recipe] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_noarch_runs_on_default[rattler-build-custom_recipe_dir] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_r_skips_appveyor[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_r_matrix_travis[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_r_matrix_on_circle[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_r_matrix_default[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_py_matrix_appveyor[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_py_matrix_travis[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_py_matrix_on_circle[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_py_matrix_on_github[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_py_matrix_on_azure[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_no_python_min_if_not_present[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_abi3_bools[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_upload_on_branch_azure[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_upload_on_branch_github_actions[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_upload_on_branch_appveyor[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_circle_osx[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_circle_skipped[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_render_windows_with_skipped_python[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_secrets[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_migrator_recipe[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_migrator_cfp_override[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_migrator_delete_old[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_migrator_downgrade_recipe[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_migrator_compiler_version_recipe[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_choco_install_azure[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_choco_install_github_actions[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_cos7_env_render[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_cuda_enabled_render[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_github_actions_populated[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_github_actions_labels[rattler-build-None] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_github_actions_labels[rattler-build-default] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_github_actions_labels[rattler-build-hosted] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_github_actions_labels[rattler-build-cirun-linux] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_github_actions_labels[rattler-build-self-hosted@another-linux-runner] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_gha[rattler-build-False-False-github_actions] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_gha[rattler-build-False-False-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_gha[rattler-build-False-True-github_actions] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_gha[rattler-build-False-True-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_gha[rattler-build-True-False-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_gha[rattler-build-True-True-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_azure[rattler-build-False-False-azure] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_azure[rattler-build-False-False-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_azure[rattler-build-False-True-azure] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_azure[rattler-build-False-True-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_azure[rattler-build-True-False-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_azure[rattler-build-True-True-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_gha_conditions[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_azure_conditions[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_overlapping_conditions[rattler-build-azure] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_overlapping_conditions[rattler-build-github_actions] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_store_build_artifacts_gha_and_azure_conditions[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha[rattler-build-None] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha[rattler-build-default] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha[rattler-build-hosted] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha[rattler-build-blacksmith-8vcpu-windows-2025] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha[rattler-build-windows-2022] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha[rattler-build-windows-2025] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha[rattler-build-namespace-profile-16cpu-on-win-64] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_azure[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_azure_old_vars[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_azure_old_and_new_vars[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_tools_dir[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_both[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_wrong[rattler-build-tools_install_dir-~/foo-specifies Unix path for Windows workflows: ~\\\\foo] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_wrong[rattler-build-tools_install_dir-foo-specifies Unix path for Windows workflows: foo] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_wrong[rattler-build-tools_install_dir-C:\\foo-specifies Windows path for Unix workflows: C:\\foo] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_wrong[rattler-build-tools_install_dir-C:\\\\foo-specifies Windows path for Unix workflows: C:\\\\foo] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_wrong[rattler-build-build_workspace_dir-~/foo-specifies Unix path for Windows workflows: ~\\\\foo] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_wrong[rattler-build-build_workspace_dir-foo-specifies Unix path for Windows workflows: foo] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_wrong[rattler-build-build_workspace_dir-C:\\foo-specifies Windows path for Unix workflows: C:\\foo] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_tools_build_paths_gha_override_wrong[rattler-build-build_workspace_dir-C:\\\\foo-specifies Windows path for Unix workflows: C:\\\\foo] - AssertionError: Regex pattern did not match. FAILED tests/test_configure_feedstock.py::test_docker_run_args_gha[rattler-build-None-False] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_docker_run_args_gha[rattler-build-None-True] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_docker_run_args_gha[rattler-build---cap-add SYS_ADMIN-False] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_docker_run_args_gha[rattler-build---cap-add SYS_ADMIN-True] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_docker_run_args_azure[rattler-build-False-False] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_docker_run_args_azure[rattler-build-False-True] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_docker_run_args_azure[rattler-build-True-False] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_docker_run_args_azure[rattler-build-True-True] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_azure[rattler-build-0-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_azure[rattler-build-0-azure] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_azure[rattler-build-0-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_azure[rattler-build-0-both] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_azure[rattler-build-16-azure] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_azure[rattler-build-16-workflow_settings] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_azure[rattler-build-16-both] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_gha[rattler-build-None] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_gha[rattler-build-0] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_pagefile_size_gha[rattler-build-16] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha_old[rattler-build-False-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha_old[rattler-build-True-quick] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha_old[rattler-build-value2-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha_old[rattler-build-value3-quick] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha_old[rattler-build-value4-max] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha[rattler-build-False-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha[rattler-build-False-quick] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha[rattler-build-False-max] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha[rattler-build-True-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha[rattler-build-True-quick] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_gha[rattler-build-True-max] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure_old[rattler-build-False-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure_old[rattler-build-True-quick] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure_old[rattler-build-value2-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure_old[rattler-build-value3-quick] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure_old[rattler-build-value4-max] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure[rattler-build-False-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure[rattler-build-False-quick] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure[rattler-build-False-max] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure[rattler-build-True-skip] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure[rattler-build-True-quick] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_free_disk_space_azure[rattler-build-True-max] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_configure_feedstock.py::test_namespace_pagefile_label[rattler-build] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) FAILED tests/test_lint_recipe.py::TestLinter::test_test_section - AssertionError: 'The recipe must have some tests.' not found in ['The home item is expected in the about section.', 'The license item is expected in the about section.', 'The summary item is expected in the about section.', 'The recipe could do with some maintainers listed in the `extra/recipe-maintainers` section.', 'The recipe must have a `build/number` section.', 'Recipe name has invalid characters. only lowercase alpha, numeric, underscores, hyphens and dots allowed', 'Package version is missing.'] = 116 failed, 5003 passed, 14 skipped, 14 deselected, 1 xfailed, 6 warnings in 85.68s (0:01:25) = ``` </details> This was with ``` rattler-build: 0.66.1-ha759004_0 conda-forge ``` and also with 0.65. I was surprised that this happened, given that CI is green here. However, looking at the logs of the most recent CI run here (https://github.com/conda-forge/conda-smithy/commit/c771d9b52815e29bf5f52bebf502c085b3d62147), we see that we're running with ``` rattler-build 0.62.0 ha759004_0 conda-forge ``` This is a bit surprising given that I can't see any constraint on rattler-build in our setup here. The error looks to be simply something like trying to read an empty file as a JSON ``` File "$PREFIX/lib/python3.14/site-packages/rattler_build_conda_compat/render.py", line 324, in render_recipe recipes = metadata.render_recipes(variants) File "$PREFIX/lib/python3.14/site-packages/rattler_build_conda_compat/render.py", line 213, in render_recipes raise e File "$PREFIX/lib/python3.14/site-packages/rattler_build_conda_compat/render.py", line 209, in render_recipes metadata = json.loads(content) File "$PREFIX/lib/python3.14/json/__init__.py", line 352, in loads return _default_decoder.decode(s) ~~~~~~~~~~~~~~~~~~~~~~~^^^ File "$PREFIX/lib/python3.14/json/decoder.py", line 345, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "$PREFIX/lib/python3.14/json/decoder.py", line 363, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ``` CC @wolfv @baszalmstra @jaimergp <details> <summary>Example stack trace</summary> ``` =================================== FAILURES =================================== __________________ test_noarch_skips_appveyor[rattler-build] ___________________ Traceback (most recent call last): File "$PREFIX/lib/python3.14/site-packages/_pytest/runner.py", line 353, in from_call result: TResult | None = func() ~~~~^^ File "$PREFIX/lib/python3.14/site-packages/_pytest/runner.py", line 245, in <lambda> lambda: runtest_hook(item=item, **kwds), ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "$PREFIX/lib/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "$PREFIX/lib/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "$PREFIX/lib/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call return (yield) ^^^^^ File "$PREFIX/lib/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "$PREFIX/lib/python3.14/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call item.runtest() ~~~~~~~~~~~~^^ File "$PREFIX/lib/python3.14/site-packages/_pytest/python.py", line 1720, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "$PREFIX/lib/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "$PREFIX/lib/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "$PREFIX/lib/python3.14/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call result = testfunction(**testargs) File "$SRC_DIR/tests/test_configure_feedstock.py", line 37, in test_noarch_skips_appveyor configure_feedstock.render_appveyor( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ jinja_env=jinja_env, ^^^^^^^^^^^^^^^^^^^^ forge_config=noarch_recipe.config, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ forge_dir=noarch_recipe.recipe, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "$PREFIX/lib/python3.14/site-packages/conda_smithy/configure_feedstock.py", line 1807, in render_appveyor return _render_ci_provider( "appveyor", ...<11 lines>... return_metadata=return_metadata, ) File "$PREFIX/lib/python3.14/site-packages/conda_smithy/configure_feedstock.py", line 1346, in _render_ci_provider metas = rattler_render( os.path.join(forge_dir, forge_config["recipe_dir"]), ...<4 lines>... channel_urls=channel_sources, ) File "$PREFIX/lib/python3.14/site-packages/rattler_build_conda_compat/render.py", line 361, in render metadata_tuples = render_recipe( recipe_dir, config=config, variants=variants, ) File "$PREFIX/lib/python3.14/site-packages/rattler_build_conda_compat/render.py", line 324, in render_recipe recipes = metadata.render_recipes(variants) File "$PREFIX/lib/python3.14/site-packages/rattler_build_conda_compat/render.py", line 213, in render_recipes raise e File "$PREFIX/lib/python3.14/site-packages/rattler_build_conda_compat/render.py", line 209, in render_recipes metadata = json.loads(content) File "$PREFIX/lib/python3.14/json/__init__.py", line 352, in loads return _default_decoder.decode(s) ~~~~~~~~~~~~~~~~~~~~~~~^^^ File "$PREFIX/lib/python3.14/json/decoder.py", line 345, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "$PREFIX/lib/python3.14/json/decoder.py", line 363, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Captured stdout call ----------------------------- Adding in variants from /tmp/pytest-of-conda/pytest-0/test_noarch_skips_appveyor_rat0/recipe/default_config.yaml Captured stderr call ----------------------------- Processing recipe at path: /tmp/pytest-of-conda/pytest-0/test_noarch_skips_appveyor_rat0/recipe/recipe.yaml ╭─ Finding outputs from recipe │ Loading variant config from: /tmp/tmpum4azhsy │ ⚠ warning Found 'pin_run_as_build' in variant config - this is not supported and will be ignored │ Found 1 variants │ │ Build variant: python-noarch-test-1.0.0-pyh4616a5c_0 │ │ ╭─────────────────┬──────────╮ │ │ Variant ┆ Version │ │ ╞═════════════════╪══════════╡ │ │ target_platform ┆ "noarch" │ │ ╰─────────────────┴──────────╯ │ ╰─────────────────── (took 0 seconds) Captured log call ------------------------------- INFO conda_build.variants:variants.py:289 Adding in variants from /tmp/pytest-of-conda/pytest-0/test_noarch_skips_appveyor_rat0/recipe/default_config.yaml ``` </details>
6 条评论