From 211b40cce5dde727571fee81b4e323be336cde4e Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Tue, 12 Nov 2024 18:07:53 -0700 Subject: [PATCH 1/2] MNT: Update feedstock recipe for modern noarch python * Use 'python {{ python_min }}' syntax for the python requirements for noarch python recipes. - c.f. https://conda-forge.org/docs/maintainer/knowledge_base/#noarch-python * Use a Jinja2 set statement for the python_min to allow all the build metadata to be contained in the recipe/meta.yaml and override the global python_min with packaging's python_min of 3.8. * Remove '--no-deps' as the build tool (e.g. conda-build, rattler-build) will specify all required 'pip install' options. * Use 'pypi.org'. * Add matthewfeickert and ofek as feedstock maintainers. * Bump build number. Co-authored-by: Henry Schreiner --- recipe/meta.yaml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index bbac4d4..3b66a66 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,29 +1,30 @@ {% set version = "24.2" %} +{% set python_min = "3.8" %} package: name: packaging version: {{ version }} source: - url: https://pypi.io/packages/source/p/packaging/packaging-{{ version }}.tar.gz + url: https://pypi.org/packages/source/p/packaging/packaging-{{ version }}.tar.gz sha256: c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f build: - number: 0 + number: 1 noarch: python - script: {{ PYTHON }} -m pip install . --no-deps -vv + script: {{ PYTHON }} -m pip install . -vv requirements: host: - - python >=3.8 + - python {{ python_min }} - flit >=3.3 - pip - run: - - python >=3.8 + - python >={{ python_min }} test: requires: + - python {{ python_min }} - pip imports: - packaging @@ -35,8 +36,12 @@ about: license: Apache-2.0 license_file: LICENSE summary: Core utilities for Python packages + doc_url: https://packaging.pypa.io/ + dev_url: https://github.com/pypa/packaging extra: recipe-maintainers: - jakirkham - nicoddemus + - matthewfeickert + - ofek From 99ab636465923a09949857cbaebd801c0fa133ab Mon Sep 17 00:00:00 2001 From: "conda-forge-webservices[bot]" <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Date: Sat, 16 Nov 2024 23:08:05 +0000 Subject: [PATCH 2/2] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.44.6, and conda-forge-pinning 2024.11.16.14.10.20 --- .ci_support/linux_64_.yaml | 10 +++++++++- .github/CODEOWNERS | 2 +- README.md | 6 ++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 82f2873..b4ff262 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -1,8 +1,16 @@ cdt_name: -- cos7 +- conda channel_sources: - conda-forge channel_targets: - conda-forge main docker_image: - quay.io/condaforge/linux-anvil-cos7-x86_64 +pin_run_as_build: + python: + min_pin: x.x + max_pin: x.x +python: +- 3.12.* *_cpython +python_min: +- '3.9' diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 9c8c39a..e8e969a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @jakirkham @nicoddemus \ No newline at end of file +* @jakirkham @matthewfeickert @nicoddemus @ofek \ No newline at end of file diff --git a/README.md b/README.md index 79e3b92..7657f15 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,10 @@ Package license: Apache-2.0 Summary: Core utilities for Python packages +Development: https://github.com/pypa/packaging + +Documentation: https://packaging.pypa.io/ + Current build status ==================== @@ -144,5 +148,7 @@ Feedstock Maintainers ===================== * [@jakirkham](https://github.com/jakirkham/) +* [@matthewfeickert](https://github.com/matthewfeickert/) * [@nicoddemus](https://github.com/nicoddemus/) +* [@ofek](https://github.com/ofek/)