Miss Islington (bot)
806e6ecb2f
[3.10] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) ( #115079 )
...
gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877)
(cherry picked from commit 618d7256e7 )
Co-authored-by: Zachary Ware <zach@python.org>
2024-02-06 15:40:18 +01:00
Steve Dower
dcb16c98be
[3.10] gh-109991: Update Windows build to use OpenSSL 1.1.1w (GH-110090)
...
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2023-10-10 13:46:16 +02:00
Gregory P. Smith
cb37100bec
[3.10] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) (GH-105200) ( #105204 )
...
Upgrade builds to OpenSSL 1.1.1u.
This OpenSSL version addresses a pile if less-urgent CVEs since 1.1.1t.
The Mac/BuildScript/build-installer.py was already updated.
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 a5d2b546c1 )
(cherry picked from commit f90d3f68db )
Co-authored-by: Gregory P. Smith <greg@krypto.org>
2023-06-05 18:07:30 +02:00
Steve Dower
4abf1f1e3f
gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)
...
See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-ARM64-co/10224361 for details of the issue. It only applies to version 14.34.
2023-03-29 15:33:39 +01:00
Steve Dower
744a41bf49
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102776)
2023-03-17 11:37:56 +00:00
Erlend E. Aasland
207fa11feb
[3.10] gh-101759: Update Windows installer to SQLite 3.40.1 (GH-101762) ( #101792 )
...
(cherry picked from commit 5d15224011 )
2023-02-10 22:23:00 +01:00
Steve Dower
b8149a9d7e
gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727)
...
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>
2023-02-09 19:29:14 +00:00
Steve Dower
3139ea33ed
gh-101522: Allow overriding Windows dependencies versions and paths using MSBuild properties (GH-101523)
2023-02-03 18:54:48 +00:00
Steve Dower
40d87ffe4a
gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100903)
2023-01-10 00:15:31 +00:00
Miss Islington (bot)
a2d4537202
gh-98689: Update Windows builds to zlib v1.2.13 (GH-98968)
...
(cherry picked from commit c0859743d9 )
Co-authored-by: Zachary Ware <zach@python.org>
2022-11-01 11:30:40 -07:00
Erlend E. Aasland
a3b06fd1a2
[3.10] gh-94328: Update Windows installer to use SQLite 3.39.4 (GH-98640) ( #98678 )
...
(cherry picked from commit 0c84593275 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2022-10-28 14:16:38 +02:00
Christian Heimes
32a45011e7
[3.10] gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683) (gh-96391)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-29 20:02:00 +02:00
Miss Islington (bot)
036a2c1201
bpo-45816: Support building with VS 2022 (v143 toolset) on Windows (GH-29577)
...
(cherry picked from commit d9301703fb )
Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com>
2022-06-23 12:50:36 -07:00
Miss Islington (bot)
49526080eb
gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985)
...
(cherry picked from commit 38feffa09c )
Co-authored-by: David Machaj <46852402+dmachaj@users.noreply.github.com>
2022-05-19 15:48:42 -07:00
Miss Islington (bot)
dd0e8a62df
[3.10] gh-76773: Update docs mentioning no-longer-supported Windows versions & features (GH-92529) (GH-92609)
...
(cherry picked from commit f1bbcba74f )
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Automerge-Triggered-By: GH:serhiy-storchaka
2022-05-10 02:28:22 -07:00
Steve Dower
73af4b0264
bpo-40859: Update Windows build to use xz-5.2.5 (GH-20622)
...
Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
2022-04-20 14:30:16 +01:00
Steve Dower
b0ec17b6d9
bpo-47103: Copy pgort140.dll into output directory when building PGInstrument on Windows (GH-32083)
2022-04-07 23:21:03 +01:00
Jeremy Kloth
8bce3cb16d
bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)
...
(cherry picked from commit 944f09adfc )
Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
2022-04-06 00:36:18 +01:00
Miss Islington (bot)
16a809ffb7
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241)
...
(cherry picked from commit 6066739ff7 )
Co-authored-by: Zachary Ware <zach@python.org>
2022-04-02 06:39:03 -07:00
Christian Heimes
a59ac1e7d2
[3.10] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (GH-31916)
...
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>.
Co-authored-by: Christian Heimes <christian@python.org>
2022-03-15 21:31:00 +01:00
Steve Dower
58d576a43c
bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732)
2022-03-07 19:15:04 +00:00
Steve Dower
4d191fcde4
bpo-45925: Update Windows installer to SQLite 3.37.2 (GH-30485)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-01-28 17:13:22 +00:00
Ned Deily
cf96c279ac
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211) (GH-30224)
...
Co-authored-by: Ned Deily <nad@python.org>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2021-12-21 23:24:03 -05:00
Miss Islington (bot)
5a6d9ed700
bpo-45931: Prevent Directory.Build.props/targets from leaking from directories above the repo when building on Windows (GH-29854)
...
(cherry picked from commit 734ed35383 )
Co-authored-by: David Federman <david.federman@outlook.com>
2021-11-29 15:08:33 -08:00
Steve Dower
340ecafdf3
bpo-45732: Update bundled Tcl/Tk on Windows to 8.6.12 (GH-29477)
2021-11-09 17:48:49 +00:00
Steve Dower
804ea41211
bpo-45720: Drop references to shlwapi.dll on Windows (GH-29417)
2021-11-06 00:25:29 +00:00
Miss Islington (bot)
c0f3281d6c
bpo-45220: Remove invalid include from resource definition files on Windows (GH-29396) (GH-29406)
...
(cherry picked from commit fd0c84dc28 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-11-04 21:17:08 +01:00
Steve Dower
6340ba7f2c
bpo-43652: Actually update to Tcl/Tk 8.6.11 on Windows (GH-29397)
2021-11-04 17:27:57 +00:00
Miss Islington (bot)
151234f5da
bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28927)
...
(cherry picked from commit f59ed3c310 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-10-13 18:59:04 +02:00
Miss Islington (bot)
ee41d01326
bpo-45055: Add retry when downloading externals on Windows (GH-28399)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit ef9e22b253 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-09-20 07:58:29 -07:00
Miss Islington (bot)
f798cef8aa
bpo-45220: Avoid automatically selecting the Windows 11 SDK preview when building (GH-28393) (GH-28394)
...
(cherry picked from commit f4b94b1f57 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-09-16 22:47:09 +03:00
Łukasz Langa
52bdda50d7
[3.10] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009) (GH-28039)
...
(cherry picked from commit d3bdbbf9a4 )
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-08-30 15:19:16 +02:00
Miss Islington (bot)
db36fdb1f4
bpo-45022: Pin current libffi build to fixed version in preparation for upcoming update (GH-27982)
...
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-08-27 09:28:54 -07:00
Steve Dower
4b46db68d0
Ensure LICENSE.txt file is generated even in PGO builds (GH-27580) (GH-27582)
2021-08-03 17:38:04 +01:00
Steve Dower
0b984d1ccc
bpo-44479: Do not regenerate files during a PGO build as it will invalidate the profile. (GH-27462)
...
Also remove some unused code that should not have been backported.
2021-07-29 23:18:17 +01:00
Steve Dower
f2491c6479
bpo-44479: Simplified LICENSE.txt regeneration in Windows build (GH-27056)
2021-07-07 19:35:51 +01:00
Steve Dower
f3289a5050
bpo-44479: Regenerate test_frozenmain.h and frozen_hello.h during build on Windows (GH-26984)
2021-07-05 17:28:00 +01:00
Miss Islington (bot)
6843a3b930
bpo-44535: Enable building with Visual Studio 2022 on Windows (GH-26962)
...
(cherry picked from commit d3a95c1b6e )
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-06-30 12:24:42 -07:00
Miss Islington (bot)
5fbccb763c
bpo-43298: Improved error message when building without the Windows SDK installed (GH-26800) (GH-26802)
...
(cherry picked from commit 80190b3e53 )
Co-authored-by: Steve Dower <steve.dower@python.org>
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-06-20 21:12:46 +01:00
Miss Islington (bot)
42612db107
bpo-44381: Windows build now allows enabling control flow guard (GH-26645)
...
(cherry picked from commit 5af56c6f2a )
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-06-11 14:21:12 -07:00
Miss Islington (bot)
4bb0a815ef
bpo-42686: Enable SQLite math functions in Windows build (GH-24053) ( #25892 )
...
(cherry picked from commit b451bc8d7e )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-05-04 15:21:40 +02:00
Pablo Galindo
c2931d31f8
bpo-43916: Move the _PyStructSequence_InitType function to the internal API (GH-25854)
2021-05-03 15:50:24 +01:00
Erlend Egeberg Aasland
bf0c7c0147
bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641)
2021-04-27 17:23:53 +01:00
Ken Jin
425434dadc
bpo-40432: Use python 3.8 or higher to compile CPython on Windows ( #25389 )
2021-04-26 20:11:43 +01:00
Terry Jan Reedy
6b59e662fa
bop-43652: Update Tcl and Tk to 8.6.11 in Windows installer (GH-25170)
2021-04-23 22:40:42 +01:00
Steve Dower
a911bd15a1
bpo-43915: Add PCbuild/blurb.bat to simplify Windows contributors (GH-25528)
2021-04-22 20:45:47 +01:00
Victor Stinner
cdad2724e6
bpo-40137: Add pycore_moduleobject.h internal header (GH-25507)
...
Add pycore_moduleobject.h internal header file with static inline
functions to access module members:
* _PyModule_GetDict()
* _PyModule_GetDef()
* _PyModule_GetState()
These functions don't check at runtime if their argument has a valid
type and can be inlined even if Python is not built with LTO.
_PyType_GetModuleByDef() uses _PyModule_GetDef().
Replace PyModule_GetState() with _PyModule_GetState() in the
extension modules, considered as performance sensitive:
* _abc
* _functools
* _operator
* _pickle
* _queue
* _random
* _sre
* _struct
* _thread
* _winapi
* array
* posix
The following extensions are now built with the Py_BUILD_CORE_MODULE
macro defined, to be able to use the internal pycore_moduleobject.h
header: _abc, array, _operator, _queue, _sre, _struct.
2021-04-22 00:52:52 +02:00
Pablo Galindo
37494b441a
bpo-38530: Offer suggestions on AttributeError ( #16856 )
...
When printing AttributeError, PyErr_Display will offer suggestions of similar
attribute names in the object that the exception was raised from:
>>> collections.namedtoplo
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'collections' has no attribute 'namedtoplo'. Did you mean: namedtuple?
2021-04-14 02:36:07 +01:00
Steve Dower
7482838190
bpo-43567: Improved generated code refresh on Windows (GH-25120)
...
Generated files are now refreshed automatically on regular build, or may be forcibly regenerated by calling `build.bat --regen`.
2021-04-06 23:54:43 +01:00
Steve Dower
354b015c17
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.
2021-04-06 13:08:30 +01:00