summaryrefslogtreecommitdiffstats
path: root/.github
Commit message (Collapse)AuthorAgeFilesLines
* gh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ (#94043)Victor Stinner2022-06-211-1/+1
| | | | | | | | * Move Lib/unittest/test/ to Lib/test/test_unittest/ * Remove Lib/test/test_unittest.py * Replace unittest.test with test.test_unittest * Remove unittest.load_tests() * Rewrite unittest __init__.py and __main__.py * Update build system, CODEOWNERS, and wasm_assets.py
* Add jaraco as primary owner of importlib.metadata and importlib.resources. ↵Jason R. Coombs2022-06-181-0/+2
| | | | | | | | | | | (#93960) * Add jaraco as primary owner of importlib.metadata and importlib.resources. * Align indentation. Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-93735: Split Docs CI to speed-up the build (GH-93736)Adam Turner2022-06-151-12/+34
|
* ci: add GitHub token permissions (#92999)Varun Sharma2022-05-214-1/+13
|
* Speedup: build docs in parallel (GH-92733)Hugo van Kemenade2022-05-161-3/+3
|
* CODEOWNERS: Add Erlend Aasland as sqlite3 code owner (#92535)Erlend Egeberg Aasland2022-05-091-1/+1
| | | Signed-off-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Add the 3.11 branch to the CI filesPablo Galindo2022-05-083-0/+6
|
* Don't apply 'stale' label to issues (#91501)Hugo van Kemenade2022-05-061-1/+2
|
* Dependabot: only bump actions for major versions (#92186)Hugo van Kemenade2022-05-032-3/+8
|
* build(deps): bump actions/stale from 4 to 5 (#92108)dependabot[bot]2022-05-011-1/+1
| | | | | | | | | | | | | | | | | 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>
* build(deps): bump actions/github-script from 5 to 6 (#92109)dependabot[bot]2022-05-011-1/+1
| | | | | | | | | | | | | | | | 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>
* build(deps): bump actions/setup-node from 2 to 3 (#92110)dependabot[bot]2022-05-011-1/+1
| | | | | | | | | | | | | | | | 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>
* build(deps): bump actions/cache from 3.0.1 to 3.0.2 (#92111)dependabot[bot]2022-05-011-3/+3
| | | | | | | | | | | | | | | | | 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>
* Fix typo in GH Issue template (GH-91759)Mariatta Wijaya2022-04-201-2/+2
| | | Typo in the word enhancement.
* build(deps): bump actions/upload-artifact from 2.3.1 to 3 (#32227)dependabot[bot]2022-04-201-1/+1
| | | | | | | | | | | | | | | | | 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>
* build(deps): bump actions/cache from 2.1.7 to 3.0.1 (#32228)dependabot[bot]2022-04-201-3/+3
| | | | | | | | | | | | | | | | | | 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>
* build(deps): bump actions/checkout from 2 to 3 (#32226)dependabot[bot]2022-04-203-12/+12
| | | | | | | | | | | | | | | | | 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>
* build(deps): bump actions/setup-python from 2 to 3 (#31630)dependabot[bot]2022-04-191-1/+1
| | | | | | | | | | | | | | | | | 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>
* Issue templates: Remove duplicate links to security policy (#91590)Alex Waygood2022-04-162-28/+0
| | | | * Remove security link from config file * Delete security.md
* Add minimal issue templates (#91569)Alex Waygood2022-04-166-0/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add minimal issue templates * Wording tweaks * Apply suggestions from code review Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Improve words in `security` template * Update bug.md * Update crash.md * Add link to security vulnerability website from first page * Never edit on your phone * Apply suggestions from code review Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Update .github/ISSUE_TEMPLATE/config.yml Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> * There might not be a traceback if there's a crash Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Update .github/ISSUE_TEMPLATE/config.yml Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Reorder `config.yml` file * Fix Erlend's nits * version -> architecture * Apply suggestions from code review Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Remove dead "Check PRs with 'CLA not signed' label" (#91429)Oleg Iarygin2022-04-111-15/+1
|
* Replace contributor-visible mentions of BPO in .github/* (GH-91426)Oleg Iarygin2022-04-103-4/+4
|
* Remove the issue template config after the migration (GH-32106)Ezio Melotti2022-04-101-5/+0
|
* notify new-bugs-announce on new issue open (#32421)Ee Durbin2022-04-101-0/+53
|
* bpo-47146: Stop Depending On regen-deepfreeze For regen-global-objects ↵Eric Snow2022-03-311-0/+3
| | | | | | | | | (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
* Add CODEOWNERS entry for pathlib (GH-32202)Brett Cannon2022-03-301-0/+3
|
* bpo-47095: Use libb2 to provide blake2 implementation (GH-32059)Christian Heimes2022-03-261-0/+1
|
* Add an issue template config for the migration (GH-32101)Ezio Melotti2022-03-241-0/+5
|
* bpo-47037: Test debug builds on Windows in CI so that native assertions are ↵Steve Dower2022-03-181-4/+4
| | | | noticed sooner (GH-31965)
* bpo-47024: Update OpenSSL to 1.1.1n (GH-31895)Christian Heimes2022-03-151-3/+3
| | | Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* bpo-46973: Add regen-configure make target (GH-31792)Christian Heimes2022-03-101-3/+5
|
* bpo-40059: Add tomllib (PEP-680) (GH-31498)Taneli Hukkinen2022-03-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new standard library module, `tomllib`, for parsing TOML. The implementation is based on Tomli (https://github.com/hukkin/tomli). ## Steps taken (converting `tomli` to `tomllib`) - Move everything in `tomli:src/tomli` to `Lib/tomllib`. Exclude `py.typed`. - Remove `__version__ = ...` line from `Lib/tomllib/__init__.py` - Move everything in `tomli:tests` to `Lib/test/test_tomllib`. Exclude the following test data dirs recursively: - `tomli:tests/data/invalid/_external/` - `tomli:tests/data/valid/_external/` - Create `Lib/test/test_tomllib/__main__.py`: ```python import unittest from . import load_tests unittest.main() ``` - Add the following to `Lib/test/test_tomllib/__init__.py`: ```python import os from test.support import load_package_tests def load_tests(*args): return load_package_tests(os.path.dirname(__file__), *args) ``` Also change `import tomli as tomllib` to `import tomllib`. - In `cpython/Lib/tomllib/_parser.py` replace `__fp` with `fp` and `__s` with `s`. Add the `/` to `load` and `loads` function signatures. - Run `make regen-stdlib-module-names` - Create `Doc/library/tomllib.rst` and reference it in `Doc/library/fileformats.rst`
* Clean up CODEOWNERS (#31715)Jelle Zijlstra2022-03-071-16/+8
| | | crypto-team apparently doesn't exist and skrah no longer has write access. Thanks @isidentical for noticing this.
* bpo-46633: Skip tests on ASAN and/or MSAN builds (GH-31632)Victor Stinner2022-03-011-9/+1
| | | | | | | | | | | | 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.
* build(deps): bump actions/upload-artifact from 2.2.4 to 2.3.1 (GH-30325)dependabot[bot]2022-02-231-1/+1
| | | | | | | | | | | | | | | | 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>
* Process more stale PRs, oldest first (GH-31407)Hugo van Kemenade2022-02-181-0/+4
|
* "Own" pattern matching and peepholing (GH-31412)Brandt Bucher2022-02-181-0/+2
|
* Close stale PRs without signed CLA (GH-30500)Erlend Egeberg Aasland2022-02-171-1/+14
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Become a CODEOWNER for typing (#31374)Jelle Zijlstra2022-02-161-1/+1
|
* bpo-46541: Drop the check for orphaned global strings. (gh-31363)Eric Snow2022-02-161-2/+0
| | | https://bugs.python.org/issue46541
* bpo-46541: Replace core use of _Py_IDENTIFIER() with statically initialized ↵Eric Snow2022-02-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Skip cron workflow for forks (GH-30748)Hugo van Kemenade2022-02-071-0/+1
|
* bpo-33125: Enables building traditional installer for Windows ARM64 (GH-30885)Steve Dower2022-01-281-0/+8
| | | Also makes a few general improvements to the build process and removes some dead code.
* Add skips to crashing tests under sanitizers instead of manually skipping ↵Pablo Galindo Salgado2022-01-251-1/+4
| | | | them (GH-30897)
* bpo-45200: GHA Address Sanitizer skips 3 slowest tests (GH-30797)Victor Stinner2022-01-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* Add a (conservative) timeout for Windows builds on GitHub Actions (GH-30301)Mark Dickinson2022-01-091-0/+2
|
* bpo-46219, 46221: simplify except* implementation following exc_info ↵Irit Katriel2022-01-021-0/+8
| | | | changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289)
* Delete `FUNDING.yml`, since there's an organisation default (#30294)Nikita Sobolev2021-12-301-2/+0
|
* bpo-46106: Update OpenSSL to 1.1.1m (GH-30211)Kumar Aditya2021-12-221-3/+3
| | | Co-authored-by: Ned Deily <nad@python.org>
* bpo-44035: Show git diff after autoreconf and regen (GH-30117)Christian Heimes2021-12-171-1/+3
|