From 1d9eb135b5650b8e038b5f893c96731dcb4c450c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Fri, 8 Sep 2023 13:48:33 +0200 Subject: [PATCH 1/2] Align prompt_toolkit constrain --- recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a3c79c0..9c334a4 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -11,7 +11,7 @@ source: build: noarch: python - number: 0 + number: 1 script: {{ PYTHON }} -m pip install . -vv requirements: @@ -21,7 +21,7 @@ requirements: - poetry >=1.0.5 run: - python >=3.6 - - prompt_toolkit >=2.0,<4.0 + - prompt_toolkit <=3.0.36,>=2.0 test: imports: From 1db4f5e8adeb442eb5cf05408af6684faf91fd7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Fri, 8 Sep 2023 13:51:02 +0200 Subject: [PATCH 2/2] Validate package alignment with pip --- recipe/meta.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 9c334a4..359c14c 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -27,6 +27,10 @@ test: imports: - questionary - questionary.prompts + requires: + - pip + commands: + - pip check about: home: https://github.com/tmbo/questionary