summaryrefslogtreecommitdiffstats
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-46541: Replace core use of _Py_IDENTIFIER() with statically initialized ↵Eric Snow2022-02-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | global objects. (gh-30928) We're no longer using _Py_IDENTIFIER() (or _Py_static_string()) in any core CPython code. It is still used in a number of non-builtin stdlib modules. The replacement is: PyUnicodeObject (not pointer) fields under _PyRuntimeState, statically initialized as part of _PyRuntime. A new _Py_GET_GLOBAL_IDENTIFIER() macro facilitates lookup of the fields (along with _Py_GET_GLOBAL_STRING() for non-identifier strings). https://bugs.python.org/issue46541#msg411799 explains the rationale for this change. The core of the change is in: * (new) Include/internal/pycore_global_strings.h - the declarations for the global strings, along with the macros * Include/internal/pycore_runtime_init.h - added the static initializers for the global strings * Include/internal/pycore_global_objects.h - where the struct in pycore_global_strings.h is hooked into _PyRuntimeState * Tools/scripts/generate_global_objects.py - added generation of the global string declarations and static initializers I've also added a --check flag to generate_global_objects.py (along with make check-global-objects) to check for unused global strings. That check is added to the PR CI config. The remainder of this change updates the core code to use _Py_GET_GLOBAL_IDENTIFIER() instead of _Py_IDENTIFIER() and the related _Py*Id functions (likewise for _Py_GET_GLOBAL_STRING() instead of _Py_static_string()). This includes adding a few functions where there wasn't already an alternative to _Py*Id(), replacing the _Py_Identifier * parameter with PyObject *. The following are not changed (yet): * stop using _Py_IDENTIFIER() in the stdlib modules * (maybe) get rid of _Py_IDENTIFIER(), etc. entirely -- this may not be doable as at least one package on PyPI using this (private) API * (maybe) intern the strings during runtime init https://bugs.python.org/issue46541
* Skip cron workflow for forks (GH-30748)Hugo van Kemenade2022-02-071-0/+1
|
* bpo-33125: Enables building traditional installer for Windows ARM64 (GH-30885)Steve Dower2022-01-281-0/+8
| | | Also makes a few general improvements to the build process and removes some dead code.
* Add skips to crashing tests under sanitizers instead of manually skipping ↵Pablo Galindo Salgado2022-01-251-1/+4
| | | | them (GH-30897)
* bpo-45200: GHA Address Sanitizer skips 3 slowest tests (GH-30797)Victor Stinner2022-01-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Skip the 3 slowest tests of the Address Sanitizer CI of GitHub Actions: * test_tools * test_peg_generator * test_concurrent_futures These tests take between 5 and 20 minutes on this CI which makes this CI job the slowest. Making this CI job faster makes the whole Python workflow faster. These tests are run on all others CIs. Example of Address Sanitizer output: 10 slowest tests: - test_peg_generator: 17 min 33 sec - test_tools: 8 min 27 sec - test_concurrent_futures: 5 min 24 sec - test_zipfile: 2 min 41 sec - test_compileall: 2 min 21 sec - test_asyncio: 2 min 17 sec - test_gdb: 1 min 43 sec - test_weakref: 1 min 35 sec - test_pickle: 1 min 18 sec - test_subprocess: 1 min 12 sec Moreover, test_concurrent_futures also seems to be affected by bpo-45200 bug: libasan dead lock in pthread_create().
* Add a (conservative) timeout for Windows builds on GitHub Actions (GH-30301)Mark Dickinson2022-01-091-0/+2
|
* bpo-46219, 46221: simplify except* implementation following exc_info ↵Irit Katriel2022-01-021-0/+8
| | | | changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289)
* Delete `FUNDING.yml`, since there's an organisation default (#30294)Nikita Sobolev2021-12-301-2/+0
|
* bpo-46106: Update OpenSSL to 1.1.1m (GH-30211)Kumar Aditya2021-12-221-3/+3
| | | Co-authored-by: Ned Deily <nad@python.org>
* bpo-44035: Show git diff after autoreconf and regen (GH-30117)Christian Heimes2021-12-171-1/+3
|
* bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170)Christian Heimes2021-12-171-1/+1
|
* build(deps): bump actions/cache from 2.1.6 to 2.1.7 (GH-29875)dependabot[bot]2021-12-101-3/+3
| | | | | | | | | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* bpo-46016: GHA Doc job now also runs "make check" (GH-30009)Victor Stinner2021-12-091-2/+9
| | | | The GitHub Action documentation job now also runs "make check" to check the documentation.
* Revert "bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)" ↵Victor Stinner2021-12-071-0/+2
| | | | | (GH-29951) This reverts commit 9bf2cbc4c498812e14f20d86acb61c53928a5a57.
* bpo-44035: Check autoconf files thoroughly (GH-29935)Christian Heimes2021-12-061-7/+16
| | | | | | | | | Check that users don't push changes with outdated or patched autoconf. The presence of runstatedir option and aclocal 1.16.3 are good markers. Use my container image to regenerate autoconf files. "Check for changes" will fail later when any file is regenerated. Use ccache in check_generated_files to speed up testing.
* bpo-45695: Test out-of-tree builds on GHA (GH-29904)Christian Heimes2021-12-041-3/+18
|
* bpo-45893: Add missing extern C to initconfig.h (GH-29761)Christian Heimes2021-11-241-0/+4
| | | Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-28533: Remove asyncore, asynchat, smtpd modules (GH-29521)Victor Stinner2021-11-151-2/+0
| | | | | | | | | | | | | | | | Remove the asyncore and asynchat modules, deprecated in Python 3.6: use the asyncio module instead. Remove the smtpd module, deprecated in Python 3.6: the aiosmtpd module can be used instead, it is based on asyncio. * Remove asyncore, asynchat and smtpd documentation * Remove test_asyncore, test_asynchat and test_smtpd * Rename Lib/asynchat.py to Lib/test/support/_asynchat.py * Rename Lib/asyncore.py to Lib/test/support/_asyncore.py * Rename Lib/smtpd.py to Lib/test/support/_smtpd.py * Remove DeprecationWarning from private _asyncore, _asynchat and _smtpd modules * _smtpd: remove deprecated properties
* bpo-45548: Fix out-of-tree and Debian builds (GH-29263)Christian Heimes2021-10-281-0/+1
| | | | | | | | | | | | | | | Add Modules subdirs to SRCDIRS to generate directories for out-of-tree object files. Debian wants ncurses lib. Works on Fedora, too. Debian also needs pkg-config to detect correct flags. Remove more outdated comments. Makefile now tracks header dependencies -lintl is injected by configure when needed. Build _dbm with gdbm-compat. Group some modules by purpose. socket, select, and mmap work on Windows, too.
* Add workflow_dispatch trigger to GHA workflows (GH-27873)Ryan Mast2021-10-213-0/+3
|
* bpo-45350: Rerun autoreconf with the pkg-config macros (GH-28708)Pablo Galindo Salgado2021-10-031-2/+8
|
* bpo-45200: Ignore test_multiprocessing_* in ASAN build due to false ↵Pablo Galindo Salgado2021-09-211-1/+1
| | | | positives (GH-28492)
* bpo-38820: Test with OpenSSL 3.0.0 final (GH-28205)Christian Heimes2021-09-071-1/+1
| | | Signed-off-by: Christian Heimes <christian@python.org>
* Check that 'configure' is generated by GNU Autoconf 2.69 (GH-28152)Pablo Galindo Salgado2021-09-041-0/+2
|
* bpo-45019: Add a tool to generate list of modules to include for frozen ↵Eric Snow2021-08-301-0/+1
| | | | | | | modules (gh-27980) Frozen modules must be added to several files in order to work properly. Before this change this had to be done manually. Here we add a tool to generate the relevant lines in those files instead. This helps us avoid mistakes and omissions. https://bugs.python.org/issue45019
* bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009)Steve Dower2021-08-291-3/+3
|
* bpo-44854: Remove trailing whitespaces (GH-27689)Serhiy Storchaka2021-08-092-2/+2
|
* build(deps): bump actions/stale from 3 to 4 (#27526)dependabot[bot]2021-08-021-1/+1
| | | | | | | | Bumps [actions/stale](https://github.com/actions/stale) from 3 to 4. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v3...v4) Signed-off-by: dependabot[bot] <support@github.com>
* Fail the CI if an optional module fails to compile (GH-27466)Pablo Galindo Salgado2021-07-301-0/+4
|
* Add missing gdbm dependencies to the UNIX CI (GH-27467)Pablo Galindo Salgado2021-07-291-0/+1
|
* Add windows build.bat counterpart for 'make regen-all' in error message ↵Ken Jin2021-07-271-1/+1
| | | | (GH-26770)
* Replace @ilevkivskyi with @Fidget-Spinner as typing code owner (#27210)Łukasz Langa2021-07-171-1/+1
|
* build(deps): bump actions/upload-artifact from 2.2.3 to 2.2.4 (#26979)dependabot[bot]2021-07-121-1/+1
| | | | | | | | | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.2.3 to 2.2.4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.3...v2.2.4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* bpo-38820: Test with OpenSSL 3.0.0-beta1 (GH-26769)Christian Heimes2021-06-191-1/+1
| | | Signed-off-by: Christian Heimes <christian@python.org>
* Run address sanitiser in the GitHub CI (GH-26640)Pablo Galindo2021-06-101-0/+43
|
* bpo-42238: Doc CI: Disable suspicious checks. (GH-26575)Julien Palard2021-06-081-1/+1
| | | | They are slow and raise too many false positive, I'm in the slow process to try to change this.
* Removing myself from ssl code ownership (GH-26529)Christian Heimes2021-06-041-3/+3
| | | | | I'm taking a break. Signed-off-by: Christian Heimes <christian@python.org>
* build(deps): bump actions/cache from 2.1.5 to 2.1.6 (GH-26476)dependabot[bot]2021-06-021-2/+2
| | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* bpo-38820: Test with OpenSSL 3.0.0-alpha17 (#26266)Christian Heimes2021-05-201-1/+1
|
* Update link in SECURITY.md (GH-21320)Marcono12342021-05-201-3/+2
|
* Enable GitHub Actions on the 3.10 branch (GH-26242)Hugo van Kemenade2021-05-193-24/+30
|
* bpo-38820: Test with OpenSSL 3.0.0-alpha16 (GH-25942)Christian Heimes2021-05-061-1/+1
| | | Also use new make target to install FIPS provider.
* build(deps): bump actions/cache from v2.1.4 to v2.1.5 (#25773)dependabot[bot]2021-05-041-2/+2
| | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump actions/upload-artifact from v2.2.2 to v2.2.3 (#25772)dependabot[bot]2021-05-041-1/+1
| | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.2 to v2.2.3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...ee69f02b3dfdecd58bb31b4d133da38ba6fe3700) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update CI files to account for the master -> main rename (GH-25860)Pablo Galindo2021-05-035-9/+9
|
* Fix broken name in build.yml (GH-25759)Brandt Bucher2021-05-011-1/+1
|
* bpo-43888: Remove coverage builds from CI (GH-25679)Ammar Askar2021-04-302-125/+0
| | | The coverage builds were consistently timing out in CI, suggesting that people were not reviewing the uploaded reports.
* Restrict GITHUB_TOKEN permissions for the 'stale' workflow (GH-25564)Brett Cannon2021-04-231-0/+3
| | | It should only need write-level permissions to pull requests.
* bpo-38820: Test with OpenSSL 3.0.0-alpha15 (GH-25537)Christian Heimes2021-04-231-1/+1
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-43888: Reduce coverage collection timeout to 1h40m in GHA (GH-25471)Sviatoslav Sydorenko2021-04-201-0/+1
| | | | | Ref: Signed-off-by: Sviatoslav Sydorenko <webknjaz@redhat.com>