Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT: Update feedstock recipe for modern noarch python #32

Merged
merged 2 commits into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -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'
2 changes: 1 addition & 1 deletion .github/CODEOWNERS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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