diff --git a/.github/workflows/cpu-tests.yaml b/.github/workflows/cpu-tests.yaml index 9cf9cc79..2cc88abf 100644 --- a/.github/workflows/cpu-tests.yaml +++ b/.github/workflows/cpu-tests.yaml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] timeout-minutes: 20 @@ -46,16 +46,16 @@ jobs: if: ${{ matrix.os == 'windows-latest' }} shell: powershell run: | + choco upgrade swig -y env\\Scripts\\Activate.ps1 - pip install swig - pip install -e .[atari,box2d,test,dev] + python -m pip install -e .[atari,box2d,test,dev] - name: Install packages Linux if: ${{ matrix.os == 'ubuntu-latest' }} run: | + sudo apt-get install --no-install-recommends -y --only-upgrade swig source env/bin/activate - pip install swig - pip install -e .[atari,box2d,test,dev] + python -m pip install -e .[atari,box2d,test,dev] - name: Run tests Windows if: ${{ matrix.os == 'windows-latest' }} diff --git a/README.md b/README.md index 9cc9e3bf..de9eeaa4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # ⚡ SheepRL 🐑 +[![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-380/) +[![Python 3.9](https://img.shields.io/badge/python-3.9-blue.svg)](https://www.python.org/downloads/release/python-390/) +[![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-3100/) +[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3110/) +

diff --git a/pyproject.toml b/pyproject.toml index 6577c495..23ea930f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ maintainers = [ keywords = ["reinforcement", "machine", "learning", "distributed", "production"] license = { file = "LICENSE" } readme = { file = "docs/README.md", content-type = "text/markdown" } -requires-python = ">=3.8,<3.11" +requires-python = ">=3.8,<3.12" classifiers = ["Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence"] dependencies = [ "gymnasium==0.29.*",