bump python version to 3.9. (#433)

This commit is contained in:
Atsushi Sakai
2020-12-30 13:52:00 +09:00
committed by GitHub
parent d29dacbf9e
commit 581b3cf27a
6 changed files with 18 additions and 16 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -92,7 +92,7 @@ See this paper for more details:
# Requirements
- Python 3.8.x
- Python 3.9.x
- numpy

View File

@@ -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"

View File

@@ -25,7 +25,7 @@ See this paper for more details:
Requirements
-------------
- Python 3.6.x
- Python 3.9.x
- numpy
- scipy
- matplotlib