Skip to content
Merged
Changes from 2 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
45 changes: 45 additions & 0 deletions recipes/numpy-typing-compat/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
context:
version: 2.3.20250730
python_min: 3.11

package:
name: numpy-typing-compat
version: ${{ version }}

source:
- url: https://pypi.org/packages/source/n/numpy-typing-compat/numpy_typing_compat-${{
version }}.tar.gz
sha256: eb30717dc7390a038c2247be1a7e8bf1a48b8a4701a01960804830a231631bef

build:
script: ${{ PYTHON }} -m pip install .
number: 0
noarch: python

requirements:
host:
- python ${{ python_min }}.*
- uv-build
- pip
run:
- python >=${{ python_min }}
- numpy <2.4,>=2.3

tests:
- python:
imports:
- numpy-typing-compat
pip_check: true
python_version: ${{ python_min }}.*

about:
homepage: https://github.com/jorenham/numpy-typing-compat
summary: Static typing compatibility layer for older versions of NumPy
description: This package provides version-specific boolean constants that allow library authors to write NumPy-version-dependent static type annotations.
license: BSD-3-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- lucascolley
- jorenham
Loading