support python3.11 (#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
This commit is contained in:
Atsushi Sakai
2023-01-29 22:22:11 +09:00
committed by GitHub
parent 732ed3ea6b
commit ffd8602e25
7 changed files with 43 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ orbs:
jobs:
build_doc:
docker:
- image: cimg/python:3.10
- image: cimg/python:3.11
steps:
- checkout
- run:

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.10.6' ] # For mypy error Ref: https://github.com/python/mypy/issues/13627
python-version: [ '3.11' ]
name: Python ${{ matrix.python-version }} CI

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: [ '3.10.6' ] # For mypy error Ref: https://github.com/python/mypy/issues/13627
python-version: [ '3.11' ]
name: Python ${{ matrix.python-version }} CI
steps:
- uses: actions/checkout@v2

36
.github/workflows/Windows_CI.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
# This is a basic workflow to help you get started with Actions
name: Windows_CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
python-version: [ '3.11' ]
name: Python ${{ matrix.python-version }} CI
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python --version
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
- name: do all unit tests
run: bash runtests.sh

View File

@@ -96,7 +96,7 @@ See this paper for more details:
For running each sample code:
- [Python 3.10.x](https://www.python.org/)
- [Python 3.11.x](https://www.python.org/)
- [NumPy](https://numpy.org/)

View File

@@ -26,7 +26,7 @@ See this paper for more details:
Requirements
-------------
- `Python 3.10.x`_
- `Python 3.11.x`_
- `NumPy`_
- `SciPy`_
- `Matplotlib`_
@@ -40,7 +40,7 @@ For development:
- sphinx (for document generation)
- pycodestyle (for code style check)
.. _`Python 3.10.x`: https://www.python.org/
.. _`Python 3.11.x`: https://www.python.org/
.. _`NumPy`: https://numpy.org/
.. _`SciPy`: https://scipy.org/
.. _`Matplotlib`: https://matplotlib.org/

View File

@@ -2,7 +2,7 @@ name: python_robotics
channels:
- conda-forge
dependencies:
- python=3.10
- python=3.11
- pip
- scipy
- numpy