mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:22 -04:00
try to use python3.10 (#561)
* try to use python3.10 * try python3.10 * try python3.10
This commit is contained in:
@@ -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
|
||||||
|
|||||||
3
.github/workflows/Linux_CI.yml
vendored
3
.github/workflows/Linux_CI.yml
vendored
@@ -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
|
||||||
|
|||||||
4
.github/workflows/MacOS_CI.yml
vendored
4
.github/workflows/MacOS_CI.yml
vendored
@@ -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
|
||||||
@@ -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/)
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user