Skip to content

Commit ffd8602

Browse files
authored
support python3.11 (AtsushiSakai#741)
* support python3.11 * try to fix error * try to fix error * try to fix error * try to fix error * try to fix error * try to fix error * try to fix error * try to fix error * try to fix error * add docs * fix conflict * fix conflict * fix conflict * using python3.10 for appveyors * add windows CI * roll back appveyor settings * fix windows CI
1 parent 732ed3e commit ffd8602

File tree

7 files changed

+43
-7
lines changed

7 files changed

+43
-7
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ orbs:
66
jobs:
77
build_doc:
88
docker:
9-
- image: cimg/python:3.10
9+
- image: cimg/python:3.11
1010
steps:
1111
- checkout
1212
- run:

.github/workflows/Linux_CI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: [ '3.10.6' ] # For mypy error Ref: https://github.com/python/mypy/issues/13627
15+
python-version: [ '3.11' ]
1616

1717
name: Python ${{ matrix.python-version }} CI
1818

.github/workflows/MacOS_CI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: macos-latest
1717
strategy:
1818
matrix:
19-
python-version: [ '3.10.6' ] # For mypy error Ref: https://github.com/python/mypy/issues/13627
19+
python-version: [ '3.11' ]
2020
name: Python ${{ matrix.python-version }} CI
2121
steps:
2222
- uses: actions/checkout@v2

.github/workflows/Windows_CI.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Windows_CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches:
10+
- master
11+
pull_request:
12+
13+
14+
jobs:
15+
build:
16+
runs-on: windows-latest
17+
strategy:
18+
matrix:
19+
python-version: [ '3.11' ]
20+
name: Python ${{ matrix.python-version }} CI
21+
steps:
22+
- uses: actions/checkout@v2
23+
- run: git fetch --prune --unshallow
24+
25+
- name: Setup python
26+
uses: actions/setup-python@v2
27+
with:
28+
python-version: ${{ matrix.python-version }}
29+
30+
- name: Install dependencies
31+
run: |
32+
python --version
33+
python -m pip install --upgrade pip
34+
pip install -r requirements/requirements.txt
35+
- name: do all unit tests
36+
run: bash runtests.sh

README.md

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

9797
For running each sample code:
9898

99-
- [Python 3.10.x](https://www.python.org/)
99+
- [Python 3.11.x](https://www.python.org/)
100100

101101
- [NumPy](https://numpy.org/)
102102

docs/getting_started_main.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ See this paper for more details:
2626
Requirements
2727
-------------
2828

29-
- `Python 3.10.x`_
29+
- `Python 3.11.x`_
3030
- `NumPy`_
3131
- `SciPy`_
3232
- `Matplotlib`_
@@ -40,7 +40,7 @@ For development:
4040
- sphinx (for document generation)
4141
- pycodestyle (for code style check)
4242

43-
.. _`Python 3.10.x`: https://www.python.org/
43+
.. _`Python 3.11.x`: https://www.python.org/
4444
.. _`NumPy`: https://numpy.org/
4545
.. _`SciPy`: https://scipy.org/
4646
.. _`Matplotlib`: https://matplotlib.org/

requirements/environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: python_robotics
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.10
5+
- python=3.11
66
- pip
77
- scipy
88
- numpy

0 commit comments

Comments
 (0)