Skip to content

Commit f36e3a3

Browse files
committed
Remove Python 3.7 support
1 parent 84d103a commit f36e3a3

25 files changed

Lines changed: 56 additions & 197 deletions

.appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ environment:
3535
SCONS_CACHE_MSVC_CONFIG: "true"
3636
matrix:
3737
# Test oldest and newest supported Pythons, and a subset in between.
38-
# Skipping 3.8, 3.10, 3.12 at this time
38+
# Skipping 3.10, 3.12 at this time
3939
- WINPYTHON: "Python313"
4040
- WINPYTHON: "Python311"
4141
- WINPYTHON: "Python39"
@@ -45,7 +45,7 @@ environment:
4545
# to fine tune the number and platforms tested
4646
matrix:
4747
exclude:
48-
# test python 3.7 on Visual Studio 2017 image
48+
# test python 3.8 on Visual Studio 2017 image
4949
- image: Visual Studio 2017
5050
WINPYTHON: "Python313"
5151
- image: Visual Studio 2017
@@ -59,13 +59,13 @@ matrix:
5959
- image: Visual Studio 2019
6060
WINPYTHON: "Python311"
6161
- image: Visual Studio 2019
62-
WINPYTHON: "Python37"
62+
WINPYTHON: "Python38"
6363

6464
# test python 3.11, 3.13 on Visual Studio 2022 image
6565
- image: Visual Studio 2022
6666
WINPYTHON: "Python39"
6767
- image: Visual Studio 2022
68-
WINPYTHON: "Python37"
68+
WINPYTHON: "Python38"
6969

7070
# Remove some binaries we don't want to be found
7171
# Note this is no longer needed, git-windows bin/ is quite minimal now.

.github/workflows/runtest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
cfg: [
24-
{os: 'ubuntu-22.04', py: '3.7'},
24+
{os: 'ubuntu-22.04', py: '3.8'},
2525
{os: 'ubuntu-24.04', py: '3.13'},
2626
]
2727

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
- &coverage_jobs
5757
dist: bionic
58-
python: 3.7
58+
python: 3.8
5959
name: coverage
6060
before_script:
6161
- ./.travis/coverage_setup.sh

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ SCons is an open-source software construction tool (build tool) implemented in P
1313
## Building and Running
1414

1515
### Prerequisites
16-
* Python 3.7 or higher.
16+
* Python 3.8 or higher.
1717
* Development dependencies: `python -m pip install -r requirements-dev.txt`
1818

1919
### Running SCons (Development)

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ NOTE: The 4.0.0 release of SCons dropped Python 2.7 support. Use 3.1.2 if
88
Python 2.7 support is required (but note old SCons releases are unsupported).
99
NOTE: Since SCons 4.3.0, Python 3.6.0 or above is required.
1010
NOTE: Since SCons 4.9.0, Python 3.7.0 or above is required.
11+
NOTE: Since SCons NEXT_RELEASE, Python 3.8.0 or above is required.
1112

1213

1314
RELEASE VERSION/DATE TO BE FILLED IN LATER
@@ -27,6 +28,7 @@ RELEASE VERSION/DATE TO BE FILLED IN LATER
2728
- Implement type hints for Node subclasses.
2829
- Ruff: Handle F401 exclusions more granularly, remove per-file exclusions.
2930
- Deprecated Python 3.7 & 3.8 support.
31+
- Removed Python 3.7 support.
3032

3133
From William Deegan:
3234
- Fix SCons Docbook schema to work with lxml > 5

README-SF.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ version at the SCons download page:
4747
Execution Requirements
4848
======================
4949

50-
Running SCons requires Python 3.7 or higher. There should be no other
50+
Running SCons requires Python 3.8 or higher. There should be no other
5151
dependencies or requirements to run standard SCons.
5252

53+
The last release to support Python 3.7 was NEXT_RELEASE.
5354
The last release to support Python 3.6 was 4.8.1.
5455
The last release to support Python 3.5 was 4.2.0.
5556

README-local

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ scons-local package, or any SCons package, at the SCons download page:
4343
EXECUTION REQUIREMENTS
4444
======================
4545

46-
Running SCons requires Python 3.7 or higher. There should be no other
46+
Running SCons requires Python 3.8 or higher. There should be no other
4747
dependencies or requirements to run standard SCons.
4848

49+
The last release to support Python 3.7 was NEXT_RELEASE.
4950
The last release to support Python 3.6 was 4.8.1.
5051
The last release to support Python 3.5 was 4.2.0.
5152

README-package.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ https://scons.org/documentation.html.
8080
Execution Requirements
8181
======================
8282

83-
Running SCons requires Python 3.7 or higher. There should be no other
83+
Running SCons requires Python 3.8 or higher. There should be no other
8484
dependencies or requirements to run standard SCons.
8585

86+
The last release to support Python 3.7 was NEXT_RELEASE.
8687
The last release to support Python 3.6 was 4.8.1.
8788
The last release to support Python 3.5 was 4.2.0.
8889

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,10 @@ is the latest version at the
8383
Execution Requirements
8484
======================
8585

86-
Running SCons requires Python 3.7 or higher. There should be no other
86+
Running SCons requires Python 3.8 or higher. There should be no other
8787
dependencies or requirements to run standard SCons.
8888

89+
The last release to support Python 3.7 was NEXT_RELEASE.
8990
The last release to support Python 3.6 was 4.8.1.
9091
The last release to support Python 3.5 was 4.2.0.
9192

RELEASE.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ CHANGED/ENHANCED EXISTING FUNCTIONALITY
3131
- List modifications to existing features, where the previous behavior
3232
wouldn't actually be considered a bug
3333

34+
- Removed Python 3.7 support.
35+
3436
FIXES
3537
-----
3638

0 commit comments

Comments
 (0)