Skip to content

Commit c5dc8f2

Browse files
authored
Drop Python 3.7 support (#135)
Add tests against 3.11
1 parent 77d55b7 commit c5dc8f2

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.azure-pipelines.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ stages:
1919
- task: UsePythonVersion@0
2020
displayName: Set up python
2121
inputs:
22-
versionSpec: 3.7
22+
versionSpec: 3.8
2323

2424
- bash: python .azure-pipelines/syntax-validation.py
25-
displayName: Syntax validation (3.7)
25+
displayName: Syntax validation (3.8)
2626

2727
- task: UsePythonVersion@0
2828
displayName: Set up python
2929
inputs:
30-
versionSpec: 3.10
30+
versionSpec: 3.11
3131

3232
- bash: python .azure-pipelines/syntax-validation.py
33-
displayName: Syntax validation (3.10)
33+
displayName: Syntax validation (3.11)
3434

3535
# Run flake8 validation
3636
- bash: |
@@ -46,14 +46,14 @@ stages:
4646
vmImage: ubuntu-latest
4747
strategy:
4848
matrix:
49-
python37:
50-
PYTHON_VERSION: 3.7
5149
python38:
5250
PYTHON_VERSION: 3.8
5351
python39:
5452
PYTHON_VERSION: 3.9
5553
python310:
5654
PYTHON_VERSION: 3.10
55+
python311:
56+
PYTHON_VERSION: 3.11
5757
steps:
5858
- template: .azure-pipelines/ci.yml
5959

@@ -62,14 +62,14 @@ stages:
6262
vmImage: macOS-latest
6363
strategy:
6464
matrix:
65-
python37:
66-
PYTHON_VERSION: 3.7
6765
python38:
6866
PYTHON_VERSION: 3.8
6967
python39:
7068
PYTHON_VERSION: 3.9
7169
python310:
7270
PYTHON_VERSION: 3.10
71+
python311:
72+
PYTHON_VERSION: 3.11
7373
steps:
7474
- template: .azure-pipelines/ci.yml
7575

@@ -78,14 +78,14 @@ stages:
7878
vmImage: windows-latest
7979
strategy:
8080
matrix:
81-
python37:
82-
PYTHON_VERSION: 3.7
8381
python38:
8482
PYTHON_VERSION: 3.8
8583
python39:
8684
PYTHON_VERSION: 3.9
8785
python310:
8886
PYTHON_VERSION: 3.10
87+
python311:
88+
PYTHON_VERSION: 3.11
8989
steps:
9090
- template: .azure-pipelines/ci.yml
9191

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ History
33

44
3.0.0 (2022-01-??)
55
------------------
6-
* Drop Python 3.6 support
6+
* Drop Python 3.6, 3.7 support
77
* The run() function now returns a subprocess.CompletedProcess object,
88
which no longer allows array access operations
99
(those were deprecated in `#60 <https://github.com/DiamondLightSource/python-procrunner/pull/60>`_)

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ classifiers =
1010
License :: OSI Approved :: BSD License
1111
Natural Language :: English
1212
Programming Language :: Python :: 3
13-
Programming Language :: Python :: 3.7
1413
Programming Language :: Python :: 3.8
1514
Programming Language :: Python :: 3.9
1615
Programming Language :: Python :: 3.10
16+
Programming Language :: Python :: 3.11
1717
Operating System :: OS Independent
1818
Topic :: Software Development :: Libraries :: Python Modules
1919
license = BSD
@@ -29,7 +29,7 @@ include_package_data = True
2929
packages = procrunner
3030
package_dir =
3131
=src
32-
python_requires = >=3.7
32+
python_requires = >=3.8
3333
zip_safe = False
3434

3535
[options.packages.find]

0 commit comments

Comments
 (0)