Skip to content

Commit 1ca6c0b

Browse files
authored
Drop Python 3.7 Support (#1991)
* Drop Python 3.7 support * Update file that was missed * Drop statement about current minimum supported python version.
1 parent 2986696 commit 1ca6c0b

38 files changed

+47
-78
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ matrix:
66
# We run tests on the latest supported version of Python first.
77
# This is where additional tests are run so we give it more time.
88
- python: "3.11"
9-
- python: "3.7"
109
- python: "3.8"
1110
- python: "3.9"
1211
- python: "3.10"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ All notable changes to this project will be documented in this file.
3737
* #### Added
3838
* #### Changed
3939
* #### Removed
40+
* Support for Python 3.7
4041
* ### `nidcpower` (NI-DCPower)
4142
* #### Added
4243
* #### Changed

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ called through its public C API using the `ctypes <https://docs.python.org/2/lib
6060

6161
**nimi-python** supports all the Operating Systems supported by the underlying driver.
6262

63-
**nimi-python** follows `Python Software Foundation <https://devguide.python.org/#status-of-python-branches>`_ support policy for different versions. At
64-
this time this includes Python 3.7 and above using CPython.
63+
**nimi-python** follows `Python Software Foundation <https://devguide.python.org/#status-of-python-branches>`_ support policy for different versions.
6564

6665

6766
NI-DCPower Python API Status

build/templates/setup.py.mako

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ setup(
5757
% if grpc_supported:
5858
extras_require={
5959
'grpc': [
60-
'grpcio>=1.49.1,<1.53;python_version=="3.7"', # no 32-bit wheel for 1.53.0 and later
61-
'grpcio>=1.49.1,<2.0;python_version>"3.7"',
60+
'grpcio>=1.49.1,<2.0',
6261
'protobuf>=4.21,<5.0'
6362
],
6463
},
@@ -75,7 +74,6 @@ setup(
7574
"Operating System :: Microsoft :: Windows",
7675
"Operating System :: POSIX",
7776
"Programming Language :: Python :: 3",
78-
"Programming Language :: Python :: 3.7",
7977
"Programming Language :: Python :: 3.8",
8078
"Programming Language :: Python :: 3.9",
8179
"Programming Language :: Python :: 3.10",

build/templates/tox-system_tests.ini.mako

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# test suite on all supported python versions. To use it, "pip install tox"
2727
# and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/${module_name})
2828
[tox]
29-
envlist = ${wheel_env}py{37,38,39,310,311}-${module_name}-system_tests, py311-${module_name}-coverage
29+
envlist = ${wheel_env}py{38,39,310,311}-${module_name}-system_tests, py311-${module_name}-coverage
3030
skip_missing_interpreters=True
3131
ignore_basepython_conflict=True
3232
# We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo
@@ -85,7 +85,7 @@ deps =
8585
${module_name}-coverage: coverage
8686

8787
depends =
88-
${module_name}-coverage: py{37,38,39,310,311}-${module_name}-system_tests
88+
${module_name}-coverage: py{38,39,310,311}-${module_name}-system_tests
8989
% if uses_other_wheel:
9090
${module_name}-system_tests: ${wheel_env}
9191
% endif

docs/_static/about.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ called through its public C API using the `ctypes <https://docs.python.org/2/lib
2121

2222
**nimi-python** supports all the Operating Systems supported by the underlying driver.
2323

24-
**nimi-python** follows `Python Software Foundation <https://devguide.python.org/#status-of-python-branches>`_ support policy for different versions. At
25-
this time this includes Python 3.7 and above using CPython.
24+
**nimi-python** follows `Python Software Foundation <https://devguide.python.org/#status-of-python-branches>`_ support policy for different versions.
2625

docs/_static/about_driver.inc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ Support Policy
99
--------------
1010
This package supports all the Operating Systems supported by the underlying driver.
1111

12-
It follows `Python Software Foundation <https://devguide.python.org/#status-of-python-branches>`_ support policy for different versions. At
13-
this time this includes Python 3.7 and above using CPython.
12+
It follows `Python Software Foundation <https://devguide.python.org/#status-of-python-branches>`_ support policy for different versions.
1413

generated/nidcpower/README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ called through its public C API using the `ctypes <https://docs.python.org/2/lib
6060

6161
**nimi-python** supports all the Operating Systems supported by the underlying driver.
6262

63-
**nimi-python** follows `Python Software Foundation <https://devguide.python.org/#status-of-python-branches>`_ support policy for different versions. At
64-
this time this includes Python 3.7 and above using CPython.
63+
**nimi-python** follows `Python Software Foundation <https://devguide.python.org/#status-of-python-branches>`_ support policy for different versions.
6564

6665

6766
NI-DCPower Python API Status

generated/nidcpower/setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@ def read_contents(file_to_read):
4747
],
4848
extras_require={
4949
'grpc': [
50-
'grpcio>=1.49.1,<1.53;python_version=="3.7"', # no 32-bit wheel for 1.53.0 and later
51-
'grpcio>=1.49.1,<2.0;python_version>"3.7"',
50+
'grpcio>=1.49.1,<2.0',
5251
'protobuf>=4.21,<5.0'
5352
],
5453
},
@@ -64,7 +63,6 @@ def read_contents(file_to_read):
6463
"Operating System :: Microsoft :: Windows",
6564
"Operating System :: POSIX",
6665
"Programming Language :: Python :: 3",
67-
"Programming Language :: Python :: 3.7",
6866
"Programming Language :: Python :: 3.8",
6967
"Programming Language :: Python :: 3.9",
7068
"Programming Language :: Python :: 3.10",

generated/nidcpower/tox-system_tests.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# test suite on all supported python versions. To use it, "pip install tox"
44
# and then run "tox -c tox-system_tests.ini" from the driver directory. (generated/nidcpower)
55
[tox]
6-
envlist = py{37,38,39,310,311}-nidcpower-system_tests, py311-nidcpower-coverage
6+
envlist = py{38,39,310,311}-nidcpower-system_tests, py311-nidcpower-coverage
77
skip_missing_interpreters=True
88
ignore_basepython_conflict=True
99
# We put the .tox directory outside of the Jenkins workspace so that it isn't wiped with the rest of the repo
@@ -43,7 +43,7 @@ deps =
4343
nidcpower-coverage: coverage
4444

4545
depends =
46-
nidcpower-coverage: py{37,38,39,310,311}-nidcpower-system_tests
46+
nidcpower-coverage: py{38,39,310,311}-nidcpower-system_tests
4747

4848
passenv =
4949
GIT_BRANCH

0 commit comments

Comments
 (0)