Commit Graph

480 Commits

Author SHA1 Message Date
dependabot[bot] fff1e8a50b
build(deps): bump actions/upload-artifact from 3 to 4 (#113614)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 18:20:17 +02:00
dependabot[bot] ce7a8eef79
build(deps): bump actions/stale from 8 to 9 (#113611)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 18:19:01 +02:00
Donghee Na 3aadb95085
no-issue: Use the official term "free-threading" for GitHub Action (gh-113622) 2024-01-02 09:16:53 +09:00
dependabot[bot] 9132f4287b
build(deps): bump github/codeql-action from 2 to 3 (#113613)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-01-01 09:30:30 +00:00
dependabot[bot] 686d65aec1
build(deps): bump actions/setup-python from 4 to 5 (#113612)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
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>
2024-01-01 09:25:58 +00:00
Alex Waygood 0d74e9683b
Add codeowners for `Lib/ensurepip/` (#112805) 2023-12-24 11:09:50 +00:00
Eric Snow 480b4b359d
gh-76785: Fix CODEOWNERS (gh-113038)
In gh-112982 I made some changes to .github/CODEOWNERS.  Later, @ezio-melotti pointed out that some of those changes were unnecessary.
2023-12-13 09:29:40 -07:00
Steve Dower 79dad03747
gh-111650: Ensure pyconfig.h includes Py_GIL_DISABLED on Windows (GH-112778) 2023-12-13 15:38:45 +00:00
Eric Snow 86a77f4e1a
gh-76785: Fixes for test.support.interpreters (gh-112982)
This involves a number of changes for PEP 734.
2023-12-12 08:24:31 -07:00
Gregory P. Smith 10e9bb13b8
gh-112334: Regression test that vfork is used when expected. (#112734)
Regression test that vfork is used when expected by subprocess.

This is written integration test style, it uses strace if it is present and appears to work to find out what system call actually gets used in different scenarios.

Test coverage is added for the default behavior and that of each of the specific arguments that must disable the use of vfork.  obviously not an entire test matrix, but it covers the most important aspects.

If there are ever issues with this test being flaky or failing on new platforms, rather than try and adapt it for all possible platforms, feel free to narrow the range it gets tested on when appropriate. That is not likely to reduce coverage.
2023-12-09 00:18:35 +00:00
Seth Michael Larson 21221c398f
gh-112302: Add Software Bill-of-Materials (SBOM) tracking for dependencies (#112303) 2023-12-07 18:01:58 +02:00
dependabot[bot] f21e2f4b12
build(deps): bump actions/github-script from 6 to 7 (#112584)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
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>
2023-12-01 11:41:09 +01:00
Alex Waygood 674c288b1c
gh-109413: Run mypy on `libregrtest` in CI (#112558)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-11-30 23:00:14 +00:00
Itamar Oren 48dfd74a9d
GH-112245: Promote free threaded CI (#112246) 2023-11-28 08:45:03 -07:00
Alex Waygood b414497993
Fix syntax in CODEOWNERS file (#112210) 2023-11-17 18:31:45 +00:00
Guido van Rossum 25538c72d1
Tweak my interests (and Mark Shannon's :-) in CODEOWNERS (#112206) 2023-11-17 16:44:51 +00:00
Victor Stinner d9fd33a869
gh-112088: Run autoreconf in GHA check_generated_files (#112090)
The "Check if generated files are up to date" job of GitHub Actions
now runs the "autoreconf -ivf -Werror" command instead of the "make
regen-configure" command to avoid depending on the external quay.io
server.

Add Tools/build/regen-configure.sh script to regenerate the configure
with an Ubuntu container image. The
"quay.io/tiran/cpython_autoconf:271" container image
(https://github.com/tiran/cpython_autoconf) is no longer used.
2023-11-15 21:47:14 +01:00
Hugo van Kemenade 5add7a6724
CI: Make macOS Intel required to succeed (GH-110362) 2023-11-03 16:13:15 +01:00
dependabot[bot] 330392e288
build(deps): bump actions/setup-node from 3 to 4 (#111594)
* build(deps): bump actions/setup-node from 3 to 4

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
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>

* Bump to Node.js 20

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2023-11-02 11:49:01 +01:00
Hugo van Kemenade 52a5b5d276
gh-111062: CI: Rename reusable-build-[X].yml to reusable-[X].yml (#111552) 2023-10-31 15:55:17 +00:00
Hugo van Kemenade 173d13bb1f
gh-111062 CI: Update skip lists for resuable workflows (#111521)
CI: Update skip lists
2023-10-31 07:49:15 +02:00
Ken Jin 804a207c16
Remove myself from typing CODEOWNERS (#111523) 2023-10-30 21:08:26 +00:00
Donghee Na 4ebf2fae96
gh-111062: Reusable Windows build that supports free-threaded mode as the conditional CI (#111493)
* gh-111062 Set up free-threaded CI for windows

Co-authored-by: Donghee Na <donghee.na@python.org>

* Apply suggestions from code review

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

* Update

* Update names

* Add files

* Update

* Revert "Update"

This reverts commit 4f17e1af0d.

* fix

---------

Co-authored-by: juanjose.tenorio <juanjose2611@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-31 00:30:40 +09:00
Donghee Na c6def360d1
gh-111062: Update name of reusable workflows for Ubuntu / macOS (gh-111494)
gh-111062 Update name of reusable workflows for linux / macOS
2023-10-30 15:15:22 +00:00
NCLI c19561b9ca
gh-111062: Reusable ubuntu build that supports free-threaded mode as the conditional CI (#111452)
Co-authored-by: Donghee Na <donghee.na92@gmail.com>
2023-10-30 16:28:16 +02:00
Dima Tisnek 14ab5e51c1
gh-111062: Build both default and free-threaded on macOS (gh-111449) 2023-10-29 07:20:11 +00:00
Dima Tisnek 3ac9851d69
gh-111062: Separate macOS build into a reusable workflow (gh-111444) 2023-10-29 06:12:16 +00:00
Hugo van Kemenade 9d4a1a480b
CI: Include Python version in cache.config key (#111410)
* Include Python version in cache.config key, after Python setup

* Remove EOL 3.7 from branch triggers
2023-10-28 10:23:47 +03:00
Ned Batchelder c9aef19cbf
add 3.13 as an option on the bug form (#111083) 2023-10-19 17:52:56 +01:00
Nikita Sobolev 46462ff929
gh-107652: Fix CIFuzz typo (#110602) 2023-10-10 09:34:48 +00:00
Alex Waygood 7b2764e798
gh-110558: Run ruff on Argument Clinic in CI (#110559) 2023-10-10 07:52:39 +00:00
Nikita Sobolev def7ea5cec
Fix CIFuzz build (#110576) 2023-10-10 00:44:57 -06:00
Illia Volochii ea7b53ff67
gh-107652: Set up CIFuzz to run fuzz targets continuously (#107653)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-09 09:30:10 -06:00
Victor Stinner e260087a8e
gh-108716: make regen-global-objects no longer builds deepfreeze.c (#110078)
Remove more references to now unused Python/deepfreeze/deepfreeze.c.
2023-09-29 10:17:49 +00:00
Ned Deily c88037d137
gh-109991: Update GitHub CI workflows to use OpenSSL 3.0.11 and multissltests to use 1.1.1w, 3.0.11, and 3.1.3. (gh-110002) 2023-09-28 00:45:13 -04:00
Victor Stinner 859618c8cd
gh-109566, regrtest: Add --fast-ci and --slow-ci options (#109570)
* Add --fast-ci and --slow-ci options to libregrtest:

  * --fast-ci uses a default timeout of 10 minutes and "-u all,-cpu"
    (skip slowest tests).
  * --slow-ci uses a default timeout of 20 minues and "-u all" (run
    all tests).

* regrtest header now lists test resources.
* Makefile changes:

  * "make test", "make hostrunnertest" and "make coverage-report" now
    use --fast-ci option and TESTTIMEOUT variable.
  * "make buildbottest" now uses "--slow-ci". Remove options which
    became redundant with "--slow-ci".
  * "make testall" and "make testuniversal" now use --slow-ci option
    and TESTTIMEOUT variable.
  * "make testall" now uses "find -exec rm ..." instead of
    "find ... -print|xargs rm ...", same as "make clean".

* GitHub Actions workflow:

  * Ubuntu and Address Sanitizer jobs now use "make test". Remove
    options which became redundant with "--fast-ci".
  * Windows jobs now use --fast-ci option.
  * Use -j0 to detect the number of CPUs.

* Set Makefile TESTTIMEOUT default to an empty string, since
  --slow-ci and --fast-ci use different default timeout. It's now
  accepted to pass "--timeout=" to regrtest: treated as not timeout.
* Tools/scripts/run_tests.py now uses --fast-ci option.
* Tools/buildbot/test.bat now uses --slow-ci option. Remove
  --timeout=1200 option, redundant with --slow-ci.
2023-09-26 17:22:50 +02:00
Adam Turner 712cb173f8
GH-109209: Bump the minimum Sphinx version to 4.2 (#109210) 2023-09-21 09:06:36 +03:00
Hugo van Kemenade 14cdefa667
gh-109408: Move Windows builds from Azure Pipelines PR to GitHub Actions (#109569) 2023-09-20 12:56:42 -06:00
Nikita Sobolev f65497fd25
gh-109125: Run mypy on `Tools/wasm` (#109126) 2023-09-18 23:49:26 -06:00
Mariatta 44c8699196
Update workflow permissions in require-pr-label Action (#109342)
Change the permission from `read` to `write`.
2023-09-12 19:03:55 +00:00
Hugo van Kemenade 3cb9a8edca
gh-60283: Check for redefined test names in CI (#109161)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-12 15:28:20 +00:00
Brett Cannon 00cf626cd4
Update `CODEOWNERS` for `Tools/wasm/` (#109119) 2023-09-07 23:37:29 -06:00
Alex Waygood 24e989211a
Improve the GitHub issue forms (#108881) 2023-09-05 09:01:30 +01:00
Hugo van Kemenade 572678e1f8
CI: Bump GitHub Actions (#108879) 2023-09-04 22:36:16 +02:00
Nikita Sobolev 6ead5bd6ae
Disable `differing_test_runners` health check (#108886) 2023-09-04 18:31:58 +00:00
Nikita Sobolev cf7ba83eb2
gh-108455: Run `mypy` on `Tools/peg_generator` (#108456)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-08-28 21:04:12 +01:00
Nikita Sobolev be800f4be7
Run `mypy` when `Tools/requirements-dev.txt` changes (#108457) 2023-08-24 22:05:23 +00:00
C.A.M. Gerlach eb953d6e44
gh-101100: Only show GitHub check annotations on changed doc paragraphs (#108065)
* Only show GitHub check annotations on changed doc paragraphs
* Improve check-warnings script arg parsing following Hugo's suggestions
* Factor filtering warnings by modified diffs into helper function
* Build docs on unmerged branch so warning lines match & avoid deep clone

---------

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-18 19:43:28 -05:00
Ned Deily ed25f09716
gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL 1.1.1v, 3.0.10, and 3.1.2. (GH-107896) 2023-08-18 15:48:20 -04:00
Dong-hee Na 28cab71f95
gh-104504: Run mypy on cases_generator in CI (and blacken the code) (gh-108090)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-18 22:42:45 +09:00
Adam Turner 4cb08188e8
Add workflow for automatic issue headers (#108054)
We don't get the "Bug report" and "Feature or enhancement" titles anymore, with the new issue forms. This brings them back!
2023-08-17 16:37:07 +01:00
Alex Waygood 8891a8821d
Improve the feature-proposal issue form (#108033)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-08-16 19:38:58 +01:00
Hugo van Kemenade 0d7f5d3ba3
Remove Sphinx problem matcher to avoid annotating unchanged files (#108005) 2023-08-16 12:18:56 -06:00
Alex Waygood 8d3cb1bc4b
Convert the GitHub issue templates into GitHub issue forms (#107920)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2023-08-14 22:37:27 +00:00
Hugo van Kemenade 052a0d1106
Remove newlines from bug template (#107525) 2023-08-01 01:47:24 -06:00
Kumar Aditya 2e9ddb943c
add Kumar Aditya as CODEOWNER for import.c (#107441) 2023-07-29 18:26:24 +00:00
Alex Waygood d0dcd27d3a
Improve the GitHub issue templates (#107150)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2023-07-29 15:42:44 +01:00
Hugo van Kemenade 806d7c98a5
gh-101100: Docs: Check Sphinx warnings and fail if improved (#106460) 2023-07-22 08:12:43 +00:00
Erlend E. Aasland 1654916c48
Add Erlend as CODEOWNER for Argument Clinic docs (#106840) 2023-07-17 22:10:03 +00:00
Jason R. Coombs 03185f0c15
gh-106752: Move zipfile._path into its own package (#106753)
* gh-106752: Move zipfile._path into its own package so it may have supplementary behavior.

* Add blurb
2023-07-14 20:40:46 +00:00
Sviatoslav Sydorenko e7cd55753b
Introduce a gate/check GHA job (#97533)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-07-06 18:06:18 +03:00
Alex Waygood eeb5c63179
Add some codeowners for `Tools/clinic/` (#106430)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2023-07-04 19:45:32 +00:00
Nikita Sobolev c5dacc8fa0
gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106423) 2023-07-04 21:20:00 +03:00
Nikita Sobolev 5950e7dbfc
gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` (#106329)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-07-02 17:15:28 +03:00
Victor Stinner 46d77610fc
gh-106316: Remove pytime.h header file (#106317)
Remove the "cpython/pytime.h" header file: it only contained private
functions. Move functions to the internal pycore_time.h header file.

Move tests from _testcapi to _testinternalcapi. Rename also test
methods to have the same name than tested C functions.

No longer export these functions:

* _PyTime_Add()
* _PyTime_As100Nanoseconds()
* _PyTime_FromMicrosecondsClamp()
* _PyTime_FromTimespec()
* _PyTime_FromTimeval()
* _PyTime_GetPerfCounterWithInfo()
* _PyTime_MulDiv()
2023-07-01 22:27:18 +00:00
dependabot[bot] d3abc9b516
build(deps): bump mheap/github-action-required-labels from 4 to 5 (#106306)
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels) from 4 to 5.
- [Release notes](https://github.com/mheap/github-action-required-labels/releases)
- [Commits](https://github.com/mheap/github-action-required-labels/compare/v4...v5)

---
updated-dependencies:
- dependency-name: mheap/github-action-required-labels
  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>
2023-07-01 13:23:57 +03:00
Sviatoslav Sydorenko eaa6702280
Use CSV-separated outputs @ get-changed-files @ CI (#105151)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-06-21 13:42:59 +03:00
Hugo van Kemenade bc07c8f096
Docs: move sphinx-lint to pre-commit (#105750) 2023-06-18 11:52:05 +00:00
Erlend E. Aasland 34e93d3998
CI: Bump macOS build to use OpenSSL v3.0 (#105538) 2023-06-16 21:00:37 +02:00
Erlend E. Aasland a5f23d4110
CI: Configure macOS build as per updated devguide recommendations (#105533) 2023-06-08 22:26:03 +00:00
Petr Viktorin 49fe2e4af7
Add myself as codeowner for Limited API/Stable ABI, remove from *import* (GH-105349)
This should set up more relevant notifications for me.
2023-06-06 09:33:40 +00:00
Erlend E. Aasland 8a8ebf2e3d
GH-89886: Bump to GNU Autoconf v2.71 (#104925)
Co-authored-by: Christian Heimes <christian@python.org>
2023-06-01 23:44:25 +02:00
Gregory P. Smith ede89af605
gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (#105174)
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, and adds a new _ssl_data_31.h file from 3.1.1 along with the ssl.c code to use it.

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).

backports of this prior to 3.12 will not include the openssl 3.1 header.
2023-06-01 09:42:18 -07:00
Hugo van Kemenade 4c770617c0
CI: Temporarily skip paths with spaces to avoid error (#105110)
* CI: Temporarily skip paths with spaces to avoid "Error: One of your files includes a space"

* Dummy NEWS file to test the action. Will be deleted before merge.

* Revert "Dummy NEWS file to test the action. Will be deleted before merge."

This reverts commit 05cd028fd4.
2023-05-30 23:01:58 +03:00
Sviatoslav Sydorenko 88d14da76f
Convert `doc.yml` workflow to be reusable (#103914)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-05-28 16:21:29 +01:00
Itamar Ostricher 949f0f5bb0
CI: Precompute hash for config cache key in check_source job (#105008) 2023-05-27 03:43:50 -06:00
Steve Dower 569b2b8d61
Improves the Windows MSI test run on PR (GH-104929)
Correctly set the exit code when builds fail
Also build docs as part of the test
2023-05-25 16:17:12 +01:00
Hugo van Kemenade 1080c4386d
CI: Cache config.cache across runs to speed up build (#104800) 2023-05-25 14:09:57 +03:00
Pablo Galindo Salgado 988c1f68ce
Add codeowners for the tokenizer module (#104753) 2023-05-23 00:27:10 +01:00
T. Wouters 4194d8f2c4
Add the 3.12 branch to the github workflows. (#104768) 2023-05-23 01:16:28 +02:00
Zac Hatfield-Dodds 014dd301b5
gh-86275: improve Hypothesis configuration for CI and local runs (#104468) 2023-05-21 05:52:29 -06:00
Jelle Zijlstra febcc6ccfb
CODEOWNERS: Assign new PEP 695 files to myself (#104551) 2023-05-16 08:48:52 -07:00
Alex Waygood 9d41f83c58
gh-104050: Run mypy on `clinic.py` in CI (#104421)
* Add basic mypy workflow to CI
* Make the type check pass

---------

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-05-15 08:49:28 +00:00
Paul Ganssle 590d7a527d
GH-86275: Run hypothesis tests in parallel (#104427)
Run hypothesis tests in parallel
2023-05-12 16:23:08 +00:00
Paul Ganssle d50c37d8ad
GH-86275: Implementation of hypothesis stubs for property-based tests, with zoneinfo tests (#22863)
These are stubs to be used for adding hypothesis (https://hypothesis.readthedocs.io/en/latest/) tests to the standard library.

When the tests are run in an environment where `hypothesis` and its various dependencies are not installed, the stubs will turn any tests with examples into simple parameterized tests and any tests without examples are skipped.

It also adds hypothesis tests for the `zoneinfo` module, and a Github Actions workflow to run the hypothesis tests as a non-required CI job.

The full hypothesis interface is not stubbed out — missing stubs can be added as necessary.

Co-authored-by: Zac Hatfield-Dodds <zac.hatfield.dodds@gmail.com>
2023-05-12 08:35:53 -04:00
Sebastian Pipping 41aff464ce
require-pr-label.yml: Add missing "permissions:" (#104309) 2023-05-09 13:29:00 +03:00
Hugo van Kemenade d513ddee94
Trim trailing whitespace and test on CI (#104275)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-08 17:03:52 +03:00
Hugo van Kemenade accb417c33
Replace Netlify with Read the Docs build previews (#103843)
Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-29 23:02:03 -06:00
Irit Katriel 72adaba6dd
gh-87092: update CODEOWNERS for split of compile.c to 3 files (#103941) 2023-04-27 19:35:53 +00:00
Adam Turner 44b5c21f41
GH-103903: Test the minimum Sphinx version in CI (#103904) 2023-04-27 19:27:38 +01:00
Hugo van Kemenade 842daa57cf
gh-103884: Docs CI: Only attempt nit-picky PR annotations for PRs (#103889) 2023-04-26 20:20:19 +00:00
Carol Willing 1461a22f91
Add willingc to CODEOWNERS for asyncio (#103885) 2023-04-26 17:22:52 +00:00
Dong-hee Na 8330580800
gh-103726: Set up gcc-10 for ASAN (gh-103728)
<!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.

# Pull Request title

It should be in the following format:

```
gh-NNNNN: Summary of the changes made
```

Where: gh-NNNNN refers to the GitHub issue number.

Most PRs will require an issue number. Trivial changes, like fixing a
typo, do not need an issue.

# Backport Pull Request title

If this is a backport PR (PR made against branches other than `main`),
please ensure that the PR title is in the following format:

```
[X.Y] <title from the original PR> (GH-NNNN)
```

Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from `main`.

-->


<!-- gh-issue-number: gh-103726 -->
* Issue: gh-103726
<!-- /gh-issue-number -->
2023-04-25 12:13:36 +00:00
Łukasz Langa b51da991e2
Also fail DO-NOT-MERGE when "awaiting changes" or "awaiting change review" present on PR (#103807)
"awaiting changes" means somebody put a review that requested changes.

"awaiting change review" means that the PR author published changes
after a red review and then requested a re-review.
2023-04-25 01:49:50 +02:00
Pradyun Gedam ece20dba12
gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039)
Remove the bundled setuptools wheel from ensurepip, and stop installing setuptools in environments created by venv.

Co-Authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
2023-04-17 23:43:34 -05:00
Ezio Melotti 76933df10a
Remove `expert-*` from `project-updater` GH workflow (#103579) 2023-04-17 06:26:22 +03:00
Nikita Sobolev be8903eb9d
gh-103180: Add CI timeouts to all GitHub Actions jobs (#103437) 2023-04-14 12:01:10 +03:00
Nikita Sobolev 7f3c106503
gh-103326: Remove `Python/importlib.h` (GH-103331)
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-04-12 11:27:14 -07:00
dependabot[bot] 5d4afc45b9
build(deps): bump actions/stale from 7 to 8 (#103169)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [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/v7...v8)

---
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>
2023-04-09 13:42:43 +05:30
Hugo van Kemenade c330b4a3e7
Add hugovk as a .github code owner (GH-103394)
Automerge-Triggered-By: GH:hugovk
2023-04-09 00:43:01 -07:00
Hugo van Kemenade 090e26ea80
CI: Do not allow merge if labelled DO-NOT-MERGE (#103337)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-04-09 09:39:03 +03:00
Hugo van Kemenade f192a558f5
gh-101100: Fix Sphinx warning in gc.rst and refactor docs clean list (#103116)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2023-03-30 21:03:50 +03:00
Hugo van Kemenade 87adc63d66
gh-101100: Test only Doc/ files in nit-picky mode (#103019)
gh-101100: Filter only Doc/ files
2023-03-25 09:15:02 +02:00
Hugo van Kemenade 6a1c49a717
gh-101100: Test docs in nit-picky mode (#102513)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2023-03-24 13:23:35 +02:00
Eric Snow 1ff81c0cb6
gh-81057: Add a CI Check for New Unsupported C Global Variables (gh-102506)
This will keep us from adding new unsupported (i.e. non-const) C global variables, which would break interpreter isolation.

FYI, historically it is very uncommon for new global variables to get added. Furthermore, it is rare for new code to break the c-analyzer. So the check should almost always pass unnoticed.

Note that I've removed test_check_c_globals. A test wasn't a great fit conceptually and was super slow on debug builds. A CI check is a better fit.

This also resolves gh-100237.

https://github.com/python/cpython/issues/81057
2023-03-14 10:05:54 -06:00
Ee Durbin e1a90ec75c
Migrate to new PSF mailgun account (#102284)
Our legacy mailgun account is associated with a parent rackspace account that I am trying to decomission.

The necessary secret has been added to the GitHub Actions Secrets already, so this is ready to go on approval.
2023-02-28 08:23:39 -05:00
Erlend E. Aasland e07b304bb0
gh-101981: Consolidate macOS configure steps in CI (GH-102131)
Automerge-Triggered-By: GH:erlend-aasland
2023-02-23 07:02:23 -08:00
Dong-hee Na ed01addb59
gh-101981: Apply HOMEBREW related environment variables (gh-102074) 2023-02-21 00:20:18 +09:00
Erlend E. Aasland 2713631041
gh-101981: Build macOS as recommended by the devguide (GH-102070)
Automerge-Triggered-By: GH:erlend-aasland
2023-02-20 05:07:25 -08:00
Gregory P. Smith b41c47cd06
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
2023-02-09 17:40:51 +00:00
Dong-hee Na 1c49e61b9b
no-issue: Add Dong-hee Na as the cjkcodecs codeowner (gh-101731) 2023-02-09 21:01:32 +09:00
Dong-hee Na 38cc24f119
no-issue: Add Dong-hee Na as autoconf codeowner (gh-101281) 2023-01-24 19:22:22 +09:00
Erlend E. Aasland 4db64529ae
Add Erlend Aasland as autoconf codeowner (#101247) 2023-01-22 23:02:15 +01:00
Barney Gale 26ff43625e
Add barneygale to CODEOWNERS for pathlib (#100808) 2023-01-06 20:38:12 +00:00
Shantanu d84b1a97f9
Add hauntsaninja as tomllib CODEOWNER (#100779) 2023-01-05 14:28:02 -08:00
Brett Cannon 31b639a992
Drop myself from pathlib maintenance (#100757) 2023-01-04 14:59:48 -08:00
dependabot[bot] 2366b27565
build(deps): bump actions/stale from 6 to 7 (#100656) 2023-01-01 23:49:10 +02:00
Illia Volochii a23cb72ac8
gh-100454: Start running SSL tests with OpenSSL 3.1.0-beta1 (#100456) 2022-12-23 18:04:20 -08:00
Hugo van Kemenade 702a5bc463
Docs: Don't upload CI artifacts (#100330) 2022-12-19 10:40:11 +02:00
Jason R. Coombs 7796d3179b
gh-98098: Create packages from zipfile and test_zipfile (gh-98103)
* gh-98098: Move zipfile into a package.

* Moved test_zipfile to a package

* Extracted module for test_path.

* Add blurb

* Add jaraco as owner of zipfile.Path.

* Synchronize with minor changes found at jaraco/zipp@d9e7f4352d.
2022-11-26 09:44:13 -05:00
Kumar Aditya c24397a108
add Kumar Aditya as `asyncio` codeowner (GH-99744)
Automerge-Triggered-By: GH:kumaraditya303
2022-11-23 22:56:54 -08:00
Hugo van Kemenade 57dfb1c4c8
Upload NEWS file as artifact (#30419)
Co-authored-by: Éric <earaujo@caravan.coop>
2022-11-23 23:32:09 +01:00
Gregory P. Smith e00d730efe
Update github CI to use OpenSSL 1.1.1s and 3.0.7. (#99364) 2022-11-11 01:33:55 -08:00
Filipe Laíns f7a82cde59
CODEOWNERS: add myself to sysconfig and importlib.resources (#98851) 2022-11-09 03:27:13 +00:00
Nikita Sobolev e56e33d271
gh-72719: Remove asyncore and asynchat modules (#96580)
Remove modules asyncore and asynchat, which were deprecated by PEP 594.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-11-08 16:48:58 +01:00
Zachary Ware 6ffb4e24e0
Update build status links in contributing doc (GH-98672) 2022-10-25 12:13:37 -05:00
Zachary Ware 175247f364
Update link to supported versions table in security policy (GH-98670) 2022-10-25 11:59:19 -05:00
Noam Cohen 1db2a0cb20
gh-98456: Replace deprecated `set-output` with up-to-date version (gh-98457) 2022-10-23 14:23:40 +09:00
Alex Waygood cb93b4aee5
CODEOWNERS: Become a typing code owner (#98480) 2022-10-20 06:45:34 -07:00
Victor Stinner 1863302d61
gh-97669: Create Tools/build/ directory (#97963)
Create Tools/build/ directory. Move the following scripts from
Tools/scripts/ to Tools/build/:

* check_extension_modules.py
* deepfreeze.py
* freeze_modules.py
* generate_global_objects.py
* generate_levenshtein_examples.py
* generate_opcode_h.py
* generate_re_casefix.py
* generate_sre_constants.py
* generate_stdlib_module_names.py
* generate_token.py
* parse_html5_entities.py
* smelly.py
* stable_abi.py
* umarshal.py
* update_file.py
* verify_ensurepip_wheels.py

Update references to these scripts.
2022-10-17 12:01:00 +02:00
Michael Droettboom ad8e297b72
Upgrade ccache-action to one using Node 16 (#98166)
Github Actions has deprecated the use of Node 12, and will be turning it off by
summer 2023.

https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
2022-10-11 15:15:14 +02:00
Jacob Walls 3378ebb933
Fix link to Lifecycle of a Pull Request in CONTRIBUTING (#98102)
* Fix link to Lifecycle of a Pull Request in CONTRIBUTING

* Remove trailing backslash.

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-10-09 00:16:52 +02:00
Hugo van Kemenade 75751f4aa5
Auto-cancel old builds when new commit pushed to branch (#98009)
* Auto-cancel old builds when new commit pushed to branch

* Add a fallback

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>

* Use the same group for all workflows.

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-10-08 21:21:38 +02:00
Alex c66dbddfba
GitHub Workflows security hardening (#96492)
* Update project-updater.yml

Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>

* Update project-updater.yml

repository-projects: write is not needed because a separate secrets.ADD_TO_PROJECT_PAT is used

Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
2022-10-08 10:13:34 +02:00
Ezio Melotti 531ffaa7cd
Add `@ezio-melotti` as codeowner for `.github/`. (#98079) 2022-10-08 09:11:38 +02:00
Nikita Sobolev 3108fc1c16
gh-97923: Always run Ubuntu SSL tests with others in CI (#97940) 2022-10-07 11:58:46 -07:00
dependabot[bot] 9442105ce7
build(deps): bump actions/stale from 5 to 6 (#97701)
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6.
- [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/v5...v6)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 10:56:42 -07:00
Ezio Melotti 231a905c5f
Add `sprint` issues to the Sprint 2022 project. (#97788) 2022-10-04 01:45:18 +02:00
Ezio Melotti 45fd3685aa
Automatically update more GitHub projects. (#94921)
* Automatically update the `asyncio` GitHub project.

* Use a matrix to add issues to projects.

* Remove trailing whitespace.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-30 20:12:55 +02:00
Christian Heimes 873554ef84
gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683) 2022-08-29 18:19:15 +02:00
Guido van Rossum 657976ad95
Add gvanrossum to asyncio experts (#96248) 2022-08-24 13:16:41 -07:00
Yury Selivanov e046cf872e
Drop myself from owners of genobject (#96216) 2022-08-23 12:21:10 -07:00
Irit Katriel bfc2028df0
Change CODEOWNERS entries for iritkatriel (GH-96008) 2022-08-16 09:38:32 +01:00
Serhiy Storchaka f79547a429
gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527)
If an HTTP link is redirected to a same looking HTTPS link, the latter can
be used directly without changes in readability and behavior.
It protects from a men-in-the-middle attack.

This change does not affect Python examples.
2022-08-04 10:13:49 +03:00
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
Jason R. Coombs 3e718cf880
gh-95218: Move tests for importlib.resources into test_importlib.resources. (#95219)
* gh-95218: Move tests for importlib.resources into test_importlib.resources.

* Also update makefile

* Include test_importlib/resources in code ownership rule.
2022-07-24 20:53:10 -04:00
Mariatta Wijaya 8a808952a6
Use Markdown Headers in GitHub Issue templates (GH-95111)
The Issue templates are using the markup to make text bold.
We should be using proper text headers instead.

I replaced the **bold** text markup with L1 headers.
2022-07-22 09:19:08 -07: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