From 9b330a3e4e4d8b1d4e6859ffe4ce370b41a7957a Mon Sep 17 00:00:00 2001 From: jaimergp Date: Mon, 6 Jan 2025 17:49:57 +0100 Subject: [PATCH] pin click version in skeleton test --- tests/test_published_examples.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_published_examples.py b/tests/test_published_examples.py index 95b2efc301..14c039d557 100644 --- a/tests/test_published_examples.py +++ b/tests/test_published_examples.py @@ -18,7 +18,8 @@ def test_skeleton_pypi(): """published in docs at https://docs.conda.io/projects/conda-build/en/latest/user-guide/tutorials/build-pkgs-skeleton.html""" conda_path = os.path.join(sys.prefix, BIN_DIRECTORY, "conda") - check_call_env([conda_path, "skeleton", "pypi", "click"]) + # 8.1.7 is the last version with 'setup.py', which is required + check_call_env([conda_path, "skeleton", "pypi", "click", "--version", "8.1.7"]) check_call_env([conda_path, "build", "click"])