Skip to content

arcade-learning-environment 0.11.0 #221507

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

Merged
merged 2 commits into from
Apr 28, 2025
Merged
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
27 changes: 18 additions & 9 deletions Formula/a/arcade-learning-environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@ class ArcadeLearningEnvironment < Formula

desc "Platform for AI research"
homepage "https://github.com/Farama-Foundation/Arcade-Learning-Environment"
url "https://github.com/Farama-Foundation/Arcade-Learning-Environment/archive/refs/tags/v0.10.2.tar.gz"
sha256 "901a2dd3a5709361d5e6f95eb4798a749870c924a549c20b516b12da4fa43457"
url "https://github.com/Farama-Foundation/Arcade-Learning-Environment/archive/refs/tags/v0.11.0.tar.gz"
sha256 "300717009d18c784bf4b407f608e269d7c87e40769c277206230011352e65b97"
license "GPL-2.0-only"
head "https://github.com/Farama-Foundation/Arcade-Learning-Environment.git", branch: "master"

bottle do
sha256 cellar: :any_skip_relocation, arm64_sequoia: "ebc5e9d5ab5b21c306f8e3ab6f7dfeae1f05ba7cad8e0471a9a6d48c76a8feae"
sha256 cellar: :any_skip_relocation, arm64_sonoma: "46b5a4e075120dda1d70eb59f119da585337ade688775b9f2824f77122f2c94e"
sha256 cellar: :any_skip_relocation, arm64_ventura: "9b00e5f0b6686381e93f86545abeb34008be3b083ddd51e7125eb0f4e9af4c15"
sha256 cellar: :any_skip_relocation, sonoma: "99df6e80824a3a2ae33a2dc70dcf934ff6e316a83c0d8a54812b07c76ad72f5f"
sha256 cellar: :any_skip_relocation, ventura: "dfac6d27455017d764d3dd4762511a4647289403c9f6fdb94b7d7921b92598ea"
sha256 cellar: :any_skip_relocation, arm64_linux: "80c8aa063e60eddbc7cc8ace8a5536483d88d008d75b758850e5bbf82b6580fd"
sha256 cellar: :any_skip_relocation, x86_64_linux: "79f9e05386444744b3c2304eec9df1f4c874448c79f3a258ee88831f0cdb33b5"
sha256 cellar: :any, arm64_sonoma: "191b6685efed5b2ba30b0d6202cc72c587baf4d634f574282af9938c1bf91c23"
sha256 cellar: :any, arm64_ventura: "b5a2ca6b560a54dabeb2007590d593d909c6f0b06f58bd9f8d4beda70f49b27e"
sha256 cellar: :any, sonoma: "869f084d4552b4eeea0a87c7dfbf170c2ba0a44f6a7d21efbfc78f8c539c4e7b"
sha256 cellar: :any, ventura: "ff92a17a39e49b0b9e52d65b6e691a48d5ff37d5aac4b4949566a7b6dc627456"
sha256 cellar: :any_skip_relocation, x86_64_linux: "61ae2d9e4d3527b8ef0f8dd070b00cd09aaddb1d5eebe2ae8296ee33266eecaf"
end

depends_on "cmake" => :build
depends_on "ninja" => :build
depends_on "pybind11" => :build
depends_on "python-packaging" => :build
depends_on "python-setuptools" => :build
depends_on macos: :catalina # requires std::filesystem
depends_on "numpy"
depends_on "opencv"
depends_on "[email protected]"
depends_on "sdl2"

Expand All @@ -35,11 +35,20 @@ class ArcadeLearningEnvironment < Formula
sha256 "02ca777c16476a72fa36680a2ba78f24c3ac31b2155033549a5f37a0653117de"
end

resource "gymnasium" do
url "https://files.pythonhosted.org/packages/90/69/70cd29e9fc4953d013b15981ee71d4c9ef4d8b2183e6ef2fe89756746dce/gymnasium-1.1.1.tar.gz"
sha256 "8bd9ea9bdef32c950a444ff36afc785e1d81051ec32d30435058953c20d2456d"
end

def python3
"python3.13"
end

def install
resource("gymnasium").stage do
system python3, "-m", "pip", "install", *std_pip_args(build_isolation: true), "."
end

system "cmake", "-S", ".", "-B", "build",
"-DSDL_SUPPORT=ON",
"-DSDL_DYNLOAD=ON",
Expand Down
4 changes: 4 additions & 0 deletions pypi_formula_mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
"apprise": {
"exclude_packages": ["certifi"]
},
"arcade-learning-environment": {
"exclude_packages": ["numpy"],
"extra_packages": ["gymnasium"]
},
"arjun": {
"exclude_packages": ["certifi"]
},
Expand Down
Loading