Commit Graph

255 Commits

Author SHA1 Message Date
Lysandros Nikolaou e76b8fc815
Add CODEOWNERS for the Grammar file (GH-22898) 2020-10-22 21:26:14 +03:00
Victor Stinner eaa551702d
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.
2020-08-10 18:36:59 +02:00
Lysandros Nikolaou d0981e61a5
Add lysnikolaou to CODEOWNERS for the new parser (GH-21252) 2020-07-01 12:47:35 +03:00
Pablo Galindo d906f0ec1a
Update CODEOWNERS to account for the new parser location (GH-20971) 2020-06-18 23:23:40 +01:00
Ammar Askar 5552850f8e
[workflow] Use gcc problem matcher for Ubuntu action build (GH-18567) 2020-06-06 12:21:46 +01:00
lrjball d9c1f19919
bpo-40474: Updated coverage.yml to better report coverage stats (#19851)
Currently modules which are imported early are misreported in coverage. A fix is documented in the devguide, but the fix wasn't being used in CI.
2020-05-28 11:51:44 -07:00
Ammar Askar 2602d97a0a
[workflow] Use Sphinx problem matcher on GitHub docs builds (GH-20325) 2020-05-25 22:32:24 +01:00
Hai Shi 2377a9bae3
Closes bpo-40558: update CONTRIBUTING.rst to reflect current branches (GH-19989) 2020-05-25 14:19:42 -05:00
Hugo van Kemenade 7fbe65dbc4
Use v2 of GitHub Actions where available (GH-20232)
Automerge-Triggered-By: @Mariatta
2020-05-20 09:38:41 -07:00
Hugo van Kemenade c105f7d895
Enable GitHub Actions for 3.9 branch (GH-20231) 2020-05-19 19:01:32 +02: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
Ezio Melotti 3d07349d19
Add myself for HTML-related modules (#9325) 2018-09-14 20:14:16 -07:00
Victor Stinner 8b96eed0dd
AppVeyor: build Python in 64-bit mode (GH-8363)
Previously, Python was built in 32-bit mode and so issues specific to
64-bit mode like compiler warnings could be missed.
2018-07-23 13:16:41 +02:00
Mariatta 3ed919290e
Move Code_of_Conduct.rst to the root level. (GH-8209)
Follow up from https://github.com/python/peps/pull/712#issuecomment-403591108:

"people using the repo without using GitHub still ought to be reminded of the COC" - GvR
2018-07-09 14:29:57 -07:00
Suriyaa ✌️️ 9e6685ea7b bpo-33807: Add Python 3.7 buildbot link to '.github/CONTRIBUTING.rst' (GH-7532) 2018-06-08 10:40:55 -05:00
Zachary Ware 47a6c79f09 bpo-33764: Appveyor fixes (GH-7364)
* Prevent spurious message if taking a shortcut
* Fix YAML style
* Disable largefile tests
2018-06-03 21:13:31 -04:00
Eitan Adler 5cd22cf209 bpo-33488: Satisfy markdownlint for the pull request template. (GH-6786)
./.github/PULL_REQUEST_TEMPLATE.md:8: MD031 Fenced code blocks should be
surrounded by blank lines
./.github/PULL_REQUEST_TEMPLATE.md:10: MD031 Fenced code blocks should
be surrounded by blank lines
./.github/PULL_REQUEST_TEMPLATE.md:19: MD031 Fenced code blocks should
be surrounded by blank lines
./.github/PULL_REQUEST_TEMPLATE.md:21: MD031 Fenced code blocks should
be surrounded by blank lines
2018-05-13 17:55:35 -07:00
Mariatta 9c17e3a198
Update PR template file, don't reference bpo 12345 (GH-5897)
Fixes https://github.com/python/core-workflow/issues/223
2018-02-25 12:49:02 -08:00
Mariatta 82ab13d756
Update the Pull_request_template.md file (GH-5841)
Changed the template to be inside a comment tag.
2018-02-23 15:48:21 -08:00
Zachary Ware 6ea20fc719
Fix AppVeyor doc short-circuit (GH-5632) 2018-02-11 15:35:09 -06:00
Zachary Ware 28607e0dd9
Add short-circuit for doc changes to AppVeyor (GH-5519) 2018-02-11 11:19:51 -06:00
Zachary Ware 685045060e
Try to fix the AppVeyor cache mechanism (GH-5536) 2018-02-04 14:36:43 -06:00
Zachary Ware 7de25b1124
Fix version in AppVeyor (GH-5535) 2018-02-04 14:09:29 -06:00
Yury Selivanov d83671e996
Add myself as hamt/context (PEP 567) code owner (#5276) 2018-01-23 01:59:50 -05:00
Zachary Ware b216a25312
Fix version in AppVeyor config (GH-5124) 2018-01-07 12:59:48 -06:00
Zachary Ware 7f7de371f9
Kill the AppVeyor file whitelist (GH-5121)
It's more trouble than it's worth, since AppVeyor only checks the HEAD commit of a PR rather than the full diff against the base branch to decide which files changed.
2018-01-06 20:41:17 -06:00
Brett Cannon 811b2878df
Ignore importlib.h for automatic review requests from the import team. (GH-5087)
Otherwise the import team gets flagged for reviews any time the bytecode for
importlib.h changes (e.g new bytecode, optimizations, etc.).
2018-01-03 11:32:22 -08:00
Andrew Svetlov 02e4b7f354
Add @asvetlov to asyncio codeowners (#4917) 2017-12-18 18:20:42 +02:00
Guido van Rossum 5e8cbcc4f2 Add Guido and Ivan as owners for typing.py (#4729) 2017-12-05 16:56:39 -05:00
Eric V. Smith 2582f6f24e
Add dataclasses to CODEOWNERS. (GH-4730) 2017-12-05 15:52:19 -05:00
Mariatta ec12df1e6e Add Code of Conduct to .github folder. (GH-4029) 2017-10-17 19:44:20 -07:00
Terry Jan Reedy 55fd06605b Add self and idlelib to CODEOWNERS file. (#3889)
Followed format of other entries.
2017-10-04 22:15:11 -04:00
Brett Cannon 66033733aa Tweak formatting of PR message template (#3828) 2017-09-29 11:16:38 -07:00
Stefan Grönke f1502d097c bpo-31569: correct PCBuild/ case to PCbuild/ in build scripts and docs (GH-3711) 2017-09-25 17:58:10 +01:00
Mariatta 36d644d37a Create PULL_REQUEST_TEMPLATE.md (GH-3404)
Explain that backport PR should include branch name and the original PR number.
2017-09-06 17:27:05 -07:00
Steve Dower 5fcd5e64ee bpo-31340: Change to building with MSVC v141 (included with Visual Studio 2017) (#3311) 2017-09-06 10:01:38 -07:00
Zachary Ware f801322e92 Cache externals, depending on changes to PCbuild (#3308) 2017-09-04 14:59:02 -07:00
Raymond Hettinger f58e6e2768 Add references to modules I am responsible for (#3291) 2017-09-04 12:31:15 -07:00
Barry Warsaw 1a589a604f Use a team to maintain the email related packages. (#3290) 2017-09-04 15:19:26 -04:00
Alex Gaynor 3239cf1ae9 Change code owners for hashlib and ssl to the crypto team (#3284)
* Change code owners for hashlib and ssl to the crypto team

* Include the core CSPRNG for the crypto-team
2017-09-04 13:40:45 -04:00
Brett Cannon 5df8c589f4 Touch up the contributing notes (#3158)
* Mention how to find out what to do
* Update URL
* Thanks contributors
* Explain there is no timeline
2017-08-22 13:06:50 -07:00
Victor Stinner b907abc885 bpo-30871: Add test.pythoninfo (#3075)
* Add Lib/test/pythoninfo.py: script collecting various informations
  about Python to help debugging test failures.
* regrtest: remove sys.hash_info and sys.flags from header.
* Travis CI, Appveyor: run pythoninfo before tests
2017-08-17 16:40:51 +02:00
Steve Dower 1f512b9a34 Add Windows team as a codeowner for Windows-specific files (#3089) 2017-08-15 10:21:34 -07:00
Gregory P. Smith 60a6632a3d add myself to CODEOWNERS for subprocess. (#3005) 2017-08-04 20:00:06 -06:00
Brett Cannon d255fea7c7 Notify the import-team on import-related PRs (GH-3002) 2017-08-04 14:14:32 -07:00
R. David Murray d9d55c91be Add @bitdancer as codeowner of email related stuff. (GH-2987) 2017-08-02 15:50:50 -07:00
Yury Selivanov 9d8e6ec8d2 Add @1st1 as co-owner of asyncio and genobject (#2978) 2017-08-01 18:41:33 -04:00
Brett Cannon 9eef9e805e List myself as interested in all import-related pull requests (GH-2976) 2017-08-01 14:51:17 -07:00
Mariatta 00fce69711 Create CODEOWNERS (GH-2924)
Copied over info from .mention-bot
2017-07-31 20:56:12 -07:00
Steve Dower 5feda33a35 bpo-30450: Fix logic for retrying nuget.exe download (#2744)
Fix logic for retrying nuget.exe download with Python.
Add support for HOST_PYTHON variable.
Clear internal environment variables used in find_python.bat
Use HOST_PYTHON as the actual Python if it is recent enough.
Adds HOST_PYTHON variable to AppVeyor configuration
2017-07-18 19:31:51 +02:00
Victor Stinner 49bc743028 AppVeyor: run tests with --fail-env-changed (#2522) 2017-07-01 00:25:03 +02:00
Zachary Ware 42e3acda86 bpo-30417: Disable `cpu` resource on AppVeyor (GH-1951) 2017-06-09 20:20:24 -05:00
Brett Cannon 11ffb4543b Make codecov config on master the only config used (GH-2041)
This will allow for centralized management of the Codecov config to prevent skew as well as easier management going forward.

Closes python/core-workflow#81.
2017-06-09 16:26:03 -07:00
Zachary Ware d3bedf356a Only run AppVeyor on long-lived branches (GH-1941)
Also on the short-lived `buildbot-custom` branch.
2017-06-04 15:18:50 -05:00
morrme cbddf58c79 Move Codecov's configuration file under .github (GH-1494) 2017-05-13 13:34:06 -07:00
Brett Cannon 7fdd30975e Explicitly mention what should (not) be discussed on GitHub (GH-1437) 2017-05-03 10:51:55 -07:00
Brett Cannon 1e5766ff43 Link to the devguide's PR guidelines (GH-932) 2017-03-31 14:19:04 -07:00
Zachary Ware c5d3bfea0b Only trigger AppVeyor on code or config changes (GH-611) 2017-03-11 14:55:35 -06:00
Zachary Ware d31b28e16a Add Appveyor (GH-324) 2017-03-05 15:45:53 -06:00
Victor Stinner c9b62b4294 Add Travis CI and Codecov badges to README (#70)
Badges are small images which gives the status of the Travis CI and
the coverage percentage of Codecode. It helps to check the status of
the Travis CI and to get the link to Travis CI.

See also https://shields.io/
2017-02-13 16:57:30 +01:00
Brett Cannon f6516af8f3 Fix formatting issue with Codecov badge 2017-02-10 14:34:58 -08:00
Brett Cannon aa2a621c8b Add the Codecov badge for master 2017-02-10 14:33:55 -08:00
Brett Cannon 3f9339b569 Add a Travis badge for the master branch 2017-02-10 14:31:08 -08:00
Brett Cannon 6f0eb93183 Delete old pull request template 2017-02-10 14:09:18 -08:00
Brett Cannon 0c719824de Add a CONTRIBUTING file
This file will be displayed to contributors when they create a pull request in any branch (hence why it is not written in a branch-specific way).
2017-02-10 14:08:55 -08:00
Senthil Kumaran 58cb93f023 issue27476 - Introduce a .github template to discourage github pull requests
and point users to developers guide.
2016-07-10 12:24:41 -07:00