Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support python 3.12 #954

Merged
merged 13 commits into from
Mar 14, 2024
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ orbs:
jobs:
build_doc:
docker:
- image: cimg/python:3.11
- image: cimg/python:3.12
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Linux_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.11' ]
python-version: [ '3.12' ]

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

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/MacOS_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python-version: [ '3.11' ]
python-version: [ '3.12' ]
name: Python ${{ matrix.python-version }} CI
steps:
- uses: actions/checkout@v4
Expand All @@ -36,4 +36,4 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
- name: do all unit tests
run: bash runtests.sh
run: bash runtests.sh
4 changes: 2 additions & 2 deletions .github/workflows/Windows_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: [ '3.11' ]
python-version: [ '3.12' ]
name: Python ${{ matrix.python-version }} CI
steps:
- uses: actions/checkout@v4
Expand All @@ -33,4 +33,4 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
- name: do all unit tests
run: bash runtests.sh
run: bash runtests.sh
4 changes: 0 additions & 4 deletions .lgtm.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ See this paper for more details:

For running each sample code:

- [Python 3.11.x](https://www.python.org/)
- [Python 3.12.x](https://www.python.org/)

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

Expand Down
2 changes: 1 addition & 1 deletion docs/getting_started_main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ See this paper for more details:
Requirements
-------------

- `Python 3.11.x`_
- `Python 3.12.x`_
- `NumPy`_
- `SciPy`_
- `Matplotlib`_
Expand Down
2 changes: 1 addition & 1 deletion requirements/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: python_robotics
channels:
- conda-forge
dependencies:
- python=3.11
- python=3.12
- pip
- scipy
- numpy
Expand Down
4 changes: 2 additions & 2 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exclude = [
]

# Assume Python 3.11
target-version = "py311"
target-version = "py312"

[per-file-ignores]

Expand All @@ -15,4 +15,4 @@ target-version = "py311"
max-complexity = 10

[pydocstyle]
convention = "numpy"
convention = "numpy"