Skip to content

Commit

Permalink
Add Python 3.12 support (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
younik authored Oct 8, 2024
1 parent ffb481e commit 322d93a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 22 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,16 @@ on:

jobs:
build-wheels:
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
include:
- os: ubuntu-latest
python: 38
platform: manylinux_x86_64
- os: ubuntu-latest
python: 39
platform: manylinux_x86_64
- os: ubuntu-latest
python: 310
platform: manylinux_x86_64
- os: ubuntu-latest
python: 311
platform: manylinux_x86_64

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version: '3.8'
- name: Install dependencies
run: python -m pip install --upgrade pip setuptools build
- name: Build sdist and wheels
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3
- run: |
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--extra-index-url https://download.pytorch.org/whl/nightly/cpu
torch>=2.3.0.dev20231230
torch
torchrl
sphinx
sphinx-autobuild
sphinx_github_changelog
Expand All @@ -12,6 +12,6 @@ imageio>=2.14.1
nbmake
git+https://github.com/sphinx-gallery/sphinx-gallery.git@4006662c8c1984453a247dc6d3df6260e5b00f4b#egg=sphinx_gallery
git+https://github.com/Farama-Foundation/Celshast#egg=furo
torchrl-nightly>=2023.12.30
torchrl
pyvirtualdisplay
moviepy
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
]
Expand Down Expand Up @@ -49,7 +50,7 @@ testing = [

integrations = [
"torchrl",
"agilerl"
"agilerl@git+https://github.com/AgileRL/AgileRL.git"
]

[project.urls]
Expand Down

0 comments on commit 322d93a

Please sign in to comment.