From 3b8ae7d794a993bdba70abfae33c5a243e253302 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Thu, 11 Nov 2021 22:21:13 +0900 Subject: [PATCH 1/3] try to use python3.10 --- .github/workflows/Linux_CI.yml | 2 +- .github/workflows/MacOS_CI.yml | 2 +- README.md | 2 +- appveyor.yml | 2 +- requirements/environment.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Linux_CI.yml b/.github/workflows/Linux_CI.yml index c706a50ed6..0fee22c445 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.9'] + python-version: ['3.10'] name: Python ${{ matrix.python-version }} CI diff --git a/.github/workflows/MacOS_CI.yml b/.github/workflows/MacOS_CI.yml index 4088c4900f..bcec0af6ba 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.9' ] + python-version: [ '3.10' ] name: Python ${{ matrix.python-version }} CI steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index 8972bae5fa..f54b880dc0 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ See this paper for more details: For running each sample code: -- [Python 3.9.x](https://www.python.org/) +- [Python 3.10.x](https://www.python.org/) - [NumPy](https://numpy.org/) diff --git a/appveyor.yml b/appveyor.yml index c35e76ae4a..4964bab3da 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -8,7 +8,7 @@ environment: CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd" matrix: - - PYTHON_DIR: C:\Python39-x64 + - PYTHON_DIR: C:\Python310-x64 branches: only: diff --git a/requirements/environment.yml b/requirements/environment.yml index 1441b79080..109fc57789 100644 --- a/requirements/environment.yml +++ b/requirements/environment.yml @@ -2,7 +2,7 @@ name: python_robotics channels: - conda-forge dependencies: - - python=3.9 + - python=3.10 - pip - scipy - numpy From 7f547d4e2abb7d8fd72c6519390e35e55004e523 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Sat, 7 May 2022 15:31:40 +0900 Subject: [PATCH 2/3] try python3.10 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 275ad3bc7a..196546d009 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ orbs: jobs: build_doc: docker: - - image: cimg/python:3.9 + - image: cimg/python:3.10 steps: - checkout - run: From db913dc8800a2ccc0e413ef99553283dc950dccb Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Sat, 7 May 2022 15:51:02 +0900 Subject: [PATCH 3/3] try python3.10 --- .circleci/config.yml | 1 + .github/workflows/Linux_CI.yml | 1 + .github/workflows/MacOS_CI.yml | 2 +- docs/getting_started_main.rst | 4 ++-- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 196546d009..075a613be0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,7 @@ jobs: - run: name: doc_build command: | + python --version python -m venv venv . venv/bin/activate pip install -r requirements/requirements.txt diff --git a/.github/workflows/Linux_CI.yml b/.github/workflows/Linux_CI.yml index 0fee22c445..73f8aa5c0d 100644 --- a/.github/workflows/Linux_CI.yml +++ b/.github/workflows/Linux_CI.yml @@ -26,6 +26,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + python --version python -m pip install --upgrade pip python -m pip install -r requirements/requirements.txt - name: do all unit tests diff --git a/.github/workflows/MacOS_CI.yml b/.github/workflows/MacOS_CI.yml index bcec0af6ba..5c796120a5 100644 --- a/.github/workflows/MacOS_CI.yml +++ b/.github/workflows/MacOS_CI.yml @@ -32,8 +32,8 @@ jobs: - name: Install dependencies run: | + python --version python -m pip install --upgrade pip - #pip install numpy # cvxpy install workaround pip install -r requirements/requirements.txt - name: do all unit tests run: bash runtests.sh \ No newline at end of file diff --git a/docs/getting_started_main.rst b/docs/getting_started_main.rst index a7b9ff3607..4a19126686 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.9.x`_ +- `Python 3.10.x`_ - `NumPy`_ - `SciPy`_ - `Matplotlib`_ @@ -41,7 +41,7 @@ For development: - sphinx (for document generation) - pycodestyle (for code style check) -.. _`Python 3.9.x`: https://www.python.org/ +.. _`Python 3.10.x`: https://www.python.org/ .. _`NumPy`: https://numpy.org/ .. _`SciPy`: https://scipy.org/ .. _`Matplotlib`: https://matplotlib.org/