mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:41 -04:00
bump python version to 3.9. (#433)
This commit is contained in:
@@ -6,10 +6,12 @@ orbs:
|
||||
jobs:
|
||||
build_doc:
|
||||
docker:
|
||||
- image: circleci/python:3.8
|
||||
- image: circleci/python:3.9
|
||||
steps:
|
||||
- run: sudo apt-get update && sudo apt-get install -y cmake # TODO: remove after osqp wheels released
|
||||
- checkout
|
||||
- python/load-cache
|
||||
- run: pip install numpy # TODO: remove after osqp wheels released
|
||||
- python/install-deps
|
||||
- python/save-cache
|
||||
- run: pip install sphinx sphinx-autobuild sphinx-rtd-theme
|
||||
|
||||
6
.github/workflows/Linux_CI.yml
vendored
6
.github/workflows/Linux_CI.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.8']
|
||||
python-version: ['3.9']
|
||||
|
||||
name: Python ${{ matrix.python-version }} CI
|
||||
|
||||
@@ -21,9 +21,11 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
# TODO: remove numpy installation after fix cvxpy install issue
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install numpy
|
||||
python -m pip install -r requirements.txt
|
||||
- name: install coverage
|
||||
run: pip install coverage
|
||||
- name: install mypy
|
||||
|
||||
4
.github/workflows/MacOS_CI.yml
vendored
4
.github/workflows/MacOS_CI.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ '3.8' ]
|
||||
python-version: [ '3.9' ]
|
||||
name: Python ${{ matrix.python-version }} CI
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -23,8 +23,10 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Install dependencies
|
||||
# TODO: remove numpy installation after fix cvxpy install issue
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install numpy
|
||||
pip install -r requirements.txt
|
||||
- name: install coverage
|
||||
run: pip install coverage
|
||||
|
||||
@@ -92,7 +92,7 @@ See this paper for more details:
|
||||
|
||||
# Requirements
|
||||
|
||||
- Python 3.8.x
|
||||
- Python 3.9.x
|
||||
|
||||
- numpy
|
||||
|
||||
|
||||
16
appveyor.yml
16
appveyor.yml
@@ -8,11 +8,10 @@ environment:
|
||||
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
|
||||
|
||||
matrix:
|
||||
- MINICONDA: C:\Miniconda38-x64
|
||||
PYTHON_VERSION: "3.8"
|
||||
- PYTHON_DIR: C:\Python39-x64
|
||||
|
||||
init:
|
||||
- "ECHO %MINICONDA% %PYTHON_VERSION% %PYTHON_ARCH%"
|
||||
- "ECHO %PYTHON_DIR%"
|
||||
|
||||
install:
|
||||
# If there is a newer build queued for the same PR, cancel this one.
|
||||
@@ -30,15 +29,12 @@ install:
|
||||
# Prepend newly installed Python to the PATH of this build (this cannot be
|
||||
# done from inside the powershell script as it would require to restart
|
||||
# the parent CMD process).
|
||||
- SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
|
||||
- SET PATH=%PYTHON_DIR%;%PYTHON_DIR%\\Scripts;%PATH%
|
||||
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PYTHON%\Library\bin;%PATH%
|
||||
- SET PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
|
||||
- conda config --set always_yes yes --set changeps1 no
|
||||
- conda config --append channels conda-forge
|
||||
- conda update -q conda
|
||||
- conda info -a
|
||||
- conda env create -f C:\\projects\pythonrobotics\environment.yml
|
||||
- activate python_robotics
|
||||
- "python -m pip install --upgrade pip"
|
||||
- "pip install numpy" # TODO: remove this line after osqp wheel released
|
||||
- "python -m pip install -r requirements.txt"
|
||||
|
||||
# Check that we have the expected version and architecture for Python
|
||||
- "python --version"
|
||||
|
||||
@@ -25,7 +25,7 @@ See this paper for more details:
|
||||
Requirements
|
||||
-------------
|
||||
|
||||
- Python 3.6.x
|
||||
- Python 3.9.x
|
||||
- numpy
|
||||
- scipy
|
||||
- matplotlib
|
||||
|
||||
Reference in New Issue
Block a user