Skip to content

Commit 1656cab

Browse files
authored
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
1 parent a79cc37 commit 1656cab

File tree

9 files changed

+11
-15
lines changed

9 files changed

+11
-15
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ orbs:
66
jobs:
77
build_doc:
88
docker:
9-
- image: cimg/python:3.11
9+
- image: cimg/python:3.12
1010
steps:
1111
- checkout
1212
- run:

.github/workflows/Linux_CI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: [ '3.11' ]
15+
python-version: [ '3.12' ]
1616

1717
name: Python ${{ matrix.python-version }} CI
1818

.github/workflows/MacOS_CI.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: macos-latest
1717
strategy:
1818
matrix:
19-
python-version: [ '3.11' ]
19+
python-version: [ '3.12' ]
2020
name: Python ${{ matrix.python-version }} CI
2121
steps:
2222
- uses: actions/checkout@v4
@@ -36,4 +36,4 @@ jobs:
3636
python -m pip install --upgrade pip
3737
pip install -r requirements/requirements.txt
3838
- name: do all unit tests
39-
run: bash runtests.sh
39+
run: bash runtests.sh

.github/workflows/Windows_CI.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: windows-latest
1717
strategy:
1818
matrix:
19-
python-version: [ '3.11' ]
19+
python-version: [ '3.12' ]
2020
name: Python ${{ matrix.python-version }} CI
2121
steps:
2222
- uses: actions/checkout@v4
@@ -33,4 +33,4 @@ jobs:
3333
python -m pip install --upgrade pip
3434
pip install -r requirements/requirements.txt
3535
- name: do all unit tests
36-
run: bash runtests.sh
36+
run: bash runtests.sh

.lgtm.yml

-4
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ See this paper for more details:
9595

9696
For running each sample code:
9797

98-
- [Python 3.11.x](https://www.python.org/)
98+
- [Python 3.12.x](https://www.python.org/)
9999

100100
- [NumPy](https://numpy.org/)
101101

docs/getting_started_main.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ See this paper for more details:
2626
Requirements
2727
-------------
2828

29-
- `Python 3.11.x`_
29+
- `Python 3.12.x`_
3030
- `NumPy`_
3131
- `SciPy`_
3232
- `Matplotlib`_

requirements/environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: python_robotics
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.11
5+
- python=3.12
66
- pip
77
- scipy
88
- numpy

ruff.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exclude = [
66
]
77

88
# Assume Python 3.11
9-
target-version = "py311"
9+
target-version = "py312"
1010

1111
[per-file-ignores]
1212

@@ -15,4 +15,4 @@ target-version = "py311"
1515
max-complexity = 10
1616

1717
[pydocstyle]
18-
convention = "numpy"
18+
convention = "numpy"

0 commit comments

Comments
 (0)