Commit graph

1185 commits

Author SHA1 Message Date
Łukasz Langa
64c9fcc893
[3.8] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (#115086)
(cherry picked from commit 618d7256e7)

Co-authored-by: Zachary Ware <zach@python.org>
2024-02-06 16:08:41 +01:00
Zachary Ware
d737623481
[3.8] gh-109991: Update Windows build to use OpenSSL 1.1.1w (GH-111266)
(cherry picked from commit dcb16c98be)

Co-authored-by: Steve Dower <steve.dower@python.org>
2024-01-17 14:45:48 +01:00
Łukasz Langa
43eff242c5
[3.8] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) (GH-105200) (GH-105205) (#105370)
Upgrade builds to OpenSSL 1.1.1u.

Also updates _ssl_data_111.h from OpenSSL 1.1.1u, _ssl_data_300.h from 3.0.9.

Manual edits to the _ssl_data_300.h file prevent it from removing any
existing definitions in case those exist in some peoples builds and were
important (avoiding regressions during backporting).

(cherry picked from commit ede89af)
(cherry picked from commit e15de14c16)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Ned Deily <nad@python.org>
2023-06-06 15:17:42 +02:00
Steve Dower
ddd495e055
[3.8] gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727) (GH-101752)
Fixes CVE-2023-0286 (High) and a couple of Medium security issues.
https://www.openssl.org/news/secadv/20230207.txt

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Ned Deily <nad@python.org>
2023-03-07 18:03:06 -05:00
Steve Dower
be3b5f7c78
[3.8] gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100903) (#101258) 2023-01-23 18:53:56 +01:00
Miss Islington (bot)
7ccdec3d1d
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241) (GH-32250)
(cherry picked from commit 6066739ff7)

Co-authored-by: Zachary Ware <zach@python.org>
2022-05-16 17:35:01 +02:00
Ned Deily
e8b72fc7f3
[3.8] bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n. (GH-31912)
* bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n.

* Revert inadvertent sqlite downgrade
2022-03-15 21:53:48 +01:00
Steve Dower
6649519e67
bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732) (GH-31734) 2022-03-08 10:04:59 +01:00
Miss Islington (bot)
456d6d9fef
bpo-45220: Avoid automatically selecting the Windows 11 SDK preview when building (GH-28393) (GH-28622)
(cherry picked from commit f4b94b1f57)

Co-authored-by: Steve Dower <steve.dower@python.org>
2021-09-29 15:54:47 +02:00
Steve Dower
8c3a10e58b
bpo-45022: Pin current libffi build to fixed version in preparation for upcoming update (GH-27982) (GH-28001)
Also improve the build script for libffi, which is not used as part of the regular build.
(cherry picked from commit 969ae7f735)

Co-authored-by: Steve Dower <steve.dower@python.org>
2021-09-03 18:53:12 +02:00
Łukasz Langa
803c60789b
[3.8] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009) (GH-28041)
(cherry picked from commit d3bdbbf9a4)

Co-authored-by: Steve Dower <steve.dower@python.org>
2021-08-29 18:27:01 +02:00
Erlend Egeberg Aasland
7f7cfc4118
[3.8] bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641)
(cherry picked from commit bf0c7c0147)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-04-27 20:57:24 +01:00
Miss Islington (bot)
9a988b8cd8
bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213)
Earlier releases were mislabelled and included 1.1.1i again.
The tag/directory name is updated to ensure that builds get the fresh bits. However, the openssl-bin-1.1.1k tag in the repository has been forcibly updated, so fresh builds will be fine even without this change.
(cherry picked from commit 611aa39142)

Co-authored-by: Steve Dower <steve.dower@python.org>
2021-04-06 08:22:39 -07:00
Christian Heimes
9ac263091d
[3.8] bpo-43631: Update to OpenSSL 1.1.1k (GH-25024) (GH-25089)
Signed-off-by: Christian Heimes <christian@python.org>

Automerge-Triggered-By: GH:tiran.
(cherry picked from commit a54fc683f2)

