Support python 3.12 (#954)

* Update Linux_CI.yml

* Update MacOS_CI.yml

* Update Windows_CI.yml

* Delete .lgtm.yml

* Update lqr_planner.py

* Update lqr_planner.py

* Update config.yml

* Update environment.yml

* Update ruff.toml

* Update README.md

* Update getting_started_main.rst

* Update doc_requirements.txt
This commit is contained in:
Atsushi Sakai
2024-03-14 22:01:51 +09:00
committed by GitHub
parent a79cc374f3
commit 1656cab0d2
9 changed files with 11 additions and 15 deletions

View File

@@ -6,7 +6,7 @@ orbs:
jobs:
build_doc:
docker:
- image: cimg/python:3.11
- image: cimg/python:3.12
steps:
- checkout
- run:

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.11' ]
python-version: [ '3.12' ]
name: Python ${{ matrix.python-version }} CI

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: [ '3.11' ]
python-version: [ '3.12' ]
name: Python ${{ matrix.python-version }} CI
steps:
- uses: actions/checkout@v4
@@ -36,4 +36,4 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
- name: do all unit tests
run: bash runtests.sh
run: bash runtests.sh

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: [ '3.11' ]
python-version: [ '3.12' ]
name: Python ${{ matrix.python-version }} CI
steps:
- uses: actions/checkout@v4
@@ -33,4 +33,4 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
- name: do all unit tests
run: bash runtests.sh
run: bash runtests.sh

View File

@@ -1,4 +0,0 @@
extraction:
python:
python_setup:
version: 3

View File

@@ -95,7 +95,7 @@ See this paper for more details:
For running each sample code:
- [Python 3.11.x](https://www.python.org/)
- [Python 3.12.x](https://www.python.org/)
- [NumPy](https://numpy.org/)

View File

@@ -26,7 +26,7 @@ See this paper for more details:
Requirements
-------------
- `Python 3.11.x`_
- `Python 3.12.x`_
- `NumPy`_
- `SciPy`_
- `Matplotlib`_

View File

@@ -2,7 +2,7 @@ name: python_robotics
channels:
- conda-forge
dependencies:
- python=3.11
- python=3.12
- pip
- scipy
- numpy

View File

@@ -6,7 +6,7 @@ exclude = [
]
# Assume Python 3.11
target-version = "py311"
target-version = "py312"
[per-file-ignores]
@@ -15,4 +15,4 @@ target-version = "py311"
max-complexity = 10
[pydocstyle]
convention = "numpy"
convention = "numpy"