From df86dec4c829a719e7306ae704eb9aea312dc5f3 Mon Sep 17 00:00:00 2001 From: jaimergp Date: Tue, 16 Jul 2024 13:34:13 +0000 Subject: [PATCH 1/4] Pin libmambapy <2 --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e31b0968..8e414018 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -22,7 +22,7 @@ requirements: run: - python >=3.8 - conda >=23.7.3 - - libmambapy >=1.5.6 + - libmambapy >=1.5.6,<2.0.0dev0 - boltons >=23.0.0 test: From 842b5578a471cb7d1f3208e4e59fa926436fb79d Mon Sep 17 00:00:00 2001 From: jaimergp Date: Tue, 16 Jul 2024 13:36:26 +0000 Subject: [PATCH 2/4] add news --- news/492-libmambapy-pin | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 news/492-libmambapy-pin diff --git a/news/492-libmambapy-pin b/news/492-libmambapy-pin new file mode 100644 index 00000000..d9dc7320 --- /dev/null +++ b/news/492-libmambapy-pin @@ -0,0 +1,19 @@ +### Enhancements + +* + +### Bug fixes + +* Pin `libmambapy <2` to defend against upcoming API changes. (#492) + +### Deprecations + +* + +### Docs + +* + +### Other + +* From 1068191f439bbd841776475dda7c4f47722c96ec Mon Sep 17 00:00:00 2001 From: jaimergp Date: Tue, 16 Jul 2024 13:37:05 +0000 Subject: [PATCH 3/4] here as well for completeness --- dev/requirements.txt | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/requirements.txt b/dev/requirements.txt index d67c3502..771b697f 100644 --- a/dev/requirements.txt +++ b/dev/requirements.txt @@ -3,7 +3,7 @@ pip # run-time boltons>=23.0.0 conda>=23.7.3 -libmamba>=1.5.6 -libmambapy>=1.5.6 +libmamba>=1.5.6,<2.0.0dev0 +libmambapy>=1.5.6,<2.0.0dev0 # be explicit about sqlite because sometimes it's removed from the env :shrug: sqlite diff --git a/pyproject.toml b/pyproject.toml index 13165855..536cef3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ classifiers = [ requires-python = ">=3.8" dependencies = [ "conda >=23.7.3", - "libmambapy >=1.5.6", + "libmambapy >=1.5.6,<2.0.0dev0", "boltons >=23.0.0", ] dynamic = [ From 72f6ea809e142e0eb848fd5264bcf910eff8424f Mon Sep 17 00:00:00 2001 From: jaimergp Date: Tue, 16 Jul 2024 13:45:18 +0000 Subject: [PATCH 4/4] add requirements.txt to triggering paths --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 653df21c..3ad26107 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -67,6 +67,7 @@ jobs: - '*.py' - '.github/workflows/tests.yml' - 'tests/**' + - 'dev/requirements.txt' # /CONDA-LIBMAMBA-SOLVER CHANGE # windows test suite