Commit Graph

105 Commits

Author SHA1 Message Date
Miss Islington (bot) 15d42d7ec6
bpo-42212: Check if generated files are up-to-date in GitHub Actions (GH-23042)
See https: //github.com/python/core-workflow/issues/380

Signed-off-by: Filipe Laíns <lains@archlinux.org>
(cherry picked from commit d20b7ed9c1)

Co-authored-by: Filipe Laíns <lains@archlinux.org>
2020-11-24 05:25:29 -08:00
Miss Islington (bot) 37f6fe2c93
bpo-42336: Improve PCbuild batch files (GH-23275)
(cherry picked from commit 2156d964a1)

Co-authored-by: Steve Dower <steve.dower@python.org>
2020-11-18 09:45:54 -08:00
Miss Skeleton (bot) 09c6120be8
bpo-42208: GitHub Action: Add gdb to posix dependencies (GH-23043) (GH-23047)
Sort also dependencies and remove duplicates (liblzma-dev).
(cherry picked from commit 6e03c0ad15)

Co-authored-by: Victor Stinner <vstinner@python.org>

Co-authored-by: Victor Stinner <vstinner@python.org>
2020-10-30 23:16:17 +01:00
Miss Skeleton (bot) 750a8a9568
build(deps): bump actions/upload-artifact from v1 to v2.2.0 (GH-22920)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v1 to v2.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p>
<blockquote>
<h2>v2.2.0</h2>
<ul>
<li>Support for artifact retention</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="27bce4eee7"><code>27bce4e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/112">GH-112</a> from thboop/main</li>
<li><a href="f8b42f7ab4"><code>f8b42f7</code></a> update licensed files</li>
<li><a href="2106e8cf10"><code>2106e8c</code></a> update contributing.md</li>
<li><a href="db66798ebc"><code>db66798</code></a> Ignore Generated Files in Git PR's</li>
<li><a href="d359fd0772"><code>d359fd0</code></a> Manual Verification of licenses</li>
<li><a href="350822c32f"><code>350822c</code></a> Add Licensed Workflow and config</li>
<li><a href="abecf4abf4"><code>abecf4a</code></a> Updated README.md (<a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/118">GH-118</a>)</li>
<li><a href="604e071d21"><code>604e071</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/upload-artifact/issues/126">GH-126</a> from yacaovsnc/main</li>
<li><a href="4560c23b39"><code>4560c23</code></a> Check for invalid retention-days input</li>
<li><a href="59018c2f85"><code>59018c2</code></a> Add an option to specify retention period</li>
<li>Additional commits viewable in <a href="https://github.com/actions/upload-artifact/compare/v1...27bce4eee761b5bc643f46a8dfb41b430c8d05f6">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: GH- (dependabot-automerge-start)
[//]: GH- (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit a3c4ceffe6)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 14:51:04 -07:00
Miss Skeleton (bot) 11ab4fcbce
build(deps): bump actions/cache from v1 to v2.1.2 (GH-22919)
Bumps [actions/cache](https://github.com/actions/cache) from v1 to v2.1.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/actions/cache/releases">actions/cache's releases</a>.</em></p>
<blockquote>
<h2>v2.1.2</h2>
<ul>
<li>Adds input to limit the chunk upload size, useful for self-hosted runners with slower upload speeds</li>
<li>No-op when executing on GHES</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d1255ad936"><code>d1255ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/cache/issues/424">GH-424</a> from actions/dhadka/upload-chunk-size</li>
<li><a href="68cfb2ccb7"><code>68cfb2c</code></a> Add units to description</li>
<li><a href="cce3c03a74"><code>cce3c03</code></a> Add new input to action.yml</li>
<li><a href="4bceb75b5b"><code>4bceb75</code></a> Use parseInt instead of Number to handle empty strings</li>
<li><a href="a6f1f4b32e"><code>a6f1f4b</code></a> Adds input for upload chunk size</li>
<li><a href="d606e039ae"><code>d606e03</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/actions/cache/issues/421">GH-421</a> from actions/dhadka/ghes</li>
<li><a href="d3e4f218f3"><code>d3e4f21</code></a> Use warning instead of info</li>
<li><a href="55a5894438"><code>55a5894</code></a> Update dist</li>
<li><a href="3f6dfcbcc4"><code>3f6dfcb</code></a> Merge branch 'main' of <a href="http://github.com/actions/cache">http://github.com/actions/cache</a> into dhadka/ghes</li>
<li><a href="0f71d4ac9a"><code>0f71d4a</code></a> Add tests for isGhes</li>
<li>Additional commits viewable in <a href="https://github.com/actions/cache/compare/v1...d1255ad9362389eac595a9ae406b8e8cb3331f16">compare view</a></li>
</ul>
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: GH- (dependabot-automerge-start)
[//]: GH- (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit cd0edbc716)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-23 14:48:15 -07:00
Miss Islington (bot) 2cd58d8bb1
bpo-40548: Fix "Check for source changes (pull_request)" GH Action job (GH-21806)
On Git 2.28, "git diff master..." (3 dots) no longer works when
"fetch --depth=1" is used, whereas it works on Git 2.26.

Replace "..." (3 dots) with ".." (2 dots) in the "git diff" command
computing the list of modified files between the base branch and the
PR branch.
(cherry picked from commit eaa551702d)

Co-authored-by: Victor Stinner <vstinner@python.org>
2020-08-10 10:09:41 -07:00
Steve Dower 70e9243a55
bpo-41490: Update ensurepip to install pip 20.2.1 and setuptools 49.2.1 (GH-21774) 2020-08-08 00:47:40 +01:00
Lysandros Nikolaou c20e83dce0
[3.9] Add lysnikolaou to CODEOWNERS for the new parser (GH-21253) 2020-07-01 12:50:04 +03:00
Miss Islington (bot) 412ed13171
Use v2 of GitHub Actions where available (GH-20232)
Automerge-Triggered-By: @Mariatta
(cherry picked from commit 7fbe65dbc4)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-05-20 09:59:25 -07:00
Miss Islington (bot) b008445a7b
Enable GitHub Actions for 3.9 branch (GH-20231)
(cherry picked from commit c105f7d895)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-05-19 10:24:52 -07:00
Filipe Laíns c444108dd6
bpo-40548: Github Actions: update actions/checkout to v2 (GH-20164)
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-05-18 14:52:45 +02:00
Paul Ganssle 62972d9d73
bpo-40503: PEP 615: Tests and implementation for zoneinfo (GH-19909)
This is the initial implementation of PEP 615, the zoneinfo module,
ported from the standalone reference implementation (see
https://www.python.org/dev/peps/pep-0615/#reference-implementation for a
link, which has a more detailed commit history).

This includes (hopefully) all functional elements described in the PEP,
but documentation is found in a separate PR. This includes:

1. A pure python implementation of the ZoneInfo class
2. A C accelerated implementation of the ZoneInfo class
3. Tests with 100% branch coverage for the Python code (though C code
   coverage is less than 100%).
4. A compile-time configuration option on Linux (though not on Windows)

Differences from the reference implementation:

- The module is arranged slightly differently: the accelerated module is
  `_zoneinfo` rather than `zoneinfo._czoneinfo`, which also necessitates
  some changes in the test support function. (Suggested by Victor
  Stinner and Steve Dower.)
- The tests are arranged slightly differently and do not include the
  property tests. The tests live at test/test_zoneinfo/test_zoneinfo.py
  rather than test/test_zoneinfo.py or test/test_zoneinfo/__init__.py
  because we may do some refactoring in the future that would likely
  require this separation anyway; we may:
        - include the property tests
        - automatically run all the tests against both pure Python and C,
          rather than manually constructing C and Python test classes (similar
          to the way this works with test_datetime.py, which generates C
          and Python test cases from datetimetester.py).
- This includes a compile-time configuration option on Linux (though not
  on Windows); added with much help from Thomas Wouters.
- Integration into the CPython build system is obviously different from
  building a standalone zoneinfo module wheel.
- This includes configuration to install the tzdata package as part of
  CI, though only on the coverage jobs. Introducing a PyPI dependency as
  part of the CI build was controversial, and this is seen as less of a
  major change, since the coverage jobs already depend on pip and PyPI.

Additional changes that were introduced as part of this PR, most / all of
which were backported to the reference implementation:

- Fixed reference and memory leaks

    With much debugging help from Pablo Galindo

- Added smoke tests ensuring that the C and Python modules are built

    The import machinery can be somewhat fragile, and the "seamlessly falls
    back to pure Python" nature of this module makes it so that a problem
    building the C extension or a failure to import the pure Python version
    might easily go unnoticed.

- Adjustments to zoneinfo.__dir__

    Suggested by Petr Viktorin.

- Slight refactorings as suggested by Steve Dower.

- Removed unnecessary if check on std_abbr

    Discovered this because of a missing line in branch coverage.
2020-05-16 10:20:06 +02:00
Filipe Laíns 6a78589b6b
bpo-40548: github actions: pass the changes check on no source changes (GH-20097)
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-05-15 04:08:21 +02:00
Filipe Laíns 75d7257b20
bpo-40548: GitHub Action workflow: skip jobs on doc only PRs (GH-19983)
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-05-15 00:11:40 +02:00
Victor Stinner 4e363761fc
bpo-40548: Always run GitHub action, even on doc PRs (GH-19981)
Always run GitHub action jobs, even on documentation-only pull
requests. So it will be possible to make a GitHub action job, like
the Windows (64-bit) job, mandatory.
2020-05-07 22:42:14 +02:00
Pablo Galindo ce0eacb19c
Add @pablogsal as code owner for pegen-related files (GH-19665) 2020-04-23 00:47:32 +01:00
Pablo Galindo 3f8a58b7ef
PEP 617: Only run the CI with the new parser (GH-19664) 2020-04-23 00:06:03 +01:00
Pablo Galindo c5fc156852
bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503)
Co-authored-by: Guido van Rossum <guido@python.org>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2020-04-22 23:29:27 +01:00
Victor Stinner 1767a0490f
bpo-40146: Update OpenSSL to 1.1.1f in Azure Pipelines (GH-19320)
Update also OpenSSL version in Ubuntu and Coverage jobs.
2020-04-03 03:05:10 +02:00
Steve Dower 2dd41740c9
bpo-39930: Ensure vcruntime140.dll is included in all Windows packages (GH-18918)
Also adds GitHub CI test for Windows installer changes
2020-03-11 11:18:12 +00:00
Ammar Askar 766b7546a5
bpo-39704: Explicitly pass the path to codecov config (GH-18680) 2020-02-27 15:08:30 -08:00
Ammar Askar 6aa1f1ecf7
bpo-39699: Don't silence make on Azure and Github CIs (GH-18583) 2020-02-26 19:21:41 +00:00
Nick Coghlan 7023288dc5
Ignore NEWS snippets in code coverage stats (GH-18194) 2020-01-28 02:05:03 +10:00
Pablo Galindo 6aabb63d96
Run doctests in GitHub actions Docs targer (GH-18041) 2020-01-17 23:44:38 +00:00
Steve Dower b1ce22d086 bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873)
https://bugs.python.org/issue39041



Automerge-Triggered-By: @zooba
2020-01-06 13:23:10 -08:00
Steve Dower 6a263cf1ad
bpo-39041: Add GitHub Actions badge to README.rst (GH-17628)
Also skip build for doc-only changes and enable on push
2019-12-16 11:15:08 -08:00
Steve Dower a76ba362c4
bpo-39041: Add GitHub Actions support (GH-17594) 2019-12-16 10:35:22 -08:00
Raymond Hettinger edd5b38c13
Add setobject.c (GH-17463) 2019-12-04 04:07:02 -05:00
Ethan Furman 83f144962f
add @ethanfurman for tarfile (GH-17461) 2019-12-04 00:18:31 -08:00
Ethan Furman 3ae38cc181
Update CODEOWNERS (#17356)
Add Ethan Furman for enum, cgi, and cgitb.
2019-11-22 14:28:41 -08:00
Giampaolo Rodola 5c534da798
CODEOWNERS: add myself for asyncore/chat, ftplib and shutil modules (#17313) 2019-11-21 17:38:51 +08:00
Pablo Galindo 02b8051a5e
Add @pablogsal to code owners file for the garbage collector (GH-17248)
Add myself to the codeowners file as I would like to
be automatically added as a reviewer for PRs that touch
that component and its documentation.
2019-11-19 02:03:55 +00:00
Vinay Sajip 2290b23dfc
Updated CODEOWNERS to indicate ownership of some modules. (GH-16578) 2019-10-04 09:48:24 +01:00
Gregory P. Smith 0765411d51 Adjust code ownership so @gpshead don't get asyncio subprocess PRs. (GH-16100) 2019-09-13 14:36:26 +01:00
Zachary Ware 6f55b0394b Turn off AppVeyor CI (GH-15929) 2019-09-11 14:17:53 +01:00
Paul Ganssle d287215df5
Add pganssle to CODEOWNERS and ACKS (GH-14138)
Also adds abalkin to CODEOWNERS for date and time related files.
2019-06-18 19:57:45 +01:00
Brett Cannon 7fb3190bcf Add sponsorship details for GitHub Sponsor button (GH-14181) 2019-06-17 18:30:56 -07:00
Zachary Ware 750767f7c0 Bump version in AppVeyor config (#13822) 2019-06-04 22:57:15 +02:00
Brett Cannon 25ee0c3bf1 Revert adding @maxking to CODEOWNERS file (GH-13660)
This reverts commit 71dc7c5fbd. Turns out you must have write access for CODEOWNERS to work.
2019-05-30 07:59:01 -07:00
Christian Heimes 1c99926228
Add my to code owner for more areas (#13650) 2019-05-29 17:45:19 +02:00
Abhilash Raj 71dc7c5fbd Add @maxking to CODEOWNERS file (GH-13599) 2019-05-27 21:15:48 -07:00
Philippe Gagnon a8e814db96 Fix a typo in SECURITY.md (GH-13568)
There is a duplicated "in" in the Supported Versions text.
2019-05-27 10:45:24 -07:00
Sviatoslav Sydorenko af570745fe 📝 Add a GitHub-specific security page (GH-13526)
* 📝 Add a GitHub-specific security page

It will show up @
https://github.com/python/cpython/security/policy
allowing to navigate users who get there from "Security" tab in the
GitHub repo to the full article explaining the security vulnerability
reporting practices.

Co-Authored-By: Hugo <hugovk@users.noreply.github.com>
2019-05-25 13:03:45 +03:00
Brett Cannon 678bb9d1b5
Unroll import-team in CODEOWNERS (#13118) 2019-05-06 13:44:49 -04:00
Pablo Galindo 888f37bc28
Add @pablogsal to code owners file for Parser/pgen (GH-12944)
Add myself to the codeowners file as I would like to
be automatically added as a reviewer for PRs that touch
that component.
2019-04-24 21:25:23 +01:00
Berker Peksag 2f5b44879f
Add myself to CODEOWNERS for sqlite3 and urllib.robotparser (GH-12856) 2019-04-16 16:54:56 +03:00
Inada Naoki 7444daada1
github: assign @methane to dict owner (GH-12617) 2019-03-30 11:08:17 +09:00
Benedikt Werner f2320b37d9 Fix typo (double 'the') in CODEOWNERS (GH-12227) 2019-03-07 17:09:40 -08:00
Ned Deily 96f2c73954
Add macos-team as a code owner (GH-10045) 2018-10-23 09:37:02 -04:00
Nick Coghlan 2f73ed6913
Update codeowners to match experts list change (#10022) 2018-10-21 14:22:15 +10:00