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 jumanji #27947

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
51 changes: 51 additions & 0 deletions recipes/jumanji/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
context:
name: jumanji
version: 1.0.1

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

source:
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/jumanji-${{ version }}.tar.gz
sha256: cdbc0245deb2f72cfdaf3719793a484d26ac25b06f2bfaa0e8323a1d79fef8d2
patches:
- relax-matplotlib-pin.patch

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

requirements:
host:
- python >=3.8
- pip
- setuptools
run:
- python >=3.8
- chex >=0.1.3
- dm-env >=1.5
- gym >=0.22.0
- huggingface_hub
- jax >=0.2.26
- matplotlib-base
- numpy
- pillow >=9.0.0
- typing_extensions >=4.0.0

tests:
- python:
imports:
- jumanji
pip_check: true

about:
summary: A diverse suite of scalable reinforcement learning environments in JAX
license: Apache-2.0
license_file: LICENSE
homepage: https://github.com/instadeepai/jumanji/

extra:
recipe-maintainers:
- Tobias-Fischer
13 changes: 13 additions & 0 deletions recipes/jumanji/relax-matplotlib-pin.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/requirements/requirements.txt b/requirements/requirements.txt
index 2e398c025..407608e93 100644
--- a/requirements/requirements.txt
+++ b/requirements/requirements.txt
@@ -3,7 +3,7 @@ dm-env>=1.5
gym>=0.22.0
huggingface-hub
jax>=0.2.26
-matplotlib~=3.7.4
+matplotlib
numpy>=1.19.5
Pillow>=9.0.0
typing-extensions>=4.0.0
Loading