Skip to content

Commit e2e2f3d

Browse files
committed
python_distributions: update default distributions to CPython 3.7.7
The Windows embeddable distributions changed their DLL dependency list. Why, I'm not sure. But this required a minor test change.
1 parent 259a218 commit e2e2f3d

File tree

3 files changed

+19
-20
lines changed

3 files changed

+19
-20
lines changed

docs/history.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ New Features
128128
distribution that is either statically or dynamically linked.
129129
* Support for parsing version 4 of the ``PYTHON.json`` distribution descriptor
130130
present in standalone Python distribution archives.
131-
* Default Python distributions upgraded to CPython 3.7.6.
131+
* Default Python distributions upgraded to CPython 3.7.7.
132132

133133
Other Relevant Changes
134134
^^^^^^^^^^^^^^^^^^^^^^

pyoxidizer/src/py_packaging/windows_embeddable_distribution.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,6 @@ mod tests {
755755
name: "_ssl".to_string(),
756756
path: extract_dir.join("_ssl.pyd"),
757757
distribution_dll_dependencies: vec![
758-
extract_dir.join("vcruntime140.dll"),
759758
extract_dir.join("libcrypto-1_1.dll"),
760759
extract_dir.join("libssl-1_1.dll"),
761760
extract_dir.join("python37.dll")

pyoxidizer/src/python_distributions.rs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,44 +20,44 @@ lazy_static! {
2020
res.insert(
2121
"x86_64-unknown-linux-gnu".to_string(),
2222
HostedDistribution {
23-
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200216/cpython-3.7.6-linux64-20200216T2303.tar.zst"),
23+
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-linux64-20200409T0045.tar.zst"),
2424
sha256: String::from(
25-
"58067eecbd1600ea765f7fe7b43562bbc8058db4c84ddbfcaddcd2ee18193907",
25+
"74799ae3b7f3ddc2d118516d65d46356fb3ef3ff3c4c4591a0dde073c413aff0",
2626
),
2727
},
2828
);
2929

3030
res.insert(
3131
"x86_64-unknown-linux-musl".to_string(),
3232
HostedDistribution {
33-
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200217/cpython-3.7.6-linux64-musl-20200218T0557.tar.zst"),
33+
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-linux64-musl-20200409T0047.tar.zst"),
3434
sha256: String::from(
35-
"d5e5d8681b0af13bc3e718a35d6237b3629908a669050cb8c8ab919a731c5718",
35+
"c1ffa330c7305f46886b7cd2b77edf0e43463113cef426d388476337c3e5cfa9",
3636
),
3737
},
3838
);
3939

4040
res.insert(
4141
"i686-pc-windows-msvc".to_string(),
4242
HostedDistribution {
43-
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200216/cpython-3.7.6-windows-x86-static-20200216T2309.tar.zst"),
44-
sha256: String::from("29fcca67a022bfac3f29a8a32cb070eef8cecbf052dd9a4eff6feae441ca8fb6"),
43+
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-windows-x86-static-20200409T0107.tar.zst"),
44+
sha256: String::from("978e863fd39f8758c2af18dd750f64eb4b57bd8bfea86cae5fcdde305c56dca7"),
4545
},
4646
);
4747

4848
res.insert(
4949
"x86_64-pc-windows-msvc".to_string(),
5050
HostedDistribution {
51-
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200216/cpython-3.7.6-windows-amd64-static-20200216T2300.tar.zst"),
52-
sha256: String::from("a9348f50d7289fde92e0ad36073febf9b86448737286cecead08881d009b5829"),
51+
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-windows-amd64-static-20200409T0105.tar.zst"),
52+
sha256: String::from("fe8d95bc2d7d911ba23c318b786ea7d17c3e2aadbedf47b1d53962bf42e418fe"),
5353
},
5454
);
5555

5656
res.insert(
5757
"x86_64-apple-darwin".to_string(),
5858
HostedDistribution {
59-
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200216/cpython-3.7.6-macos-20200216T2344.tar.zst"),
60-
sha256: String::from("0487f70c2b857ddcf8d005ba6de9b97b13800aeaeb505c42da7659d83c79d233"),
59+
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-macos-20200409T0112.tar.zst"),
60+
sha256: String::from("2deff8456c03b63ad0d25b08d85a117139c08d825bf645daad37f4c6f2545d4e"),
6161
},
6262
);
6363

@@ -69,16 +69,16 @@ lazy_static! {
6969
res.insert(
7070
"i686-pc-windows-msvc".to_string(),
7171
HostedDistribution {
72-
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200216/cpython-3.7.6-windows-x86-shared-pgo-20200217T0110.tar.zst"),
73-
sha256: String::from("a77b2245f0109fa80cd46adeb40815a1e8892002fffa64293a9702f50d547bc2"),
72+
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-windows-x86-shared-pgo-20200409T0157.tar.zst"),
73+
sha256: String::from("69813ae54e691e244e02b25099f7af90a0bac1b63eae80dfe039b7f26010072e"),
7474
},
7575
);
7676

7777
res.insert(
7878
"x86_64-pc-windows-msvc".to_string(),
7979
HostedDistribution {
80-
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200216/cpython-3.7.6-windows-amd64-shared-pgo-20200217T0022.tar.zst"),
81-
sha256: String::from("35ccece4950147a9344e4843bc6148882b12b79806707726b15e846eb6cfed4e"),
80+
url: String::from("https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-windows-amd64-shared-pgo-20200409T0115.tar.zst"),
81+
sha256: String::from("c43c44ebfe9b9f9c59c12481a6233b17bc9a4ad965f8f0dc0063abff4dc59875"),
8282
},
8383
);
8484

@@ -90,19 +90,19 @@ lazy_static! {
9090
res.insert(
9191
"i686-pc-windows-msvc".to_string(),
9292
HostedDistribution {
93-
url: "https://www.python.org/ftp/python/3.7.6/python-3.7.6-embed-win32.zip"
93+
url: "https://www.python.org/ftp/python/3.7.7/python-3.7.7-embed-win32.zip"
9494
.to_string(),
95-
sha256: "e2257b87e2e1a131e5d2adf843887fdab5021f8d4d6d68d49691aa965650c3ab"
95+
sha256: "0f3742ec2eeefa426f818997df9aff578a73e424e836b6fb38cb1bb243d63d31"
9696
.to_string(),
9797
},
9898
);
9999

100100
res.insert(
101101
"x86_64-pc-windows-msvc".to_string(),
102102
HostedDistribution {
103-
url: "https://www.python.org/ftp/python/3.7.6/python-3.7.6-embed-amd64.zip"
103+
url: "https://www.python.org/ftp/python/3.7.7/python-3.7.7-embed-amd64.zip"
104104
.to_string(),
105-
sha256: "114638061d636285600cbc3d4def64b45c43da9b225cb9eeead30fe7fe7d60d4"
105+
sha256: "705c03140cfd3372f27ee911db5f4eb1fc9b980c9e27544adbd1a6adf942a1b0"
106106
.to_string(),
107107
},
108108
);

0 commit comments

Comments
 (0)