Skip to content

Commit

Permalink
Support python 3.12 (#954)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
AtsushiSakai authored Mar 14, 2024
1 parent a79cc37 commit 1656cab
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ orbs:
jobs:
build_doc:
docker:
- image: cimg/python:3.11
- image: cimg/python:3.12
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Linux_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/MacOS_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/Windows_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
4 changes: 0 additions & 4 deletions .lgtm.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started_main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ See this paper for more details:
Requirements
-------------

- `Python 3.11.x`_
- `Python 3.12.x`_

Check failure on line 29 in docs/getting_started_main.rst

View workflow job for this annotation

GitHub Actions / build

Unknown target name: "python 3.12.x".
- `NumPy`_
- `SciPy`_
- `Matplotlib`_
Expand Down
2 changes: 1 addition & 1 deletion requirements/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: python_robotics
channels:
- conda-forge
dependencies:
- python=3.11
- python=3.12
- pip
- scipy
- numpy
Expand Down
4 changes: 2 additions & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exclude = [
]

# Assume Python 3.11
target-version = "py311"
target-version = "py312"

[per-file-ignores]

Expand All @@ -15,4 +15,4 @@ target-version = "py311"
max-complexity = 10

[pydocstyle]
convention = "numpy"
convention = "numpy"

0 comments on commit 1656cab

Please sign in to comment.