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 CosmoPower #28296

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
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
49 changes: 49 additions & 0 deletions recipes/cosmopower/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% set name = "cosmopower" %}
{% set version = "0.2.0" %}
{% set python_min = 3.9 %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/cosmopower-{{ version }}.tar.gz
sha256: 650e87bc9a5a754a9bb60facd0fa44ae1a3cc4d4e20548cb924c2b38bee8704a

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

requirements:
host:
- python {{ python_min }}
- pip
- setuptools
run:
- python >={{ python_min }}
- tensorflow <2.14
- scikit-learn
- tqdm
- pytest
- tensorflow-probability <0.22

test:
imports:
- cosmopower
commands:
- pip check
requires:
- python >={{ python_min }}
- pip

about:
home: https://github.com/alessiospuriomancini/cosmopower
summary: Machine Learning - accelerated Bayesian inference
license: GPL-2.0-or-later
license_file: LICENSE

extra:
recipe-maintainers:
- joezuntz
- alessiospuriomancini
Loading