Skip to content

Commit

Permalink
3.10 support (#2493)
Browse files Browse the repository at this point in the history
* test again

* typo
  • Loading branch information
jkterry1 authored Nov 20, 2021
1 parent 3f5b46d commit 42a4a09
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v2
- run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To install the base Gym library, use `pip install gym`.

This does not include dependencies for all families of environments (there's a massive number, and some can be problematic to install on certain systems). You can install these dependencies for one family like `pip install gym[atari]` or use `pip install gym[all]` to install all dependencies.

We support Python 3.7, 3.8 and 3.9 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.
We support Python 3.7, 3.8, 3.9 and 3.10 on Linux and macOS. We will accept PRs related to Windows, but do not officially support it.

## API

Expand Down Expand Up @@ -41,7 +41,7 @@ Gym keeps strict versioning for reproducibility reasons. All environments end in

## Citation

A whitepaper from when OpenAI Gym just came out is available https://arxiv.org/pdf/1606.01540, and can be cited with the following bibtex entry:
A whitepaper from when Gym just came out is available https://arxiv.org/pdf/1606.01540, and can be cited with the following bibtex entry:

```
@misc{1606.01540,
Expand Down
20 changes: 0 additions & 20 deletions gym/envs/README.md

This file was deleted.

5 changes: 1 addition & 4 deletions gym/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@ def __init__(
try:
http_body = http_body.decode("utf-8")
except:
http_body = (
"<Could not decode body as utf-8. "
"Please report to [email protected]>"
)
http_body = "<Could not decode body as utf-8.>"

self._message = message
self.http_body = http_body
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
version=VERSION,
description="Gym: A universal API for reinforcement learning environments.",
url="https://github.com/openai/gym",
author="Gym community",
author="Gym Community",
author_email="[email protected]",
license="",
packages=[package for package in find_packages() if package.startswith("gym")],
Expand Down Expand Up @@ -71,5 +71,6 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)

0 comments on commit 42a4a09

Please sign in to comment.