Add python to 3.11 CI (#511)

This commit is contained in:
Mark Towers
2023-05-21 00:09:42 +01:00
committed by GitHub
parent 553150a13e
commit 6d103018b4
4 changed files with 9 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- run: |

View File

@@ -65,6 +65,6 @@ repos:
language: node
pass_filenames: false
types: [python]
additional_dependencies: ["pyright"]
additional_dependencies: ["pyright@1.1.308"]
args:
- --project=pyproject.toml

View File

@@ -23,6 +23,12 @@ RUN apt-get -y update \
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/root/.mujoco/mujoco210/bin"
# Build mujoco-py from source. Pypi installs wheel packages and Cython won't recompile old file versions in the Github Actions CI.
# Thus generating the following error https://github.com/cython/cython/pull/4428
RUN git clone https://github.com/openai/mujoco-py.git\
&& cd mujoco-py \
&& pip install -e .
COPY . /usr/local/gymnasium/
WORKDIR /usr/local/gymnasium/

View File

@@ -84,7 +84,7 @@ all = [
]
testing = [
"pytest ==7.1.3",
"scipy ==1.7.3",
"scipy >= 1.7.3",
]
[project.urls]