10000 Merge pull request #796 from bnavigator/py311 · python-control/python-control@832527d · GitHub
[go: up one dir, main page]

Skip to content

Commit 832527d

Browse files
authored
Merge pull request #796 from bnavigator/py311
Support Python 3.11 and drop Python 3.7
2 parents 2746ce1 + e46f22e commit 832527d

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

.github/workflows/control-slycot-src.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ jobs:
1212
with:
1313
path: python-control
1414
- name: Set up Python
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@v4
16+
with:
17+
python-version: '3.11'
1618
- name: Install Python dependencies and test tools
17-
run: pip install -v -e './python-control[test]'
19+
run: pip install -v './python-control[test]'
1820

1921
- name: Checkout Slycot
2022
uses: actions/checkout@v3

.github/workflows/install_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Setup, Examples, Notebooks
33
on: [push, pull_request]
44

55
jobs:
6-
build-linux:
6+
install-examples:
77
runs-on: ubuntu-latest
88

99
steps:

.github/workflows/python-package-conda.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Conda-based pytest
33
on: [push, pull_request]
44

55
jobs:
6-
test-linux:
6+
test-linux-conda:
77
name: >
88
Py${{ matrix.python-version }};
99
${{ matrix.slycot || 'no' }} Slycot;
@@ -17,14 +17,14 @@ jobs:
1717
max-parallel: 5
1818
fail-fast: false
1919
matrix:
20-
python-version: ['3.7', '3.10']
20+
python-version: ['3.8', '3.11']
2121
slycot: ["", "conda"]
2222
pandas: [""]
2323
cvxopt: ["", "conda"]
2424
mplbackend: [""]
2525
array-and-matrix: [0]
2626
include:
27-
- python-version: '3.10'
27+
- python-version: '3.11'
2828
slycot: conda
2929
pandas: conda
3030
cvxopt: conda
@@ -75,7 +75,7 @@ jobs:
7575

7676
coveralls:
7777
name: coveralls completion
78-
needs: test-linux
78+
needs: test-linux-conda
7979
runs-on: ubuntu-latest
8080
steps:
8181
- name: Coveralls Finished

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ classifiers = [
1717
"Intended Audience :: Developers",
1818
"License :: OSI Approved :: BSD License",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.7",
2120
"Programming Language :: Python :: 3.8",
2221
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
23+
"Programming Language :: Python :: 3.11",
2424
"Topic :: Software Development",
2525
"Topic :: Scientific/Engineering",
2626
"Operating System :: Microsoft :: Windows",
2727
"Operating System :: POSIX",
2828
"Operating System :: Unix",
2929
"Operating System :: MacOS",
3030
]
31-
requires-python = ">=3.7"
31+
requires-python = ">=3.8"
3232
dependencies = [
3333
"numpy",
3434
"scipy>=1.3",

0 commit comments

Comments
 (0)
0