Skip to content

Commit

Permalink
Python 3.12 (#30)
Browse files Browse the repository at this point in the history
* fix : Python 3.12 added to tests

* fix : Python 3.12 added to setup.py

* doc : CHANGELOG.md updated

* fix : pytest.ini updated
  • Loading branch information
sepandhaghighi authored Jan 18, 2024
1 parent 9b166c4 commit 5e38641
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/linux_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0, 3.12.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -25,8 +25,7 @@ jobs:
- name: Installation
run: |
sudo python -m pip install --upgrade pip
sudo pip install -r requirements.txt
sudo python setup.py install
sudo pip install .
- name: First test
run: |
sudo nava
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/macOS_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [macOS-12, macOS-11]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0, 3.12.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -25,8 +25,7 @@ jobs:
- name: Installation
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python setup.py install
pip install .
- name: First test
run: |
nava
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/windows_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [windows-2022, windows-2019]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0, 3.12.0]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -25,8 +25,7 @@ jobs:
- name: Installation
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python setup.py install
pip install .
- name: First test
run: |
nava
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `stop_all` function
### Changed
- `async_mode` parameter added to `play` function
- Test system modified
- `Python 3.12` added to `linux_test.yml`, `macOS_test.yml` and `windows_test.yml`
## [0.2] - 2023-07-10
### Added
- Logo
Expand Down
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# content of pytest.ini
[pytest]
addopts = --doctest-modules --ignore=others
doctest_optionflags= NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
doctest_optionflags= NORMALIZE_WHITESPACE
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def read_description():
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Manufacturing',
Expand Down

0 comments on commit 5e38641

Please sign in to comment.