Co-authored-by: Christian Heimes <christian@python.org>
2021-03-30 01:58:12 -07:00
Steve Dower
db91714faa
bpo-42584: Update Windows installer to use SQLite 3.34.0 (GH-23675)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-01-06 00:31:10 +00:00
Steve Dower
86b1207dbb
bpo-41837: Updated Windows installer to include OpenSSL 1.1.1i (GH-24125) 2021-01-06 00:07:51 +00:00
Steve Dower
8b1f4cc464
bpo-42336: Improve PCbuild batch files (GH-23325) 2020-11-18 17:24:56 +00:00
Miss Skeleton (bot)
db4932e311
Enable signing of nuget.org packages and update to supported timestamp server (GH-23132)
(cherry picked from commit db6434c474)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-11-03 15:07:37 -08:00
Miss Skeleton (bot)
30a788990a
bpo-41557: Update Windows installer to use SQLite 3.33.0 (GH-21960)
(cherry picked from commit bfe6e03cd6)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2020-10-08 11:57:33 -07:00
Miss Islington (bot)
f599f9ea3c
bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)
(cherry picked from commit 84761c3cc4)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-07-20 17:09:51 -07:00
Miss Islington (bot)
aa7f775614
bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (GH-21297) (GH-21352)
Also enables using debug build of `python3_d.dll`
Reference: CVE-2020-15523
(cherry picked from commit dcbaa1b49c)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-07-06 19:12:16 +02:00
Steve Dower
7e57c367d6
bpo-40164: Update Windows OpenSSL to 1.1.1g (GH-20834)
Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్  రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
2020-06-12 22:14:53 +01:00
Miss Islington (bot)
30513b6277
bpo-40861: Enable optimizations when building liblzma (GH-20724)
(cherry picked from commit 3a3a30c5a4)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-06-08 10:07:27 -07:00
Miss Islington (bot)
a6a116c1b9
bpo-40458: Increase reserved stack space to prevent overflow crash on Windows (GH-19845)
(cherry picked from commit ac4bf42411)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-05-05 11:03:21 -07:00
Miss Islington (bot)
3a55450256
bpo-38439: Add 256px IDLE icon (GH-17473)
Icon author: Andrew Clover, bpo-1490384
(cherry picked from commit 3a69f3caee)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2020-04-22 00:39:59 -07:00
Steve Dower
37126e7bd2
bpo-40164: Update Windows to OpenSSL 1.1.1f (GH-19359) 2020-04-04 15:47:40 +01:00
Miss Islington (bot)
35ae5d916c
bpo-39930: Fix MSBuild detection for Build Tools (GH-18938)
Ensure we detect Build Tools installs using the newer logic, and skip looking in the registry for VS 2017.
(cherry picked from commit 894adc18b4)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-03-12 09:47:53 -07:00
Miss Islington (bot)
17571c54e0
bpo-39930: Convert error to warning for more silent failure (GH-18921)
Makes it an error to create a layout without vcruntime DLL
(cherry picked from commit fde44ae6d0)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-03-11 07:31:07 -07:00
Miss Islington (bot)
d01c5507e5
bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918)
Also adds GitHub CI test for Windows installer changes
(cherry picked from commit 2dd41740c9)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-03-11 04:38:18 -07:00
Miss Islington (bot)
0d20364b13
bpo-38597: Never statically link extension initialization code on Windows (GH-18724)
(cherry picked from commit ce3a498408)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-03-02 16:30:18 -08:00
Miss Islington (bot)
7ad99821d8
bpo-38380: Update macOS & Windows builds to SQLite v3.31.1 (GH-18678)
Automerge-Triggered-By: @zooba
(cherry picked from commit 1382c3289b)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2020-03-02 07:02:03 -08:00
Miss Islington (bot)
6470a76430
bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)
(cherry picked from commit 89ae20b30e)

Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
2020-02-04 16:48:01 -08:00
Steve Dower
c9f480d2cc
bpo-33125: Add support for building and releasing Windows ARM64 packages (GH-17480)
Note that the support is not actually enabled yet, and so we won't be publishing these packages. However, for those who want to build it themselves (even by reusing the Azure Pipelines definition), it's now relatively easy to enable.
2019-12-06 09:40:39 -08:00
Miss Islington (bot)
cbbf1098f3
bpo-38809: Windows build scripts use python.exe from virtual envs (GH-17164)
https://bugs.python.org/issue38809
(cherry picked from commit ee703cbb41)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
2019-11-18 09:53:21 -08:00
Miss Islington (bot)
7773d391f8
bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (GH-16824)
(cherry picked from commit 7aebbd1182)

