From f90955180a4eb399aea5f3e5399641b0f0a9b1c6 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 18 Jun 2026 00:39:36 -0600 Subject: [PATCH] FIX: Add closing quote to match condition * Add missing '"' to close the match condition. * Add '--no-deps --no-build-isolation' flags to the v0 example Python build commands to match the current recommendations. - c.f. https://conda-forge.org/docs/maintainer/example_recipes/pure-python/ * As setuptools is not the only build system that exists after PEP 517/518 use the term "build system" and then provide setuptools as an example. --- docs/maintainer/adding_pkgs.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/maintainer/adding_pkgs.mdx b/docs/maintainer/adding_pkgs.mdx index 101eb3d32b..ded1aa6a3e 100644 --- a/docs/maintainer/adding_pkgs.mdx +++ b/docs/maintainer/adding_pkgs.mdx @@ -393,7 +393,7 @@ You can e.g. specify not to build … ```recipe build: - skip: match(python, "<3.12) + skip: match(python, "<3.12") ``` @@ -431,7 +431,7 @@ Normally Python packages should use this line: ```recipe build: - script: "{{ PYTHON }} -m pip install . -vv" + script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation" ``` ```recipe @@ -454,8 +454,8 @@ These options should be used to ensure a clean installation of the package witho dependencies. This helps make sure that we're only including this package, and not accidentally bringing any dependencies along into the conda package. -Usually pure-Python packages only require `python`, `setuptools` and `pip` -as `host` requirements; the real package dependencies are only +Usually pure-Python packages only require `python`, a build system (e.g. `setuptools`), +and `pip` as `host` requirements; the real package dependencies are only `run` requirements.