summaryrefslogtreecommitdiffstats
path: root/PCbuild
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) ↵Gregory P. Smith2023-06-053-5/+5
| | | | | | | | | | | | | | | | | | | | (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 a5d2b546c1b0b73d0695b98838a3ddd497382999) (cherry picked from commit f90d3f68db720bd6d0deda8cc0030339ccd43858) Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)Steve Dower2023-03-291-0/+9
| | | 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.
* Increase stack reserve size for Windows debug builds to avoid test crashes ↵Steve Dower2023-03-172-2/+4
| | | | (GH-102776)
* [3.10] gh-101759: Update Windows installer to SQLite 3.40.1 (GH-101762) ↵Erlend E. Aasland2023-02-103-3/+3
| | | | | (#101792) (cherry picked from commit 5d15224011217487e1a174c144af0e5f5826c17c)
* gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727)Steve Dower2023-02-093-5/+5
| | | | | | | | 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>
* gh-101522: Allow overriding Windows dependencies versions and paths using ↵Steve Dower2023-02-032-31/+44
| | | | MSBuild properties (GH-101523)
* gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100903)Steve Dower2023-01-102-4/+4
|
* gh-98689: Update Windows builds to zlib v1.2.13 (GH-98968)Miss Islington (bot)2022-11-012-2/+2
| | | | | (cherry picked from commit c0859743d9ad3bbd4c021200f4162cfeadc0c17a) Co-authored-by: Zachary Ware <zach@python.org>
* [3.10] gh-94328: Update Windows installer to use SQLite 3.39.4 (GH-98640) ↵Erlend E. Aasland2022-10-283-3/+3
| | | | | | | | (#98678) (cherry picked from commit 0c84593275969d9b8f42e75abb2638b69d5b5f4a) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.10] gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683) (gh-96391)Christian Heimes2022-08-293-5/+5
| | | Co-authored-by: Christian Heimes <christian@python.org>
* bpo-45816: Support building with VS 2022 (v143 toolset) on Windows (GH-29577)Miss Islington (bot)2022-06-233-3/+3
| | | | | (cherry picked from commit d9301703fb1086cafbd730c17e3d450a192485d6) Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com>
* gh-92984: Explicitly disable incremental linking for Windows Release and PGO ↵Miss Islington (bot)2022-05-191-0/+1
| | | | | | | builds (GH-92985) (cherry picked from commit 38feffa09c74d9a853745908b7813903bae33b96) Co-authored-by: David Machaj <46852402+dmachaj@users.noreply.github.com>
* [3.10] gh-76773: Update docs mentioning no-longer-supported Windows versions ↵Miss Islington (bot)2022-05-101-11/+9
| | | | | | | | | | & features (GH-92529) (GH-92609) (cherry picked from commit f1bbcba74f77eff2a4c0881f3d529f3bf0664d40) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Automerge-Triggered-By: GH:serhiy-storchaka
* bpo-40859: Update Windows build to use xz-5.2.5 (GH-20622)Steve Dower2022-04-204-5/+5
| | | Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
* bpo-47103: Copy pgort140.dll into output directory when building ↵Steve Dower2022-04-071-4/+11
| | | | PGInstrument on Windows (GH-32083)
* bpo-47230: Silence compiler warnings on Windows from zlib 1.2.12 (GH-32337)Jeremy Kloth2022-04-051-1/+3
| | | | | (cherry picked from commit 944f09adfcc59f54432ac2947cf95f3465d90e1e) Co-authored-by: Jeremy Kloth <jeremy.kloth@gmail.com>
* bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 ↵Miss Islington (bot)2022-04-022-2/+2
| | | | | | | (GH-32241) (cherry picked from commit 6066739ff7794e54c98c08b953a699cbc961cd28) Co-authored-by: Zachary Ware <zach@python.org>
* [3.10] bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) (GH-31916)Christian Heimes2022-03-152-4/+4
| | | | Co-authored-by: Zachary Ware <zachary.ware@gmail.com>. Co-authored-by: Christian Heimes <christian@python.org>
* bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 ↵Steve Dower2022-03-073-3/+3
| | | | and CVE-2019-12900 (GH-31732)
* bpo-45925: Update Windows installer to SQLite 3.37.2 (GH-30485)Steve Dower2022-01-283-3/+3
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* bpo-46106: Update OpenSSL to 1.1.1m (GH-30211) (GH-30224)Ned Deily2021-12-222-4/+4
| | | | Co-authored-by: Ned Deily <nad@python.org> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* bpo-45931: Prevent Directory.Build.props/targets from leaking from ↵Miss Islington (bot)2021-11-293-2/+10
| | | | | | | directories above the repo when building on Windows (GH-29854) (cherry picked from commit 734ed3538314c9651ae64d5e2e0e98aae3aec17b) Co-authored-by: David Federman <david.federman@outlook.com>
* bpo-45732: Update bundled Tcl/Tk on Windows to 8.6.12 (GH-29477)Steve Dower2021-11-092-5/+5
|
* bpo-45720: Drop references to shlwapi.dll on Windows (GH-29417)Steve Dower2021-11-061-1/+1
|
* bpo-45220: Remove invalid include from resource definition files on Windows ↵Miss Islington (bot)2021-11-041-3/+0
| | | | | | | (GH-29396) (GH-29406) (cherry picked from commit fd0c84dc28d00d68e4f43034dc41786a682390fd) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-43652: Actually update to Tcl/Tk 8.6.11 on Windows (GH-29397)Steve Dower2021-11-042-4/+4
|
* bpo-45229: Make tkinter tests discoverable (GH-28637) (GH-28927)Miss Islington (bot)2021-10-131-2/+0
| | | | | (cherry picked from commit f59ed3c310a7ceebf2a56a84ea969a7f75d95b64) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-45055: Add retry when downloading externals on Windows (GH-28399)Miss Islington (bot)2021-09-201-1/+18
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit ef9e22b253253615098d22cb49141a2a1024ee3c) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-45220: Avoid automatically selecting the Windows 11 SDK preview when ↵Miss Islington (bot)2021-09-161-0/+3
| | | | | | | | building (GH-28393) (GH-28394) (cherry picked from commit f4b94b1f57827083990272b5f282aa1493ae2bf4) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.10] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI ↵Łukasz Langa2021-08-302-4/+4
| | | | | | | | (GH-28009) (GH-28039) (cherry picked from commit d3bdbbf9a4352a24fc2bfc7a63a024b244b61aba) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-45022: Pin current libffi build to fixed version in preparation for ↵Miss Islington (bot)2021-08-273-9/+17
| | | | | | | | 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 969ae7f7356584e30667b4e490ffa2ffa1810429) Co-authored-by: Steve Dower <steve.dower@python.org>
* Ensure LICENSE.txt file is generated even in PGO builds (GH-27580) (GH-27582)Steve Dower2021-08-031-3/+1
|
* bpo-44479: Do not regenerate files during a PGO build as it will invalidate ↵Steve Dower2021-07-291-6/+6
| | | | | the profile. (GH-27462) Also remove some unused code that should not have been backported.
* bpo-44479: Simplified LICENSE.txt regeneration in Windows build (GH-27056)Steve Dower2021-07-071-9/+9
|
* bpo-44479: Regenerate test_frozenmain.h and frozen_hello.h during build on ↵Steve Dower2021-07-053-29/+42
| | | | Windows (GH-26984)
* bpo-44535: Enable building with Visual Studio 2022 on Windows (GH-26962)Miss Islington (bot)2021-06-301-0/+1
| | | | | (cherry picked from commit d3a95c1b6eacbbbd92c294744e7ed41932f3f63e) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-43298: Improved error message when building without the Windows SDK ↵Miss Islington (bot)2021-06-201-3/+12
| | | | | | | | | installed (GH-26800) (GH-26802) (cherry picked from commit 80190b3e533097b55077becddc75423318ab2371) Co-authored-by: Steve Dower <steve.dower@python.org> Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-44381: Windows build now allows enabling control flow guard (GH-26645)Miss Islington (bot)2021-06-111-2/+2
| | | | | (cherry picked from commit 5af56c6f2a0d11df37fed7ecaaf321cf6926ba13) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-42686: Enable SQLite math functions in Windows build (GH-24053) (#25892)Miss Islington (bot)2021-05-041-1/+1
| | | | | (cherry picked from commit b451bc8d7e5e5a1df46fbecb6cf50af942cc401e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-43916: Move the _PyStructSequence_InitType function to the internal API ↵Pablo Galindo2021-05-031-0/+1
| | | | (GH-25854)
* bpo-43492: Upgrade Windows installer to use SQLite 3.35.5 (GH-25641)Erlend Egeberg Aasland2021-04-273-3/+3
|
* bpo-40432: Use python 3.8 or higher to compile CPython on Windows (#25389)Ken Jin2021-04-261-2/+2
|
* bop-43652: Update Tcl and Tk to 8.6.11 in Windows installer (GH-25170)Terry Jan Reedy2021-04-232-4/+4
|
* bpo-43915: Add PCbuild/blurb.bat to simplify Windows contributors (GH-25528)Steve Dower2021-04-221-0/+28
|
* bpo-40137: Add pycore_moduleobject.h internal header (GH-25507)Victor Stinner2021-04-212-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* bpo-38530: Offer suggestions on AttributeError (#16856)Pablo Galindo2021-04-141-0/+1
| | | | | | | | | 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?
* bpo-43567: Improved generated code refresh on Windows (GH-25120)Steve Dower2021-04-065-228/+108
| | | Generated files are now refreshed automatically on regular build, or may be forcibly regenerated by calling `build.bat --regen`.
* bpo-43745: Actually updates Windows release to OpenSSL 1.1.1k. (GH-25213)Steve Dower2021-04-062-2/+2
| | | | 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.
* bpo-41111: xxlimited.c defines Py_LIMITED_API (GH-25151)Victor Stinner2021-04-022-6/+0
| | | | | | xxlimited.c and xxlimited_35.c now define the Py_LIMITED_API macro, rather than having to do it in the build recipe. Co-authored-by: Hai Shi <shihai1992@gmail.com>
* bpo-43688: Fix Py_LIMITED_API version of xxlimited (GH-25135)Victor Stinner2021-04-011-1/+1
| | | | xxlimited targets Python 3.10, not Python 3.16: fix the hexadecimal version number used in the Py_LIMITED_API macro.