Co-authored-by: Steve Dower <steve.dower@python.org>
2019-10-16 10:46:29 -07:00
Benjamin Peterson
d75bf44a28
[3.8] closes bpo-38174: Update vendored expat library to 2.2.8. (GH-16409)
Fixes CVE-2019-15903. See full changelog at https://github.com/libexpat/libexpat/blob/R_2_2_8/expat/Changes.
(cherry picked from commit 52b9408038)
2019-09-25 21:57:14 -07:00
Miss Islington (bot)
26729ce74a
bpo-38117: Update bundled Windows OpenSSL to 1.1.1d (GH-16184)
(cherry picked from commit 3ab73f6bbf)

Co-authored-by: Steve Dower <steve.dower@python.org>
2019-09-16 07:40:19 -07:00
Miss Islington (bot)
da38ec1d48
bpo-37326: Include libffi license when available (GH-15921)
(cherry picked from commit 8fcaffb048)

Co-authored-by: Steve Dower <steve.dower@python.org>
2019-09-11 06:31:27 -07:00
Miss Islington (bot)
5779c53632 bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266) (GH-15441)
(cherry picked from commit 0a18ee4be7)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
2019-08-23 15:39:27 -07:00
Miss Islington (bot)
853eecc769
bpo-37841: Remove python_uwp dependency on msvcp140.dll (GH-15253)
(cherry picked from commit b0dace3e97)

Co-authored-by: Steve Dower <steve.dower@python.org>
2019-08-13 10:54:28 -07:00
Miss Islington (bot)
36fd7b6f01
bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite coverage (GH-14985)
https://bugs.python.org/issue36044

Automerge-Triggered-By: @zooba
(cherry picked from commit e1b9002472)

Co-authored-by: Steve Dower <steve.dower@python.org>
2019-07-28 18:20:02 -07:00
Miss Islington (bot)
dad8f79cfd
bpo-35360: Update Windows builds to use SQLite 3.28.0 (GH-14179)
(cherry picked from commit 7fd2ba354e)

Co-authored-by: animalize <animalize@users.noreply.github.com>
2019-06-24 16:43:31 -07:00
Miss Islington (bot)
389abd37ba
bpo-37333: Ensure IncludeTkinter has a value (GH-14240)
(cherry picked from commit 12f1c726d8)

Co-authored-by: Steve Dower <steve.dower@python.org>
2019-06-19 13:25:44 -07:00
Miss Islington (bot)
c28c135824 bpo-34631: Updated OpenSSL to 1.1.1c in Windows installer (GH-14163)
(cherry picked from commit a268edd6a4)

Co-authored-by: Steve Dower <steve.dower@python.org>
2019-06-17 12:54:18 -07:00
Miss Islington (bot)
79d8204c4f
bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096)
(cherry picked from commit 00f6493084)

Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
2019-06-17 08:43:35 -07:00
Steve Dower
f78e66c3c9
Implement Windows release builds in Azure Pipelines (GH-14065)
Includes backported fixes from GH-14091
2019-06-14 14:20:16 -07:00
Miss Islington (bot)
36926df834
bpo-37238: Enable building for Windows using Visual Studio 2019 (GH-13988)
(cherry picked from commit 04856c2193)

Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
2019-06-11 15:35:55 -07:00
Miss Islington (bot)
84d47bd8ad
bpo-37181: Fix test_regrtest failures on Windows arm64 (GH-13872)
(cherry picked from commit e7e5039d69)

Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
2019-06-07 11:17:52 -07:00
Inada Naoki
91234a1636
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)
This patch implements per opcode cache mechanism, and use it in
only LOAD_GLOBAL opcode.

Based on Yury's opcache3.patch in bpo-26219.
2019-06-03 21:30:58 +09:00
Zackery Spytz
8f96c9f8ed bpo-37007: Implement socket.if_nametoindex(), if_indextoname() and if_nameindex() on Windows (GH-13522) 2019-05-29 14:02:37 -07:00