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

Add outlines-core and airportsdata #27820

Closed
wants to merge 4 commits into from
Closed
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
42 changes: 42 additions & 0 deletions recipes/airportsdata/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{% set name = "airportsdata" %}
{% set version = "20241001" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/airportsdata-{{ version }}.tar.gz
sha256: fa0bd143b4f4be3557cb892fa0612ef210fd91a92bd720b4d8221de576a4fa00

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.9
- setuptools
- pip
run:
- python >=3.9

test:
imports:
- airportsdata
commands:
- pip check
requires:
- pip

about:
home: https://github.com/mborsetti/airportsdata
summary: Extensive database of location and timezone data for nearly every airport and landing strip in the world.
license: MIT
license_file: LICENSE
dev_url: https://github.com/mborsetti/airportsdata

extra:
recipe-maintainers:
- pavelzw
56 changes: 56 additions & 0 deletions recipes/outlines-core/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "outlines-core" %}
{% set version = "0.1.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/outlines_core-{{ version }}.tar.gz
sha256: aa9f04bb48ed46af332615ba6ea9aef40199c35b43ba1d3f32168a4bf378ae9e

build:
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python
- setuptools >=45
- setuptools-scm >=6.2
- setuptools-rust
- pip
- {{ compiler('rust') }}
- {{ compiler('c') }}
- {{ stdlib('c') }}
run:
- python
- interegular
- numpy <2.0.0
- cloudpickle
- diskcache
- pydantic >=2.0
- referencing
- jsonschema
- tqdm
- datasets
- typing_extensions

test:
imports:
- outlines_core
commands:
- pip check
requires:
- pip

about:
# https://github.com/dottxt-ai/outlines/issues/1200
home: https://github.com/dottxt-ai/outlines
summary: Structured Text Generation in Rust
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- pavelzw
Loading