try to use python3.10 (#561)

* try to use python3.10

* try python3.10

* try python3.10
This commit is contained in:
Atsushi Sakai
2022-05-07 16:04:39 +09:00
committed by GitHub
parent d74a91e062
commit b9345da036
7 changed files with 11 additions and 9 deletions

View File

@@ -6,12 +6,13 @@ orbs:
jobs: jobs:
build_doc: build_doc:
docker: docker:
- image: cimg/python:3.9 - image: cimg/python:3.10
steps: steps:
- checkout - checkout
- run: - run:
name: doc_build name: doc_build
command: | command: |
python --version
python -m venv venv python -m venv venv
. venv/bin/activate . venv/bin/activate
pip install -r requirements/requirements.txt pip install -r requirements/requirements.txt

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.9'] python-version: ['3.10']
name: Python ${{ matrix.python-version }} CI name: Python ${{ matrix.python-version }} CI
@@ -26,6 +26,7 @@ jobs:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install dependencies - name: Install dependencies
run: | run: |
python --version
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install -r requirements/requirements.txt python -m pip install -r requirements/requirements.txt
- name: do all unit tests - name: do all unit tests

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
strategy: strategy:
matrix: matrix:
python-version: [ '3.9' ] python-version: [ '3.10' ]
name: Python ${{ matrix.python-version }} CI name: Python ${{ matrix.python-version }} CI
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -32,8 +32,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python --version
python -m pip install --upgrade pip python -m pip install --upgrade pip
#pip install numpy # cvxpy install workaround
pip install -r requirements/requirements.txt pip install -r requirements/requirements.txt
- name: do all unit tests - name: do all unit tests
run: bash runtests.sh run: bash runtests.sh

View File

@@ -96,7 +96,7 @@ See this paper for more details:
For running each sample code: 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/) - [NumPy](https://numpy.org/)

View File

@@ -8,7 +8,7 @@ environment:
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd" CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
matrix: matrix:
- PYTHON_DIR: C:\Python39-x64 - PYTHON_DIR: C:\Python310-x64
branches: branches:
only: only:

View File

@@ -26,7 +26,7 @@ See this paper for more details:
Requirements Requirements
------------- -------------
- `Python 3.9.x`_ - `Python 3.10.x`_
- `NumPy`_ - `NumPy`_
- `SciPy`_ - `SciPy`_
- `Matplotlib`_ - `Matplotlib`_
@@ -41,7 +41,7 @@ For development:
- sphinx (for document generation) - sphinx (for document generation)
- pycodestyle (for code style check) - 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/ .. _`NumPy`: https://numpy.org/
.. _`SciPy`: https://scipy.org/ .. _`SciPy`: https://scipy.org/
.. _`Matplotlib`: https://matplotlib.org/ .. _`Matplotlib`: https://matplotlib.org/

View File

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