From 6522359e2d9072ccca9746b0b920e39640a33811 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Tue, 16 Apr 2024 12:59:39 +0200 Subject: [PATCH 1/3] Add poetry as a dependency As long as the constriant isn't too tight, we should be able to handle the circular dependency between this package and poetry. --- recipe/meta.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index d32c765..798a252 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -12,7 +12,7 @@ source: build: noarch: python script: {{ PYTHON }} -m pip install . -vv - number: 0 + number: 1 requirements: host: @@ -22,13 +22,9 @@ requirements: run: - python >=3.8.0,<4.0.0 - poetry-core >=1.7.0,<2.0.0 - # poetry is actually a run dependency. But since that creates a dependency - # cycle, we add it only as a run_constrained for now (until fixed upstream). - # (N.B.: This means this package is unusable if `conda install`ed on its own.) - # refs: - # - https://github.com/python-poetry/poetry/pull/5980 - # - https://github.com/conda-forge/poetry-feedstock/issues/70 - run_constrained: + # warning: this is a circular dependency. If this causes trouble (e.g. + # there is an update that simultaneously requires a new poetry and + # poetry-plugin-export, temporarly switch this to "run_constrained" - poetry >=1.8.0,<2.0.0 # Skip tests partially due to dependency cycle (see above): From ca273b8e1978a63ece19fe067141db45db16a64c Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:02:46 +0000 Subject: [PATCH 2/3] MNT: Re-rendered with conda-build 24.3.0, conda-smithy 3.34.1, and conda-forge-pinning 2024.04.16.09.40.08 --- .ci_support/linux_64_.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 6c59082..3166d1d 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -1,3 +1,7 @@ +c_stdlib: +- sysroot +c_stdlib_version: +- '2.12' cdt_name: - cos6 channel_sources: @@ -6,3 +10,6 @@ channel_targets: - conda-forge main docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 +zip_keys: +- - c_stdlib_version + - cdt_name From 765a17c0262e353d59fa3950fce91de1f4139ba5 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Tue, 16 Apr 2024 05:14:32 -0600 Subject: [PATCH 3/3] Fix tests --- recipe/meta.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 798a252..88f72b7 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -35,11 +35,7 @@ test: commands: - test -f "${SP_DIR}"/poetry_plugin_export/__init__.py - "pip show poetry-plugin-export | grep -Fx 'Version: {{ version }}'" - # Ensure pip check has non-empty output and recognizes the missing dep. - - pip check | grep -F 'requires poetry, which is not installed.' - # Ensure pip check does not output anything else. (This includes - # "No broken requirements found." -- a signal to update the recipe ;) - - "! pip check | grep -Fv 'requires poetry, which is not installed.'" + - pip check requires: - pip