Zachary Ware
82814624bf
Doctest cleanups (GH-95436)
...
* GHA: Don't hide doctest output
* Enable doctests in math.rst
* Squash warnings in nntplib.rst doctests
* Squash warning in turtle.rst doctest
* Squash warnings in whatsnew/3.2.rst doctests
* Treat warnings as errors in Doc/ doctests
2022-07-30 17:21:08 -05:00
Ezio Melotti
022800253f
Remove pr trigger from project-updater GHA. ( #94483 )
2022-07-01 13:06:09 +02:00
Ezio Melotti
5f2c91a343
Add a workflow to add issues/PRs to projects. ( #94447 )
...
* Add a workflow to add issues/PRs to projects.
* Apply suggestions from code review
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-01 10:33:10 +02:00
Oleg Iarygin
5c5fc9da3f
Generalize build_msi GitHub action (GH-94201)
2022-06-28 11:33:23 +02:00
Pablo Galindo Salgado
8e6eccabe8
Add ABI dump script ( #94135 )
2022-06-23 22:52:43 +01:00
Illia Volochii
d36954b7ea
gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885)
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-22 15:32:22 +02:00
Adam Turner
4f26963526
gh-93735: Split Docs CI to speed-up the build (GH-93736)
2022-06-15 09:56:16 +02:00
Varun Sharma
b96e20c1d9
ci: add GitHub token permissions ( #92999 )
2022-05-21 03:55:21 -04:00
Hugo van Kemenade
a487623c6b
Speedup: build docs in parallel (GH-92733)
2022-05-16 13:52:00 +02:00
Pablo Galindo
9478b263a3
Add the 3.11 branch to the CI files
2022-05-08 04:01:20 +01:00
Hugo van Kemenade
bebb944de5
Don't apply 'stale' label to issues ( #91501 )
2022-05-06 09:18:22 +02:00
Hugo van Kemenade
628d6e8270
Dependabot: only bump actions for major versions ( #92186 )
2022-05-03 06:33:03 -06:00
dependabot[bot]
34129f7c42
build(deps): bump actions/stale from 4 to 5 ( #92108 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 4 to 5.
- [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/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 14:53:15 -06:00
dependabot[bot]
51f69461a5
build(deps): bump actions/github-script from 5 to 6 ( #92109 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 5 to 6.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 14:52:21 -06:00
dependabot[bot]
0d4fdb665e
build(deps): bump actions/setup-node from 2 to 3 ( #92110 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 14:39:53 -06:00
dependabot[bot]
eefe6911f4
build(deps): bump actions/cache from 3.0.1 to 3.0.2 ( #92111 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.0.1...v3.0.2 )
---
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>
2022-05-01 14:37:52 -06:00
dependabot[bot]
b8812c9ca3
build(deps): bump actions/upload-artifact from 2.3.1 to 3 ( #32227 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.3.1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.1...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-20 08:04:56 -07:00
dependabot[bot]
3ace1034b8
build(deps): bump actions/cache from 2.1.7 to 3.0.1 ( #32228 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.7 to 3.0.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3.0.1 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-20 07:53:08 -07:00
dependabot[bot]
1ba63e3a9b
build(deps): bump actions/checkout from 2 to 3 ( #32226 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 20:50:07 -07:00
dependabot[bot]
74e319239b
build(deps): bump actions/setup-python from 2 to 3 ( #31630 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-19 13:03:58 -07:00
Oleg Iarygin
a8abb76af9
Remove dead "Check PRs with 'CLA not signed' label" ( #91429 )
2022-04-11 18:34:17 +02:00
Oleg Iarygin
98ff4a6877
Replace contributor-visible mentions of BPO in .github/* (GH-91426)
2022-04-11 00:03:27 +02:00
Ee Durbin
9263c8691c
notify new-bugs-announce on new issue open ( #32421 )
2022-04-10 19:48:53 +02:00
Eric Snow
e7bb7c2f04
bpo-47146: Stop Depending On regen-deepfreeze For regen-global-objects (gh-32218)
...
This effectively reverts the Makefile change in gh-31637. I've added some notes so it is more clear what is going on.
We also update the "Check if generated files are up to date" job to run "make regen-deepfreeze" to ensure "make regen-global-objects" catches deepfreeze.c.
https://bugs.python.org/issue47146
2022-03-31 14:29:52 -06:00
Christian Heimes
b16b6bb8da
bpo-47095: Use libb2 to provide blake2 implementation (GH-32059)
2022-03-26 20:52:24 +01:00
Steve Dower
d0a91bd277
bpo-47037: Test debug builds on Windows in CI so that native assertions are noticed sooner (GH-31965)
2022-03-18 17:19:28 +00:00
Christian Heimes
af0a50de4b
bpo-47024: Update OpenSSL to 1.1.1n (GH-31895)
...
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2022-03-15 21:03:04 +01:00
Christian Heimes
434ffb7f1f
bpo-46973: Add regen-configure make target (GH-31792)
2022-03-10 18:03:27 +01:00
Victor Stinner
9204bb72a2
bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632)
...
Skip tests on ASAN and/or MSAN builds:
* multiprocessing tests
* test___all__
* test_concurrent_futures
* test_decimal
* test_peg_generator
* test_tools
The ASAN job of GitHub Actions no longer excludes these tests.
2022-03-01 15:44:08 +01:00
dependabot[bot]
6e117e75c3
build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.1 (GH-30325)
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2.2.4 to 2.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2.2.4...v2.3.1 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-23 23:16:47 +02:00
Hugo van Kemenade
892ff93d7f
Process more stale PRs, oldest first (GH-31407)
2022-02-18 11:28:12 -08:00
Erlend Egeberg Aasland
5bc4327e2c
Close stale PRs without signed CLA (GH-30500)
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-02-17 09:20:40 +01:00
Eric Snow
6c89589486
bpo-46541: Drop the check for orphaned global strings. (gh-31363)
...
https://bugs.python.org/issue46541
2022-02-15 20:06:38 -07:00
Eric Snow
81c72044a1
bpo-46541: Replace core use of _Py_IDENTIFIER() with statically initialized 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
2022-02-08 13:39:07 -07:00
Hugo van Kemenade
39dec1c09c
Skip cron workflow for forks (GH-30748)
2022-02-07 13:40:40 -06:00
Steve Dower
45faf151c6
bpo-33125: Enables building traditional installer for Windows ARM64 (GH-30885)
...
Also makes a few general improvements to the build process and removes some dead code.
2022-01-28 16:48:06 +00:00
Pablo Galindo Salgado
a27505345e
Add skips to crashing tests under sanitizers instead of manually skipping them (GH-30897)
2022-01-25 23:14:03 +00:00
Victor Stinner
ce7d66771e
bpo-45200: GHA Address Sanitizer skips 3 slowest tests (GH-30797)
...
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().
2022-01-22 19:15:37 +01:00
Mark Dickinson
0ea2ef5fa8
Add a (conservative) timeout for Windows builds on GitHub Actions (GH-30301)
2022-01-09 10:28:34 +00:00
Kumar Aditya
fc54e722a2
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211)
...
Co-authored-by: Ned Deily <nad@python.org>
2021-12-21 21:20:16 -05:00
Christian Heimes
da8cf8a747
bpo-44035: Show git diff after autoreconf and regen (GH-30117)
2021-12-17 16:17:56 +01:00
Christian Heimes
2985feac4e
bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170)
2021-12-17 16:17:32 +01:00
dependabot[bot]
901cbbd2ca
build(deps): bump actions/cache from 2.1.6 to 2.1.7 (GH-29875)
...
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>
2021-12-11 00:46:49 +01:00
Victor Stinner
da3cf4304f
bpo-46016: GHA Doc job now also runs "make check" (GH-30009)
...
The GitHub Action documentation job now also runs "make check" to
check the documentation.
2021-12-10 00:02:20 +01:00
Christian Heimes
98fac8bc18
bpo-44035: Check autoconf files thoroughly (GH-29935)
...
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.
2021-12-06 13:18:56 +01:00
Christian Heimes
cee07b1628
bpo-45695: Test out-of-tree builds on GHA (GH-29904)
2021-12-04 11:07:59 +01:00
Christian Heimes
f4afc53bf6
bpo-45893: Add missing extern C to initconfig.h (GH-29761)
...
Co-authored-by: Steve Dower <steve.dower@python.org>
2021-11-24 21:12:12 +01:00
Christian Heimes
4c95fb4640
bpo-45548: Fix out-of-tree and Debian builds (GH-29263)
...
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.
2021-10-28 11:57:38 +02:00
Ryan Mast
3754f55b36
Add workflow_dispatch trigger to GHA workflows (GH-27873)
2021-10-21 22:34:18 +02:00
Pablo Galindo Salgado
a25dcaefb7
bpo-45350: Rerun autoreconf with the pkg-config macros (GH-28708)
2021-10-04 00:46:52 +01:00