Skip to content

Commit 581b3cf

Browse files
authored
bump python version to 3.9. (AtsushiSakai#433)
1 parent d29dacb commit 581b3cf

File tree

6 files changed

+18
-16
lines changed

6 files changed

+18
-16
lines changed

.circleci/config.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ orbs:
66
jobs:
77
build_doc:
88
docker:
9-
- image: circleci/python:3.8
9+
- image: circleci/python:3.9
1010
steps:
11+
- run: sudo apt-get update && sudo apt-get install -y cmake # TODO: remove after osqp wheels released
1112
- checkout
1213
- python/load-cache
14+
- run: pip install numpy # TODO: remove after osqp wheels released
1315
- python/install-deps
1416
- python/save-cache
1517
- run: pip install sphinx sphinx-autobuild sphinx-rtd-theme

.github/workflows/Linux_CI.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: ['3.8']
11+
python-version: ['3.9']
1212

1313
name: Python ${{ matrix.python-version }} CI
1414

@@ -21,9 +21,11 @@ jobs:
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install dependencies
24+
# TODO: remove numpy installation after fix cvxpy install issue
2425
run: |
2526
python -m pip install --upgrade pip
26-
pip install -r requirements.txt
27+
pip install numpy
28+
python -m pip install -r requirements.txt
2729
- name: install coverage
2830
run: pip install coverage
2931
- name: install mypy

.github/workflows/MacOS_CI.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [ '3.8' ]
14+
python-version: [ '3.9' ]
1515
name: Python ${{ matrix.python-version }} CI
1616
steps:
1717
- uses: actions/checkout@v2
@@ -23,8 +23,10 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424

2525
- name: Install dependencies
26+
# TODO: remove numpy installation after fix cvxpy install issue
2627
run: |
2728
python -m pip install --upgrade pip
29+
pip install numpy
2830
pip install -r requirements.txt
2931
- name: install coverage
3032
run: pip install coverage

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ See this paper for more details:
9292

9393
# Requirements
9494

95-
- Python 3.8.x
95+
- Python 3.9.x
9696

9797
- numpy
9898

appveyor.yml

+6-10
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ environment:
88
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
99

1010
matrix:
11-
- MINICONDA: C:\Miniconda38-x64
12-
PYTHON_VERSION: "3.8"
11+
- PYTHON_DIR: C:\Python39-x64
1312

1413
init:
15-
- "ECHO %MINICONDA% %PYTHON_VERSION% %PYTHON_ARCH%"
14+
- "ECHO %PYTHON_DIR%"
1615

1716
install:
1817
# If there is a newer build queued for the same PR, cancel this one.
@@ -30,15 +29,12 @@ install:
3029
# Prepend newly installed Python to the PATH of this build (this cannot be
3130
# done from inside the powershell script as it would require to restart
3231
# the parent CMD process).
33-
- SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
32+
- SET PATH=%PYTHON_DIR%;%PYTHON_DIR%\\Scripts;%PATH%
3433
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PYTHON%\Library\bin;%PATH%
3534
- SET PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
36-
- conda config --set always_yes yes --set changeps1 no
37-
- conda config --append channels conda-forge
38-
- conda update -q conda
39-
- conda info -a
40-
- conda env create -f C:\\projects\pythonrobotics\environment.yml
41-
- activate python_robotics
35+
- "python -m pip install --upgrade pip"
36+
- "pip install numpy" # TODO: remove this line after osqp wheel released
37+
- "python -m pip install -r requirements.txt"
4238

4339
# Check that we have the expected version and architecture for Python
4440
- "python --version"

docs/getting_started.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ See this paper for more details:
2525
Requirements
2626
-------------
2727

28-
- Python 3.6.x
28+
- Python 3.9.x
2929
- numpy
3030
- scipy
3131
- matplotlib

0 commit comments

Comments
 (0)