aboutsummaryrefslogtreecommitdiff
path: root/Tools
AgeCommit message (Collapse)Author
2022-11-22[3.11] gh-99016: Make build scripts compatible with Python 3.8 (GH-99017). ↵Serhiy Storchaka
(GH-99693) (cherry picked from commit f520d720f667c87f7b70ed86ea58d73892d6b969)
2022-10-15[3.11] gh-95731: Fix module docstring extraction in pygettext (GH-95732) ↵Miss Islington (bot)
(#98281) gh-95731: Fix module docstring extraction in pygettext (GH-95732) (cherry picked from commit 120b4ab2b68aebf96ce0de243eab89a25fc2d282) Co-authored-by: Jakub Kuczys <me@jacken.men>
2022-10-03[3.11] gh-97728: Argument Clinic: Fix uninitialized variable in the ↵Serhiy Storchaka
Py_UNICODE converter (GH-97729) (GH-97757) It affects function os.system() on Windows and Windows-specific modules winreg, _winapi, _overlapped, and _msi. (cherry picked from commit 0ee9619a4cba58730c45e65d22288fadbf7680de)
2022-09-30gh-90989: Clarify some installer text (GH-97668)Steve Dower
2022-09-28gh-97612: Fix shell injection in get-remote-certificate.py (GH-97613)Miss Islington (bot)
Fix a shell code injection vulnerability in the get-remote-certificate.py example script. The script no longer uses a shell to run "openssl" commands. Issue reported and initial fix by Caleb Shortt. Remove the Windows code path to send "quit" on stdin to the "openssl s_client" command: use DEVNULL on all platforms instead. Co-authored-by: Caleb Shortt <caleb@rgauge.com> (cherry picked from commit 83a0f44ffd8b398673ae56c310cf5768d359c341) Co-authored-by: Victor Stinner <vstinner@python.org>
2022-09-17[3.11] gh-96883: browser: include concurrent.futures (GH-96886) (GH-96888)Christian Heimes
2022-09-14gh-96729: Ensure installers built with Tools/msi/buildrelease.bat have ↵Miss Islington (bot)
matching UUIDs with official releases (GH-96755) (cherry picked from commit 662782e95f97d26bd57b3edc6aaf674e30899f44) Co-authored-by: adang1345 <adang1345@gmail.com>
2022-09-13gh-84461: Omit resource mod and getresuid funcs on Emscripten (GH-96303)Miss Islington (bot)
(cherry picked from commit a36235d5c7863a85fa323b2048d3d254116a958e) Co-authored-by: Christian Heimes <christian@python.org>
2022-09-13[3.11] gh-95853: Add script to automate WASM build (GH-95828, GH-95985, ↵Christian Heimes
GH-96045, GH-96389, GH-96744) (GH-96749) Automate WASM build with a new Python script. The script provides several build profiles with configure flags for Emscripten flavors and WASI. The script can detect and use Emscripten SDK and WASI SDK from default locations or env vars. ``configure`` now detects Node arguments and creates HOSTRUNNER arguments for Node 16. It also sets correct arguments for ``wasm64-emscripten``.
2022-09-13[3.11] gh-96320: WASI socket fixes (GH-96388) (GH-#96748)Miss Islington (bot)
- ignore missing functions in ``socket.__repr__`` - bundle network files with assets
2022-08-29gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683)Miss Islington (bot)
(cherry picked from commit 873554ef84011773618911ffa698cea181cec9fd) Co-authored-by: Christian Heimes <christian@python.org>
2022-08-25bpo-46744: Support "-Win32" and make platform flags case insensitive in ↵Miss Islington (bot)
Windows build scripts. (GH-31803) (cherry picked from commit 1288097088dcf3bad3799bd5867e7675515a5b18) Co-authored-by: conioh <10606081+conioh@users.noreply.github.com>
2022-08-10gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650) (GH-95780)Miss Islington (bot)
(cherry picked from commit cc9160a29bc3356ced92348bcd8e6668c67167c9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-08-04gh-95587: Fixes some upgrade detection issues in the Windows installer ↵Miss Islington (bot)
(GH-95631) (cherry picked from commit 5b6acbaa20aa8c80c0f10986bf6c755608664023) Co-authored-by: Steve Dower <steve.dower@python.org>
2022-08-01gh-95445: Ensure Windows msi uninstalls document folder successfully (GH-95465)Miss Islington (bot)
(cherry picked from commit 7d8973870bb079bf71d094cd966d6b6336f1e25f) Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
2022-08-01[3.11] gh-95174: Add pthread stubs for WASI (GH-95234) (#95503)Christian Heimes
Co-authored-by: Brett Cannon <brett@python.org>. (cherry picked from commit 0fe645d6fd22a6f57e777a29e65cf9a4ff9785ae) Co-authored-by: Christian Heimes <christian@python.org>
2022-07-31[3.11] gh-95174: WASI: skip missing sockets functions (GH-95179) (GH-95308)Christian Heimes
Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-07-27gh-95174: Move WASIX logic into wasi-env (GH-95320)Miss Islington (bot)
wasi-env now sets WASIX flags. This allows us to control all build parameter for wasm32-wasi buildbot from CPython repository. Also export and improve SYSROOT parameter. (cherry picked from commit 2833f3798dc3647e850b303a4d0fa00609a0ae9b) Co-authored-by: Christian Heimes <christian@python.org>
2022-07-27[3.11] gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086) ↵Miss Islington (bot)
(GH-95307) Co-authored-by: Christian Heimes <christian@python.org>
2022-07-26gh-95205: Improve WASM README.md (GH-95267) (GH-95270)Miss Islington (bot)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> (cherry picked from commit e8f3e8f0ab8aa5d667229ce9694e6e1477e524fd) Co-authored-by: Christian Heimes <christian@python.org>
2022-07-25gh-95205: Improve wasm README (GH-95206)Miss Islington (bot)
Co-authored-by: Christian Heimes <christian@python.org> (cherry picked from commit 310f94871a923f6cf3dc9259e732ce2376578b26) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-07-22[3.11] GH-95113: Don't use EXTENDED_ARG_QUICK in unquickened code (GH-95121) ↵Brandt Bucher
(GH-95143) (cherry picked from commit e402b26b7fb953a2f0c17a0044bb6d6cbd726e54)
2022-07-20gh-93939: Use new MODULE_name_STATE in wasm_assets script (GH-95035)Miss Islington (bot)
(cherry picked from commit 0f34c7e2d3163525813dbd644f30db58e6d36af2) Co-authored-by: Christian Heimes <christian@python.org>
2022-07-12gh-94773: deepfreeze: support frozensets with unsortable types (GH-94775)Miss Islington (bot)
(cherry picked from commit 0c66074e9f8c9728e1d920910d35da0c62f30403) Co-authored-by: Christian Heimes <christian@python.org>
2022-07-07[3.11] gh-94430: Allow params named `module` or `self` with custom C names ↵Erlend Egeberg Aasland
in AC (GH-94431) (#94649) (cherry picked from commit 8bbd70b4d130f060f87e3f53810dc747a49fa369) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-05gh-94538: Fix Argument Clinic output to custom file (GH-94539) (GH-94555)Miss Islington (bot)
(cherry picked from commit 2b8ed4d3d4741811da31fc774a202d535755c0a9) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-07-01gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (GH-93953)Miss Islington (bot)
(cherry picked from commit 1df9449db24f16c9c96bdd7dc283a5062bca68e6) Co-authored-by: Petr Viktorin <encukou@gmail.com>
2022-07-01gh-84461: Improve WebAssembly in-browser demo (GH-91879)Miss Islington (bot)
* Buffer standard input line-by-line * Add non-root .editorconfig for JS & HTML indent * Add support for clearing REPL with CTRL+L * Support unicode in stdout and stderr * Remove \r\n normalization * Note that local .editorconfig file extends root * Only normalize lone \r characters (convert to \n) * Skip non-printable characters in buffered input * Fix Safari bug (regex lookbehind not supported) Co-authored-by: Christian Heimes <christian@python.org> (cherry picked from commit a8e333d79aa639417e496181bcbad2cb801a7a56) Co-authored-by: Trey Hunner <trey@treyhunner.com>
2022-06-28[3.11] GH-93516: Backport GH-93769 (GH-94231)Mark Shannon
* Store offset of first traceable instruction to avoid having to recompute it all the time when tracing.
2022-06-24gh-84461: Build Emscripten with WASM BigInt support (GH-94219)Miss Islington (bot)
(cherry picked from commit e69306f08b9be84ccdd0a1c6601ec229c4e5b377) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-24gh-84461: Fix ctypes and test_ctypes on Emscripten (GH-94142)Miss Islington (bot)
- c_longlong and c_longdouble need experimental WASM bigint. - Skip tests that need threading - Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args. (cherry picked from commit 8625802d854ec0152177a6ff0ac092e0e3ff98a5) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-23gh-93771: Clarify how deepfreeze.py is run (GH-94150)Miss Islington (bot)
(cherry picked from commit 4e796f56465f7264ddba63c8396d2649e098b617) Co-authored-by: Guido van Rossum <guido@python.org>
2022-06-23[3.11] gh-93382: Cache result of `PyCode_GetCode` in codeobject (GH-93383) ↵Ken Jin
(#93493) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
2022-06-22[3.11] GH-93516: Backport GH-93769: Speedup line number checks when tracing ↵Mark Shannon
(GH-94127) Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
2022-06-22gh-91172: Create a workflow for verifying bundled pip and setuptools ↵Miss Islington (bot)
(GH-31885) (GH-94121) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> (cherry picked from commit d36954b7ead06daead3dcf9b0dd9f8002eab508f) Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
2022-06-19[3.11] gh-84461: Fix Emscripten umask and permission issues (GH-94002) ↵Christian Heimes
(GH-94006) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-18gh-84461: Fix pydebug Emscripten browser builds (GH-93982)Miss Islington (bot)
wasm_assets script did not take the ABIFLAG flag of sysconfigdata into account. (cherry picked from commit 7a2cc35e1ca6808a735b90269756d5286077a152) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-15gh-84461: Document how to install SDKs manually (GH-93844)Miss Islington (bot)
Co-authored-by: Brett Cannon <brett@python.org> (cherry picked from commit 8ba1c7f72010dedb80f0794c5f1dd1c97f81ec83) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-15gh-93824: Reenable installation of shell extension on Windows ARM64 (GH-93825)Miss Islington (bot)
(cherry picked from commit 99be1cbeb3b58f0daa9108abc4075412d6212169) Co-authored-by: Steve Dower <steve.dower@python.org>
2022-06-13gh-84461: Fix parallel testing on WebAssembly (GH-93768)Miss Islington (bot)
(cherry picked from commit c2007573dd449ae054f9fd5227e49ac9eef00ae8) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-11gh-84461: Use HOSTRUNNER to run regression tests (GH-93694)Miss Islington (bot)
Co-authored-by: Brett Cannon <brett@python.org> (cherry picked from commit dc5e02b2f44dada145a3743ef77b07dbcf3e4a4a) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-07gh-84461: Emscripten's faccessat() does not accept flags (GHß92353)Miss Islington (bot)
(cherry picked from commit 70690c7233aaad4431660a64daef81b5220e2ac1) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-06gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) (GH-93550)Miss Islington (bot)
WASI does not have the ``chmod(2)`` syscall yet. (cherry picked from commit 22fed605e096eb74f3aa33f6d25aee76fdc2a3fa) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-06gh-90473: WASI requires proper open(2) flags (GH-93529)Miss Islington (bot)
(cherry picked from commit 4c71d22c4f9fdde6f2234e7dc6a862419cd6fd98) Co-authored-by: Christian Heimes <christian@python.org>
2022-06-02gh-90473: Skip and document more failing tests on WASI (GH-93436)Miss Islington (bot)
- Mark more ``umask()`` cases - ``dup()`` is not supported - ``/dev/null`` is not available - document missing features - mark more modules as not available (cherry picked from commit 069c96f84ccd302436be180c8628289cc0efa977) Co-authored-by: Christian Heimes <christian@python.org>
2022-05-25gh-90473: Misc test fixes for WASI (GH-93218)Miss Islington (bot)
* ``sys.executable`` is not set * WASI does not support subprocess * ``pwd`` module is not available * WASI checks ``open`` syscall flags more strict, needs r, w, rw flag. * ``umask`` is not available * ``/dev/null`` may not be accessible (cherry picked from commit 1f134e96ba994bea3aaea533d4a558df3c5cc3c0) Co-authored-by: Christian Heimes <christian@python.org>
2022-05-23gh-90473: WASI: skip gethostname tests (GH-93092)Miss Islington (bot)
- WASI's ``gethostname()`` is a stub that always fails with OSError ``ENOTSUP`` - skip mailcap ``test`` if subprocess is not available - WASI process_time clock does not work. (cherry picked from commit 760ec8940aabd6a7fc471bd913ea1ac501cc604b) Co-authored-by: Christian Heimes <christian@python.org>
2022-05-19gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)Miss Islington (bot)
(cherry picked from commit 137fd3d88aa46669f5717734e823f4c594ab2843) Co-authored-by: Christian Heimes <christian@python.org>
2022-05-10gh-92256: Improve Argument Clinic parser error messages (GH-92268)Miss Islington (bot)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 4bd07d1dbd493fc9b2c2a77e9e905c517682052e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-05-06gh-57684: Update tests for PYTHONSAFEPATH=1 (#92358)Victor Stinner
Fix tests failing with the PYTHONSAFEPATH=1 env var. Enhance also -P help in Python usage (python --help).