From 98b61521a7d040e3498b3dd3e5f1b90fc79a3f0d Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Mon, 18 Dec 2023 18:41:39 +0900 Subject: [PATCH 01/12] Update Linux_CI.yml --- .github/workflows/Linux_CI.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Linux_CI.yml b/.github/workflows/Linux_CI.yml index b83954f17e..7b3dc14751 100644 --- a/.github/workflows/Linux_CI.yml +++ b/.github/workflows/Linux_CI.yml @@ -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 From 6ddc9e595f86efeb04b1cf6f1a19bebfc18d46e8 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Mon, 18 Dec 2023 18:42:47 +0900 Subject: [PATCH 02/12] Update MacOS_CI.yml --- .github/workflows/MacOS_CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/MacOS_CI.yml b/.github/workflows/MacOS_CI.yml index 19c6612b2f..5ea15ac72e 100644 --- a/.github/workflows/MacOS_CI.yml +++ b/.github/workflows/MacOS_CI.yml @@ -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 \ No newline at end of file + run: bash runtests.sh From 836def4f89463931c1de4ba3602ae67c15fe4d54 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Mon, 18 Dec 2023 18:43:04 +0900 Subject: [PATCH 03/12] Update Windows_CI.yml --- .github/workflows/Windows_CI.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Windows_CI.yml b/.github/workflows/Windows_CI.yml index 906edcfcdb..b9c8dea649 100644 --- a/.github/workflows/Windows_CI.yml +++ b/.github/workflows/Windows_CI.yml @@ -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 \ No newline at end of file + run: bash runtests.sh From 7cc4d7b9dca01c212a2055ba90be05a7c945e78e Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Mon, 18 Dec 2023 18:44:28 +0900 Subject: [PATCH 04/12] Delete .lgtm.yml --- .lgtm.yml | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 .lgtm.yml diff --git a/.lgtm.yml b/.lgtm.yml deleted file mode 100644 index b06edf3510..0000000000 --- a/.lgtm.yml +++ /dev/null @@ -1,4 +0,0 @@ -extraction: - python: - python_setup: - version: 3 From 5a2b4f466cac3ade2dccb1edf3ae3b977bf1dd67 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Mon, 18 Dec 2023 19:01:04 +0900 Subject: [PATCH 05/12] Update lqr_planner.py --- PathPlanning/LQRPlanner/lqr_planner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PathPlanning/LQRPlanner/lqr_planner.py b/PathPlanning/LQRPlanner/lqr_planner.py index 0f58f93ea3..ba677b9063 100644 --- a/PathPlanning/LQRPlanner/lqr_planner.py +++ b/PathPlanning/LQRPlanner/lqr_planner.py @@ -53,7 +53,7 @@ def lqr_planning(self, sx, sy, gx, gy, show_animation=True): break # animation - if show_animation: # pragma: no cover + if SHOW_ANIMATION: # pragma: no cover # for stopping simulation with the esc key. plt.gcf().canvas.mpl_connect('key_release_event', lambda event: [exit(0) if event.key == 'escape' else None]) From e51e6a7ea48aeed9a49f58f1568eff1f15f7ec7c Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Mon, 18 Dec 2023 19:13:42 +0900 Subject: [PATCH 06/12] Update lqr_planner.py --- PathPlanning/LQRPlanner/lqr_planner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PathPlanning/LQRPlanner/lqr_planner.py b/PathPlanning/LQRPlanner/lqr_planner.py index ba677b9063..0f58f93ea3 100644 --- a/PathPlanning/LQRPlanner/lqr_planner.py +++ b/PathPlanning/LQRPlanner/lqr_planner.py @@ -53,7 +53,7 @@ def lqr_planning(self, sx, sy, gx, gy, show_animation=True): break # animation - if SHOW_ANIMATION: # pragma: no cover + if show_animation: # pragma: no cover # for stopping simulation with the esc key. plt.gcf().canvas.mpl_connect('key_release_event', lambda event: [exit(0) if event.key == 'escape' else None]) From d600b3db70d61e21d0bb1119b479055866a68c7f Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Thu, 14 Mar 2024 21:04:01 +0900 Subject: [PATCH 07/12] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d8f1e89dc4..9f803ece4a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ orbs: jobs: build_doc: docker: - - image: cimg/python:3.11 + - image: cimg/python:3.12 steps: - checkout - run: From f79c1069169bca4ded7d62e2a9865bf57e0052fa Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Thu, 14 Mar 2024 21:04:33 +0900 Subject: [PATCH 08/12] Update environment.yml --- requirements/environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/environment.yml b/requirements/environment.yml index 13dfa29f66..afbb3fb8ce 100644 --- a/requirements/environment.yml +++ b/requirements/environment.yml @@ -2,7 +2,7 @@ name: python_robotics channels: - conda-forge dependencies: - - python=3.11 + - python=3.12 - pip - scipy - numpy From 206e8ad55981653333537e9d19f0e0bf8df37dbf Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Thu, 14 Mar 2024 21:05:24 +0900 Subject: [PATCH 09/12] Update ruff.toml --- ruff.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruff.toml b/ruff.toml index 578864b33e..5823ca3db7 100644 --- a/ruff.toml +++ b/ruff.toml @@ -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" \ No newline at end of file +convention = "numpy" From 012ddb8e15070b564ba742d9c8088d8915d4281c Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Thu, 14 Mar 2024 21:05:58 +0900 Subject: [PATCH 10/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bc0198f78e..7a01ae361a 100644 --- a/README.md +++ b/README.md @@ -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/) From 8bff4e242d9ebd074bfa66b8311bc2533af4e224 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Thu, 14 Mar 2024 21:06:30 +0900 Subject: [PATCH 11/12] Update getting_started_main.rst --- docs/getting_started_main.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started_main.rst b/docs/getting_started_main.rst index 497b85a23a..88f218545e 100644 --- a/docs/getting_started_main.rst +++ b/docs/getting_started_main.rst @@ -26,7 +26,7 @@ See this paper for more details: Requirements ------------- -- `Python 3.11.x`_ +- `Python 3.12.x`_ - `NumPy`_ - `SciPy`_ - `Matplotlib`_ From 8c428dfeb8b7c9eaa0b3084e115dcf2e026c54e5 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Thu, 14 Mar 2024 21:11:31 +0900 Subject: [PATCH 12/12] Update doc_requirements.txt --- docs/doc_requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/doc_requirements.txt b/docs/doc_requirements.txt index a8cd2bde40..ada6d19efa 100644 --- a/docs/doc_requirements.txt +++ b/docs/doc_requirements.txt @@ -1,6 +1,6 @@ -sphinx == 4.3.2 # For sphinx documentation +sphinx == 7.2.6 # For sphinx documentation sphinx_rtd_theme == 1.0.0 IPython == 8.10.0 # For sphinx documentation sphinxcontrib-napoleon == 0.7 # For auto doc sphinx-copybutton -sphinx-rtd-dark-mode \ No newline at end of file +sphinx-rtd-dark-mode