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 dm-acme 0.2.0 (and dm-env 1.3) #11804

Merged
merged 5 commits into from
Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from 3 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
57 changes: 57 additions & 0 deletions recipes/dm-acme/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{% set name = "dm-acme" %}
{% set version = "0.1.1" %}


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

source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 9e041b8250ab26863bb0dfc34f139086726fe7979f6157860360c93f85841951
# TODO: remove after https://github.com/deepmind/acme/pull/3
- fn: {{ name }}-{{ version }}-LICENSE
url: https://raw.githubusercontent.com/deepmind/acme/master/LICENSE
sha256: 9895751427d33c641865a9e210545a0efce05f8ed55fc8c9b81af66977964b0c

build:
number: 0
script: {{ PYTHON }} -m pip install . -vv
# TODO remove after bazel, dm-tree is available for windows
# - https://github.com/conda-forge/bazel-feedstock/issues/36
skip: true # [win]
# noarch: python
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it can be noarch. It doesn't compile in any deps



requirements:
host:
- pip
- python
run:
- absl-py
- dm-env
- dm-tree
- numpy
- pillow
- python
- wrapt

test:
imports:
- acme
- acme.adders
commands:
- pip check
requires:
- pip

about:
home: https://pypi.org/project/dm-acme
summary: A Python library for Reinforcement Learning.
license: Apache-2.0
license_file: {{ name }}-{{ version }}-LICENSE
dev_url: https://github.com/deepmind/acme

extra:
recipe-maintainers:
- bollwyvl
57 changes: 57 additions & 0 deletions recipes/dm-env/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{% set name = "dm_env" %}
{% set version = "1.2" %}


package:
name: {{ name.replace("_", "-") }}
version: {{ version }}

source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: c45270971eac0c761a68e6d03b7be0d06310eaf01f1a2fd761a804bcaea2aec9
# TODO: remove after https://github.com/deepmind/dm_env/pull/3
- fn: {{ name }}-{{ version }}-LICENSE
url: https://raw.githubusercontent.com/deepmind/{{ name }}/v{{ version }}/LICENSE
sha256: 58d1e17ffe5109a7ae296caafcadfdbe6a7d176f0bc4ab01e12a689b0499d8bd

build:
number: 0
script: {{ PYTHON }} -m pip install . -vv
# TODO remove after bazel, dm-tree is available for windows
# - https://github.com/conda-forge/bazel-feedstock/issues/36
skip: true # [win]
# noarch: python

requirements:
host:
- pip
- python
run:
- absl-py
- dm-tree
- enum34 # [py<34]
- funcsigs # [py<33]
- numpy
- python
- six

test:
imports:
- dm_env
commands:
- pip check
- nosetests dm_env
requires:
- pip
- nose

about:
home: https://pypi.org/project/dm-env
summary: A Python interface for Reinforcement Learning environments.
license: Apache-2.0
license_file: {{ name }}-{{ version }}-LICENSE
dev_url: https://github.com/deepmind/dm_env

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


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

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

build:
number: 0
script: {{ PYTHON }} -m pip install . -vv
# TODO remove after bazel is available for windows
# - https://github.com/conda-forge/bazel-feedstock/issues/36
skip: true # [win]

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- bazel
host:
- pip
- python
run:
- python
- six >=1.12.0
- wrapt

test:
imports:
- tree
commands:
- pip check
- python -m unittest tree.tree_test tree.tree_benchmark
requires:
- pip
- attrs
- absl-py
- numpy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it compile against numpy?


about:
home: https://pypi.org/project/dm-tree
summary: Tree is a library for working with nested data structures.
license: Apache-2.0
license_file: LICENSE
dev_url: https://github.com/deepmind/tree
doc_url: https://tree.readthedocs.io
doc_source_url: https://github.com/deepmind/tree/tree/master/docs

extra:
recipe-maintainers:
- bollwyvl