Skip to content

Commit

Permalink
Bump version number to v2.2.2
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 617371865
Change-Id: I7992a874b64169ed152126eab64d5b470b317bd6
  • Loading branch information
jagapiou authored and Copybara-Service committed Mar 20, 2024
1 parent ad80372 commit c3f7bb0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.2.1] - 2023-07-25
## [2.2.2] - 2024-03-20

### Fixed

- Update setup.py to work with earlier setuptools (fixes broken 2.2.1 release).


## [2.2.1] - 2024-03-19 [YANKED]

### Changed

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import setuptools
from setuptools.command import build_py

VERSION = '2.2.1'
VERSION = '2.2.2'
ASSETS_VERSION = '2.1.0'

ASSETS_URL = f'http://storage.googleapis.com/dm-meltingpot/meltingpot-assets-{ASSETS_VERSION}.tar.gz'
Expand Down

3 comments on commit c3f7bb0

@gogo16888
Copy link

Choose a reason for hiding this comment

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

Hello, Mr. Administrator.
After installing using pip, I want to run a Training. I downloaded the following examples related package, but the 'requirements. txt' file was not found in the package, and the 'self_play_train. py' was also not found. I am a beginner in this field, but I am very interested. I hope you can answer this installation question. Thank you.

————————————>

RLlib

This example uses RLlib to train agents in self-play on a Melting Pot substrate.

First you will need to install the dependencies needed by the examples:

cd <meltingpot_root>
pip install -r examples/requirements.txt

Then you can run the training experiment using:

cd examples/rllib
python self_play_train.py

@gogo16888
Copy link

Choose a reason for hiding this comment

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

I manually installed Gymnasium-0.29.1, I'm not sure if it works?
-------------------------->
Using cached Gymnasium-0.26.3-py3-none-any.whl (836 kB)
Installing collected packages: gymnasium
Attempting uninstall: gymnasium
Found existing installation: gymnasium 0.29.1
Uninstalling gymnasium-0.29.1:
Successfully uninstalled gymnasium-0.29.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
stable-baselines3 2.2.1 requires gymnasium<0.30,>=0.28.1, but you have gymnasium 0.26.3 which is incompatible.
supersuit 3.9.2 requires gymnasium>=0.28.1, but you have gymnasium 0.26.3 which is incompatible.
pettingzoo 1.24.3 requires gymnasium>=0.28.0, but you have gymnasium 0.26.3 which is incompatible.
Successfully installed gymnasium-0.26.3

@jagapiou
Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry about this, the examples are broken and have been for some time.

I created #232 to make this issue more clear and to track the issue.

This issue isn't really related to this commit, so let's take any further conversation there please.

Please sign in to comment.