Skip to content

Commit

Permalink
fix ci (#285)
Browse files Browse the repository at this point in the history
- upgrade lint to 3.11
- upgrade test docker image to cuda 12.2
- fix rtfd
- bump version
  • Loading branch information
Trinkle23897 committed Oct 29, 2023
1 parent a1249e0 commit ebd17ee
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: ">=1.16.0"
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
Expand Down
21 changes: 21 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion docker/dev-cn.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Need docker >= 20.10.9, see https://stackoverflow.com/questions/71941032/why-i-cannot-run-apt-update-inside-a-fresh-ubuntu22-04

FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04

ARG DEBIAN_FRONTEND=noninteractive
ARG HOME=/root
Expand Down
2 changes: 1 addition & 1 deletion docker/dev.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Need docker >= 20.10.9, see https://stackoverflow.com/questions/71941032/why-i-cannot-run-apt-update-inside-a-fresh-ubuntu22-04

FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
FROM nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04

ARG DEBIAN_FRONTEND=noninteractive
ARG HOME=/root
Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx
sphinx_rtd_theme
2 changes: 1 addition & 1 deletion envpool/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
register,
)

__version__ = "0.8.3"
__version__ = "0.8.4"
__all__ = [
"register",
"make",
Expand Down
2 changes: 1 addition & 1 deletion envpool/workspace0.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -428,4 +428,4 @@ def workspace():
name = "cuda",
)

workspace0 = workspace
workspace0 = workspace
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = envpool
version = 0.8.3
version = 0.8.4
author = "EnvPool Contributors"
author_email = "sail@sea.com"
description = "C++-based high-performance parallel environment execution engine (vectorized env) for general RL environments."
Expand Down

0 comments on commit ebd17ee

Please sign in to comment.