Skip to content

Support Python 3.11 and drop Python 3.7 #796

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

Merged
merged 7 commits into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/control-slycot-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ jobs:
with:
path: python-control
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Python dependencies and test tools
run: pip install -v -e './python-control[test]'
run: pip install -v './python-control[test]'

- name: Checkout Slycot
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Setup, Examples, Notebooks
on: [push, pull_request]

jobs:
build-linux:
install-examples:
runs-on: ubuntu-latest

steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Conda-based pytest
on: [push, pull_request]

jobs:
test-linux:
test-linux-conda:
name: >
Py${{ matrix.python-version }};
${{ matrix.slycot || 'no' }} Slycot;
Expand All @@ -17,14 +17,14 @@ jobs:
max-parallel: 5
fail-fast: false
matrix:
python-version: ['3.7', '3.10']
python-version: ['3.8', '3.11']
slycot: ["", "conda"]
pandas: [""]
cvxopt: ["", "conda"]
mplbackend: [""]
array-and-matrix: [0]
include:
- python-version: '3.10'
- python-version: '3.11'
slycot: conda
pandas: conda
cvxopt: conda
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

coveralls:
name: coveralls completion
needs: test-linux
needs: test-linux-conda
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"numpy",
"scipy>=1.3",
Expand Down