{% set name = "annotated-types" %} {% set alt_name = name.replace('-','_') %} {% set version = "0.6.0" %} package: name: {{ name|lower }} version: {{ version }} source: url: https://pypi.org/packages/source/{{ name[0] }}/{{ alt_name }}/{{ alt_name }}-{{ version }}.tar.gz sha256: 563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d build: skip: true # [py<38] script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation -vv number: 1 requirements: host: - python - pip - hatchling run: - python - typing-extensions >=4.0.0 # [py<39] test: source_files: - tests imports: - annotated_types commands: - pip check - pytest -v tests requires: - pip - pytest about: home: https://github.com/annotated-types/annotated-types summary: Reusable constraint types to use with typing.Annotated description: | This package provides metadata objects which can be used to represent common constraints such as upper and lower bounds on scalar values and collection sizes, a Predicate marker for runtime checks, and descriptions of how we intend these metadata to be interpreted. In some cases, we also note alternative representations which do not require this package. license: MIT license_file: LICENSE license_family: MIT doc_url: https://github.com/annotated-types/annotated-types dev_url: https://github.com/annotated-types/annotated-types extra: recipe-maintainers: - mattwthompson - samuelcolvin - Zac-HD