summaryrefslogtreecommitdiffstats
path: root/.github/workflows
Commit message (Collapse)AuthorAgeFilesLines
* CI: Temporarily skip paths with spaces to avoid error (#105110)Hugo van Kemenade2023-05-301-1/+14
| | | | | | | | | * 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 05cd028fd4c56e3173b134b10dc947c3af471d82.
* Convert `doc.yml` workflow to be reusable (#103914)Sviatoslav Sydorenko2023-05-282-25/+25
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* CI: Precompute hash for config cache key in check_source job (#105008)Itamar Ostricher2023-05-271-6/+11
|
* Improves the Windows MSI test run on PR (GH-104929)Steve Dower2023-05-251-1/+3
| | | | Correctly set the exit code when builds fail Also build docs as part of the test
* CI: Cache config.cache across runs to speed up build (#104800)Hugo van Kemenade2023-05-251-6/+45
|
* Add the 3.12 branch to the github workflows. (#104768)T. Wouters2023-05-222-0/+4
|
* gh-86275: improve Hypothesis configuration for CI and local runs (#104468)Zac Hatfield-Dodds2023-05-211-0/+13
|
* gh-104050: Run mypy on `clinic.py` in CI (#104421)Alex Waygood2023-05-151-0/+39
| | | | | | | | | | * 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>
* GH-86275: Run hypothesis tests in parallel (#104427)Paul Ganssle2023-05-121-0/+2
| | | Run hypothesis tests in parallel
* GH-86275: Implementation of hypothesis stubs for property-based tests, with ↵Paul Ganssle2023-05-121-0/+96
| | | | | | | | | | | | | 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>
* require-pr-label.yml: Add missing "permissions:" (#104309)Sebastian Pipping2023-05-091-0/+4
|
* Trim trailing whitespace and test on CI (#104275)Hugo van Kemenade2023-05-081-0/+22
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Replace Netlify with Read the Docs build previews (#103843)Hugo van Kemenade2023-04-301-0/+27
| | | | | Co-authored-by: Oleg Iarygin <dralife@yandex.ru> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* GH-103903: Test the minimum Sphinx version in CI (#103904)Adam Turner2023-04-271-0/+20
|
* gh-103884: Docs CI: Only attempt nit-picky PR annotations for PRs (#103889)Hugo van Kemenade2023-04-261-0/+2
|
* gh-103726: Set up gcc-10 for ASAN (gh-103728)Dong-hee Na2023-04-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <!-- 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 -->
* Also fail DO-NOT-MERGE when "awaiting changes" or "awaiting change review" ↵Łukasz Langa2023-04-241-2/+2
| | | | | | | | 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.
* gh-95299: Stop installing setuptools as a part of ensurepip and venv (#101039)Pradyun Gedam2023-04-181-2/+2
| | | | | | | 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>
* Remove `expert-*` from `project-updater` GH workflow (#103579)Ezio Melotti2023-04-171-2/+0
|
* gh-103180: Add CI timeouts to all GitHub Actions jobs (#103437)Nikita Sobolev2023-04-148-3/+17
|
* build(deps): bump actions/stale from 7 to 8 (#103169)dependabot[bot]2023-04-091-1/+1
| | | | | | | | | | | | | | | | 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>
* CI: Do not allow merge if labelled DO-NOT-MERGE (#103337)Hugo van Kemenade2023-04-091-0/+17
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-101100: Fix Sphinx warning in gc.rst and refactor docs clean list (#103116)Hugo van Kemenade2023-03-301-2/+1
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-101100: Test only Doc/ files in nit-picky mode (#103019)Hugo van Kemenade2023-03-251-0/+2
| | | gh-101100: Filter only Doc/ files
* gh-101100: Test docs in nit-picky mode (#102513)Hugo van Kemenade2023-03-241-0/+22
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-81057: Add a CI Check for New Unsupported C Global Variables (gh-102506)Eric Snow2023-03-141-0/+3
| | | | | | | | | | | 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
* Migrate to new PSF mailgun account (#102284)Ee Durbin2023-02-281-3/+3
| | | | | 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.
* gh-101981: Consolidate macOS configure steps in CI (GH-102131)Erlend E. Aasland2023-02-231-5/+3
| | | Automerge-Triggered-By: GH:erlend-aasland
* gh-101981: Apply HOMEBREW related environment variables (gh-102074)Dong-hee Na2023-02-201-0/+3
|
* gh-101981: Build macOS as recommended by the devguide (GH-102070)Erlend E. Aasland2023-02-201-3/+10
| | | Automerge-Triggered-By: GH:erlend-aasland
* gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727)Gregory P. Smith2023-02-091-3/+3
| | | | Fixes CVE-2023-0286 (High) and a couple of Medium security issues. https://www.openssl.org/news/secadv/20230207.txt
* build(deps): bump actions/stale from 6 to 7 (#100656)dependabot[bot]2023-01-011-1/+1
|
* gh-100454: Start running SSL tests with OpenSSL 3.1.0-beta1 (#100456)Illia Volochii2022-12-241-1/+1
|
* Docs: Don't upload CI artifacts (#100330)Hugo van Kemenade2022-12-191-10/+0
|
* Upload NEWS file as artifact (#30419)Hugo van Kemenade2022-11-231-1/+6
| | | Co-authored-by: Éric <earaujo@caravan.coop>
* Update github CI to use OpenSSL 1.1.1s and 3.0.7. (#99364)Gregory P. Smith2022-11-111-3/+3
|
* gh-98456: Replace deprecated `set-output` with up-to-date version (gh-98457)Noam Cohen2022-10-231-2/+2
|
* gh-97669: Create Tools/build/ directory (#97963)Victor Stinner2022-10-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Upgrade ccache-action to one using Node 16 (#98166)Michael Droettboom2022-10-111-4/+4
| | | | | | 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/
* Auto-cancel old builds when new commit pushed to branch (#98009)Hugo van Kemenade2022-10-084-0/+16
| | | | | | | | | | | * 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>
* GitHub Workflows security hardening (#96492)Alex2022-10-081-0/+3
| | | | | | | | | | | * 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>
* gh-97923: Always run Ubuntu SSL tests with others in CI (#97940)Nikita Sobolev2022-10-071-4/+1
|
* build(deps): bump actions/stale from 5 to 6 (#97701)dependabot[bot]2022-10-051-1/+1
| | | | | | | | | 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>
* Add `sprint` issues to the Sprint 2022 project. (#97788)Ezio Melotti2022-10-031-0/+1
|
* Automatically update more GitHub projects. (#94921)Ezio Melotti2022-08-301-4/+12
| | | | | | | | | | | * 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>
* gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683)Christian Heimes2022-08-291-3/+3
|
* Doctest cleanups (GH-95436)Zachary Ware2022-07-301-1/+1
| | | | | | | | | | | | | * 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
* Remove pr trigger from project-updater GHA. (#94483)Ezio Melotti2022-07-011-4/+0
|
* Add a workflow to add issues/PRs to projects. (#94447)Ezio Melotti2022-07-011-0/+23
| | | | | | | | | * 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>
* Generalize build_msi GitHub action (GH-94201)Oleg Iarygin2022-06-281-29/+8
|