From 7f27aafaa36f0b5f385618e081db950e3a93fd36 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 10:44:30 -0600 Subject: [PATCH 01/20] FEAT: add turbo-turtle package recipe --- recipes/turbo_turtle/meta.yaml | 64 +++++++++++++++++++++++++++++++ recipes/turbo_turtle/run_test.bat | 4 ++ recipes/turbo_turtle/run_test.sh | 4 ++ 3 files changed, 72 insertions(+) create mode 100644 recipes/turbo_turtle/meta.yaml create mode 100644 recipes/turbo_turtle/run_test.bat create mode 100644 recipes/turbo_turtle/run_test.sh diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml new file mode 100644 index 0000000000000..bbf36c07f16c7 --- /dev/null +++ b/recipes/turbo_turtle/meta.yaml @@ -0,0 +1,64 @@ +{% set name = "turbo_turtle" %} +{% set version = "0.9.0" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://github.com/lanl-aea/turbo-turtle/archive/refs/tags/{{ version }}.tar.gz + sha256: e89f218c8d95484f3b0b8b61427c0bd82779226301436c991535966bac4d140d + +build: + noarch: python + number: 0 + script_env: + - SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} + script: + - $PYTHON -m build --no-isolation + - $PYTHON -m pip install dist/$PKG_NAME-$PKG_VERSION.tar.gz --no-deps --ignore-installed -v --no-build-isolation + - scons man html + - $PYTHON package_documentation.py + ignore_run_exports: + - python_abi + +requirements: + build: + - lazy_loader >=0.4 + - scons >=4 + - setuptools_scm[toml] >=6.2 + - sphinx >=5.1 + - sphinx-argparse + - sphinx-copybutton >=0.5.1 + - sphinx_rtd_theme >=1 + - sphinxcontrib-bibtex + - waves >=0.7.2 + host: + - python + - python-build + - pip + - setuptools >=62 + - setuptools_scm[toml] >=6.2 + run: + - python >=3.8 + - lazy_loader >=0.4 + - scons >=4 + - waves >=0.7.2 + +test: + requires: + - pytest + - pytest-xdist + imports: + - turbo_turtle + +about: + home: https://github.com/lanl-aea/turbo-turtle + license: BSD-3-Clause + license_file: LICENSE.txt + summary: Solid body modeling tools for 2D sketched, 2D axisymmetric, and 3D revolved models + description: | + Turbo-Turtle (LANL code O4765) is a solid body modeling tools for 2D sketched, 2D axisymmetric, and 3D revolved + models. + doc_url: https://lanl-aea.github.io/turbo-turtle/index.html + dev_url: https://github.com/lanl-aea/turbo-turtle diff --git a/recipes/turbo_turtle/run_test.bat b/recipes/turbo_turtle/run_test.bat new file mode 100644 index 0000000000000..a70de3b5b956e --- /dev/null +++ b/recipes/turbo_turtle/run_test.bat @@ -0,0 +1,4 @@ +turbo-turtle -h +turbo-turtle fetch --destination turbo_turtle_fetch +cd %SP_DIR%\%PKG_NAME% +pytest -vvv -n 4 --ignore=_abaqus_python diff --git a/recipes/turbo_turtle/run_test.sh b/recipes/turbo_turtle/run_test.sh new file mode 100644 index 0000000000000..ba5084bf58692 --- /dev/null +++ b/recipes/turbo_turtle/run_test.sh @@ -0,0 +1,4 @@ +turbo-turtle -h +turbo-turtle fetch --destination turbo_turtle_fetch +cd $SP_DIR/$PKG_NAME +pytest -vvv -n 4 --ignore=_abaqus_python From 27b07c38d2d3cf0c9a3c29ee694599832ba6dce5 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 10:46:41 -0600 Subject: [PATCH 02/20] FEAT: add recipe maintainers --- recipes/turbo_turtle/meta.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index bbf36c07f16c7..f7a8fb33da356 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -62,3 +62,8 @@ about: models. doc_url: https://lanl-aea.github.io/turbo-turtle/index.html dev_url: https://github.com/lanl-aea/turbo-turtle + +extra: + recipe-maintainers: + - kbrindley + - tprobertslanl From 099ffe69be89a6b6d3ddbdce852a93a262552566 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 10:56:11 -0600 Subject: [PATCH 03/20] MAINT: sha256 is different when run with curl vs a direct download --- recipes/turbo_turtle/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index f7a8fb33da356..9d2d2b6f80fdf 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -7,7 +7,7 @@ package: source: url: https://github.com/lanl-aea/turbo-turtle/archive/refs/tags/{{ version }}.tar.gz - sha256: e89f218c8d95484f3b0b8b61427c0bd82779226301436c991535966bac4d140d + sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 build: noarch: python From a54517b27ddea9758f556395d7e4f14fd3680e0a Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 10:59:04 -0600 Subject: [PATCH 04/20] MAINT: fix the version number --- recipes/turbo_turtle/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index 9d2d2b6f80fdf..2e67de31679ff 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -1,5 +1,5 @@ {% set name = "turbo_turtle" %} -{% set version = "0.9.0" %} +{% set version = "0.12.1" %} package: name: {{ name|lower }} From 260e4dbb4abe2dca8d1730a980d38bdc107e6ece Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 11:16:40 -0600 Subject: [PATCH 05/20] Revert "MAINT: sha256 is different when run with curl vs a direct download" This reverts commit 099ffe69be89a6b6d3ddbdce852a93a262552566. --- recipes/turbo_turtle/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index 2e67de31679ff..9775e20fc62b5 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -7,7 +7,7 @@ package: source: url: https://github.com/lanl-aea/turbo-turtle/archive/refs/tags/{{ version }}.tar.gz - sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 + sha256: e89f218c8d95484f3b0b8b61427c0bd82779226301436c991535966bac4d140d build: noarch: python From b9d42282397bfc68e36118735460522b669af43a Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 11:46:13 -0600 Subject: [PATCH 06/20] WIP: testing a monkey patch solution to package MANIFEST for newer versions of conda-build/setuptools used by conda-forge build CI --- recipes/turbo_turtle/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index 9775e20fc62b5..542c44324e179 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -15,6 +15,8 @@ build: script_env: - SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} script: + # TODO: Remove MANIFEST monkey patch when Turbo-Turtle is released with a MANIFEST and better subdirectory handling + - echo "recursive-include turbo_turtle/tutorials *" > MANIFEST.in - $PYTHON -m build --no-isolation - $PYTHON -m pip install dist/$PKG_NAME-$PKG_VERSION.tar.gz --no-deps --ignore-installed -v --no-build-isolation - scons man html From bfd9d8a95e2db76412955c361cd270eb2390d028 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 11:58:32 -0600 Subject: [PATCH 07/20] WIP: system tests can't pass on conda-forge CI servers because Abaqus and Cubit are not installed --- recipes/turbo_turtle/run_test.bat | 2 +- recipes/turbo_turtle/run_test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/turbo_turtle/run_test.bat b/recipes/turbo_turtle/run_test.bat index a70de3b5b956e..020ea582f4c88 100644 --- a/recipes/turbo_turtle/run_test.bat +++ b/recipes/turbo_turtle/run_test.bat @@ -1,4 +1,4 @@ turbo-turtle -h turbo-turtle fetch --destination turbo_turtle_fetch cd %SP_DIR%\%PKG_NAME% -pytest -vvv -n 4 --ignore=_abaqus_python +pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" diff --git a/recipes/turbo_turtle/run_test.sh b/recipes/turbo_turtle/run_test.sh index ba5084bf58692..c5a9030581329 100644 --- a/recipes/turbo_turtle/run_test.sh +++ b/recipes/turbo_turtle/run_test.sh @@ -1,4 +1,4 @@ turbo-turtle -h turbo-turtle fetch --destination turbo_turtle_fetch cd $SP_DIR/$PKG_NAME -pytest -vvv -n 4 --ignore=_abaqus_python +pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" From 39db755765085e4643db6fb43ff69f27e3ab9417 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 12:17:25 -0600 Subject: [PATCH 08/20] WIP: ignore tests that can't pass because the proprietary module is not availabe on conda-forge CI servers. It *should* be possible to run these unit tests if the module is properly mocked in the future --- recipes/turbo_turtle/run_test.bat | 3 ++- recipes/turbo_turtle/run_test.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/turbo_turtle/run_test.bat b/recipes/turbo_turtle/run_test.bat index 020ea582f4c88..15d5e017d3f58 100644 --- a/recipes/turbo_turtle/run_test.bat +++ b/recipes/turbo_turtle/run_test.bat @@ -1,4 +1,5 @@ turbo-turtle -h turbo-turtle fetch --destination turbo_turtle_fetch cd %SP_DIR%\%PKG_NAME% -pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" +REM TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module +pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=turbo_turtle/tests/test_wrappers.py diff --git a/recipes/turbo_turtle/run_test.sh b/recipes/turbo_turtle/run_test.sh index c5a9030581329..02a7dd78eb892 100644 --- a/recipes/turbo_turtle/run_test.sh +++ b/recipes/turbo_turtle/run_test.sh @@ -1,4 +1,5 @@ turbo-turtle -h turbo-turtle fetch --destination turbo_turtle_fetch cd $SP_DIR/$PKG_NAME -pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" +# TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module +pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=turbo_turtle/tests/test_wrappers.py From 0ba7c85732e0af0386e2a453d3babe77c2129702 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 12:26:46 -0600 Subject: [PATCH 09/20] WIP: repository and package ignore paths differ by the package root directory --- recipes/turbo_turtle/run_test.bat | 2 +- recipes/turbo_turtle/run_test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/turbo_turtle/run_test.bat b/recipes/turbo_turtle/run_test.bat index 15d5e017d3f58..0d23f5f7b5eb3 100644 --- a/recipes/turbo_turtle/run_test.bat +++ b/recipes/turbo_turtle/run_test.bat @@ -2,4 +2,4 @@ turbo-turtle -h turbo-turtle fetch --destination turbo_turtle_fetch cd %SP_DIR%\%PKG_NAME% REM TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module -pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=turbo_turtle/tests/test_wrappers.py +pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=tests/test_wrappers.py diff --git a/recipes/turbo_turtle/run_test.sh b/recipes/turbo_turtle/run_test.sh index 02a7dd78eb892..ad9d73a012b59 100644 --- a/recipes/turbo_turtle/run_test.sh +++ b/recipes/turbo_turtle/run_test.sh @@ -2,4 +2,4 @@ turbo-turtle -h turbo-turtle fetch --destination turbo_turtle_fetch cd $SP_DIR/$PKG_NAME # TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module -pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=turbo_turtle/tests/test_wrappers.py +pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=tests/test_wrappers.py From 0cd015c04b80692f7abd85eafb48d0e5c4256102 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 12:47:58 -0600 Subject: [PATCH 10/20] WIP: OS specific build scripts --- recipes/turbo_turtle/bld.bat | 6 ++++++ recipes/turbo_turtle/build.sh | 6 ++++++ recipes/turbo_turtle/meta.yaml | 7 ------- 3 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 recipes/turbo_turtle/bld.bat create mode 100644 recipes/turbo_turtle/build.sh diff --git a/recipes/turbo_turtle/bld.bat b/recipes/turbo_turtle/bld.bat new file mode 100644 index 0000000000000..ba022e8b322d3 --- /dev/null +++ b/recipes/turbo_turtle/bld.bat @@ -0,0 +1,6 @@ +REM TODO: Remove MANIFEST monkey patch when Turbo-Turtle is released with a MANIFEST and better subdirectory handling +echo "recursive-include turbo_turtle/tutorials *" > MANIFEST.in +%PYTHON% -m build --no-isolation +%PYTHON% -m pip install dist/%PKG_NAME%-%PKG_VERSION%.tar.gz --no-deps --ignore-installed -v --no-build-isolation +scons man html +%PYTHON% package_documentation.py diff --git a/recipes/turbo_turtle/build.sh b/recipes/turbo_turtle/build.sh new file mode 100644 index 0000000000000..6d8b3cac1b657 --- /dev/null +++ b/recipes/turbo_turtle/build.sh @@ -0,0 +1,6 @@ +# TODO: Remove MANIFEST monkey patch when Turbo-Turtle is released with a MANIFEST and better subdirectory handling +echo "recursive-include turbo_turtle/tutorials *" > MANIFEST.in +$PYTHON -m build --no-isolation +$PYTHON -m pip install dist/$PKG_NAME-$PKG_VERSION.tar.gz --no-deps --ignore-installed -v --no-build-isolation +scons man html +$PYTHON package_documentation.py diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index 542c44324e179..6416dcd2b0191 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -14,13 +14,6 @@ build: number: 0 script_env: - SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} - script: - # TODO: Remove MANIFEST monkey patch when Turbo-Turtle is released with a MANIFEST and better subdirectory handling - - echo "recursive-include turbo_turtle/tutorials *" > MANIFEST.in - - $PYTHON -m build --no-isolation - - $PYTHON -m pip install dist/$PKG_NAME-$PKG_VERSION.tar.gz --no-deps --ignore-installed -v --no-build-isolation - - scons man html - - $PYTHON package_documentation.py ignore_run_exports: - python_abi From a3418fa96480dff97c940527728de48821a017b6 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 13:08:56 -0600 Subject: [PATCH 11/20] BUG: add missing entrypoint in conda recipe --- recipes/turbo_turtle/meta.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index 6416dcd2b0191..ad339496af5b7 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -14,6 +14,8 @@ build: number: 0 script_env: - SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} + entry_points: + - turbo-turtle = turbo_turtle._main:main ignore_run_exports: - python_abi From afc45e3f2d38d467d8a7ea01706930522301e55c Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 13:11:13 -0600 Subject: [PATCH 12/20] BUG: learning the echo syntax for cmd.exe --- recipes/turbo_turtle/bld.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/turbo_turtle/bld.bat b/recipes/turbo_turtle/bld.bat index ba022e8b322d3..d8d7c3f605b96 100644 --- a/recipes/turbo_turtle/bld.bat +++ b/recipes/turbo_turtle/bld.bat @@ -1,5 +1,6 @@ REM TODO: Remove MANIFEST monkey patch when Turbo-Turtle is released with a MANIFEST and better subdirectory handling -echo "recursive-include turbo_turtle/tutorials *" > MANIFEST.in +@echo off +echo recursive-include turbo_turtle/tutorials *> MANIFEST.in %PYTHON% -m build --no-isolation %PYTHON% -m pip install dist/%PKG_NAME%-%PKG_VERSION%.tar.gz --no-deps --ignore-installed -v --no-build-isolation scons man html From 341d6551157fe53486f0960ac877ee2790503bbb Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 11 Sep 2024 13:37:03 -0600 Subject: [PATCH 13/20] BUG: patch around os-fragile test expectations until upstream patch is released --- recipes/turbo_turtle/run_test.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/turbo_turtle/run_test.bat b/recipes/turbo_turtle/run_test.bat index 0d23f5f7b5eb3..ca7451c580eeb 100644 --- a/recipes/turbo_turtle/run_test.bat +++ b/recipes/turbo_turtle/run_test.bat @@ -2,4 +2,5 @@ turbo-turtle -h turbo-turtle fetch --destination turbo_turtle_fetch cd %SP_DIR%\%PKG_NAME% REM TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module -pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=tests/test_wrappers.py +REM TODO: Remove test_fetch.py ignore when Turbo-Turtle releases a bugfix for test expectations +pytest -vvv -n 4 --ignore=_abaqus_python -m "not systemtest" --ignore=tests/test_wrappers.py --ignore=tests/test_fetch.py From 79c88e39388ec28a351894cfcbd09d2932bad26c Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Thu, 12 Sep 2024 12:22:49 -0600 Subject: [PATCH 14/20] TST: add a CLI system test --- recipes/turbo_turtle/run_test.bat | 1 + recipes/turbo_turtle/run_test.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/recipes/turbo_turtle/run_test.bat b/recipes/turbo_turtle/run_test.bat index ca7451c580eeb..96a14a9fd79ba 100644 --- a/recipes/turbo_turtle/run_test.bat +++ b/recipes/turbo_turtle/run_test.bat @@ -1,4 +1,5 @@ turbo-turtle -h +turbo-turtle docs --print-local-path turbo-turtle fetch --destination turbo_turtle_fetch cd %SP_DIR%\%PKG_NAME% REM TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module diff --git a/recipes/turbo_turtle/run_test.sh b/recipes/turbo_turtle/run_test.sh index ad9d73a012b59..f52c1d7b6a1e4 100644 --- a/recipes/turbo_turtle/run_test.sh +++ b/recipes/turbo_turtle/run_test.sh @@ -1,4 +1,5 @@ turbo-turtle -h +turbo-turtle docs --print-local-path turbo-turtle fetch --destination turbo_turtle_fetch cd $SP_DIR/$PKG_NAME # TODO: Remove test_wrapper.py ignore when Turbo-Turtle releases a mocked cubit module From 42b947593fa133a178f26b94da5d8c44e31faf6c Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Thu, 19 Sep 2024 07:25:42 -0600 Subject: [PATCH 15/20] MAINT: add upper-bound to WAVES dependency until Turbo-Turtle v0.12.7 --- recipes/turbo_turtle/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index ad339496af5b7..b4767d3ee183b 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -29,7 +29,7 @@ requirements: - sphinx-copybutton >=0.5.1 - sphinx_rtd_theme >=1 - sphinxcontrib-bibtex - - waves >=0.7.2 + - waves >=0.7.2,<0.11.0 host: - python - python-build @@ -40,7 +40,7 @@ requirements: - python >=3.8 - lazy_loader >=0.4 - scons >=4 - - waves >=0.7.2 + - waves >=0.7.2,<0.11.0 test: requires: From f36cc8a4dcd1162c9104599b084c19254424aa58 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Mon, 23 Sep 2024 08:06:41 -0600 Subject: [PATCH 16/20] MAINT: match current package documentation for setuptools_scm setup --- recipes/turbo_turtle/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index b4767d3ee183b..bd2ef92e5a81a 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -23,7 +23,7 @@ requirements: build: - lazy_loader >=0.4 - scons >=4 - - setuptools_scm[toml] >=6.2 + - setuptools_scm >=8 - sphinx >=5.1 - sphinx-argparse - sphinx-copybutton >=0.5.1 @@ -34,8 +34,8 @@ requirements: - python - python-build - pip - - setuptools >=62 - - setuptools_scm[toml] >=6.2 + - setuptools >=64 + - setuptools_scm >=8 run: - python >=3.8 - lazy_loader >=0.4 From 17d21040c5d85e88af7aa7e8aed7467608e04145 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 25 Sep 2024 08:04:49 -0600 Subject: [PATCH 17/20] MAINT: host-only requirements for noarch package recipes --- recipes/turbo_turtle/meta.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index bd2ef92e5a81a..da532c1b947aa 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -20,7 +20,10 @@ build: - python_abi requirements: - build: + host: + - python + - python-build + - pip - lazy_loader >=0.4 - scons >=4 - setuptools_scm >=8 @@ -30,12 +33,6 @@ requirements: - sphinx_rtd_theme >=1 - sphinxcontrib-bibtex - waves >=0.7.2,<0.11.0 - host: - - python - - python-build - - pip - - setuptools >=64 - - setuptools_scm >=8 run: - python >=3.8 - lazy_loader >=0.4 From 2b1bfd3b4ee22782ec3e82d20c5522de7760aa5a Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 25 Sep 2024 08:11:48 -0600 Subject: [PATCH 18/20] TST: add pip check package test --- recipes/turbo_turtle/meta.yaml | 1 + recipes/turbo_turtle/run_test.bat | 1 + recipes/turbo_turtle/run_test.sh | 1 + 3 files changed, 3 insertions(+) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index da532c1b947aa..cc0c5570154a0 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -41,6 +41,7 @@ requirements: test: requires: + - pip - pytest - pytest-xdist imports: diff --git a/recipes/turbo_turtle/run_test.bat b/recipes/turbo_turtle/run_test.bat index 96a14a9fd79ba..a18737734daed 100644 --- a/recipes/turbo_turtle/run_test.bat +++ b/recipes/turbo_turtle/run_test.bat @@ -1,3 +1,4 @@ +pip check turbo-turtle -h turbo-turtle docs --print-local-path turbo-turtle fetch --destination turbo_turtle_fetch diff --git a/recipes/turbo_turtle/run_test.sh b/recipes/turbo_turtle/run_test.sh index f52c1d7b6a1e4..6b2fdcea24ef6 100644 --- a/recipes/turbo_turtle/run_test.sh +++ b/recipes/turbo_turtle/run_test.sh @@ -1,3 +1,4 @@ +pip check turbo-turtle -h turbo-turtle docs --print-local-path turbo-turtle fetch --destination turbo_turtle_fetch From 1c08d2e4c790f2bb3306dd40d357745ea43035c6 Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 25 Sep 2024 08:19:26 -0600 Subject: [PATCH 19/20] MAINT: no longer require the python abi ignore statement --- recipes/turbo_turtle/meta.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index cc0c5570154a0..f1f0217137d59 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -16,8 +16,6 @@ build: - SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} entry_points: - turbo-turtle = turbo_turtle._main:main - ignore_run_exports: - - python_abi requirements: host: From 7e7e0936d8ca5b95db592c4634c5903a2d0a73ec Mon Sep 17 00:00:00 2001 From: Kyle Brindley Date: Wed, 25 Sep 2024 10:22:06 -0600 Subject: [PATCH 20/20] MAINT: add back missing build backend --- recipes/turbo_turtle/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/turbo_turtle/meta.yaml b/recipes/turbo_turtle/meta.yaml index f1f0217137d59..f9b376d743dcb 100644 --- a/recipes/turbo_turtle/meta.yaml +++ b/recipes/turbo_turtle/meta.yaml @@ -24,6 +24,7 @@ requirements: - pip - lazy_loader >=0.4 - scons >=4 + - setuptools >=64 - setuptools_scm >=8 - sphinx >=5.1 - sphinx-argparse