Commit Graph

151 Commits

Author SHA1 Message Date
Hugo van Kemenade 62a0bbe95b
Infra: RTD preview links should be single version (#3035) 2023-03-02 23:41:01 -06:00
Irit Katriel 23e1d474ad
PEP 707: A simplified signature for __exit__ and __aexit__ (#3018) 2023-03-02 10:28:07 +00:00
Hugo van Kemenade d54d4e66c7
Infra: Automatically edit PRs with link to RTD preview (#3031) 2023-03-01 07:05:31 +02:00
Carl Meyer cf5741c181
PEP 709: Inlined comprehensions (#3029)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-02-26 17:11:03 -08:00
C.A.M. Gerlach 78b814d7a6
Meta: Further tweak PR template titles to get the right order (#3001)
* Further tweak the PR template titles to get the right order
* Further refine New PEP PR checklist text
2023-02-25 02:41:31 -06:00
Donald Stufft f074fe020b
PEP 708: Extending the Repository API to Mitigate Dependency Confusion Attacks (#3019)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Stefano Rivera <github@rivera.za.net>
2023-02-23 10:48:47 -05:00
Petr Viktorin 01717ed196
PEP 706: Filter for tarfile.extractall (#3009)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-15 13:32:31 +01:00
C.A.M. Gerlach 6adb907aaf
Meta: Fix name of Other template to include Other so it sorts properly (#3000)
Fix name of Other template to include Other so it sorts properly
2023-02-01 16:58:51 -06:00
C.A.M. Gerlach 40f1df99f7
Meta: Rename PR templates to be more descriptive in the GitHu UI (#2998)
* Rename PR templates to be more descriptive in the GitHu UI
* Remove currently-unused data block & extra heading from PR templates
2023-02-01 16:45:36 -06:00
C.A.M. Gerlach f009036f37
Meta: Add templates/checklists for new, Accepted/Rejected & Final PEPs (#2956)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-02-01 21:19:54 +02:00
Pradyun Gedam 6c40d235e6
PEP 704: Require virtual environments by default for installers (#2964)
Enforce the use of virtual environments and establish a conventional
name for the virtual environment directory.

Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Zak Johnson <me@zakj.net>
2023-01-25 06:11:02 -08:00
Hugo van Kemenade b173099ac6
Infra: replace feedgen/lxml dependency to test Python 3.12-dev (#2973) 2023-01-21 16:08:38 +02:00
Hugo van Kemenade 55ef1f44f5
Infra: Use consistent 'make html' and 'make dirhtml' (#2968) 2023-01-19 16:39:28 +02:00
Sam Gross 094ad58a88
PEP 703: Making the Global Interpreter Lock Optional in CPython (#2955)
Sponsor: Łukasz Langa <lukasz at python.org>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Qexat <43090614+qexat@users.noreply.github.com>
2023-01-10 16:52:02 +01:00
Jelle Zijlstra f668d6b846
PEP 702: Type system support for deprecations (#2942) 2023-01-01 16:01:08 -08:00
Pablo Galindo Salgado 242eb5f2fe
PEP 701: Syntactic formalization of f-strings (#2907)
Co-authored-by: Batuhan Taskaya isidentical@gmail.com
Co-authored-by: Lysandros Nikolaou lisandrosnik@gmail.com
2022-12-02 20:52:35 +00:00
C.A.M. Gerlach bc79b092c7
Meta: Update Contrib Guide & PR template for new CLA bot (#2900) 2022-11-25 15:07:16 -08:00
Paul Moore 45e373eb92
PEP 700: Additional Fields for the Simple API for Package Indexes (gh-2840) 2022-10-21 13:38:03 +01:00
Ken Jin f4f58d4250
PEP 699: Remove private dict version field added in PEP 509 (#2811)
Remove private dict version field added in PEP 509
2022-10-05 10:54:56 -07:00
Steven Troxler 90ae6434f6
PEP 698: Override Decorator for Static Typing (`@typing.override`) (#2783)
See earlier draft document at
https://docs.google.com/document/d/1dBkHKaOCqttnqzPo7kw1dzvbuFzNoOdx7OPyfbJHuV4/edit#
and discussion on `typing-sig` at
https://mail.python.org/archives/list/typing-sig@python.org/thread/7JDW2PKGF6YTERUJGWM3BRP3GDHRFP4O/
2022-09-23 10:42:25 -07:00
Petr Viktorin e7446a16eb
PEP 697 (new): C-API for Extending Opaque Types (#2772) 2022-08-31 11:35:53 +02:00
Hugo van Kemenade 8af617d2ad
Infra: Test Python 3.11 beta (#2727)
* Bump actions versions

* Test Python 3.11 beta

* Infra: Apply suggestions from code review

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>

* Infra: update JamesIves/github-pages-deploy-action

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>

* Infra: Use v4 of action

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-31 13:34:28 +03:00
Hugo van Kemenade 0f56290a30
Infra: override RTD build commands (#2728) 2022-07-29 16:07:03 +03:00
James Hilton-Balfe 49686bc4db
PEP 696: Type defaults for TypeVars (#2717)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-07-24 09:07:39 -07:00
Eric Traut 3fe4784290
PEP 695: Type Parameter Syntax (#2697)
Co-authored-by: Eric Traut <erictr@microsoft.com>
Co-authored-by: Erik De Bonte <erikd@microsoft.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-07-02 19:20:44 -07:00
Jelle Zijlstra dd1d44c705
PEP 693, 694: add to CODEOWNERS (#2686) 2022-06-28 16:28:58 -07:00
Franek Magiera 2bd06a469d
PEP 692: Using TypedDict for more precise `**kwargs` typing (#2620)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-06-28 15:20:28 -07:00
Erlend Egeberg Aasland ba7ec485b8
Update CODEOWNERS for PEP 670 and PEP 687 (#2586) 2022-05-08 09:21:42 +02:00
Dustin Ingram 171c27e292
PEP 691: Draft PEP for Simple JSON API (#2578)
Co-authored-by: Cooper Lees <me@cooperlees.com>
Co-authored-by: Donald Stufft <donald@stufft.io>
Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2022-05-05 15:02:39 -07:00
Germán Méndez Bravo 376341a223
PEP 690: Lazy Imports (#2569)
* Added first draft for Lazy Imports PEP

* Suggested changes to lazy imports PEP.

* Add another example of forcing eager imports.

* Update pep-9999.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

* Update Carl's email

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Update pep-9999.rst

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update and rename pep-9999.rst to pep-0690.rst

* Update .github/CODEOWNERS

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update pep-0690.rst

Co-authored-by: Carl Meyer <carl@oddbird.net>

* Update pep-0690.rst

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>

* Added myself to AUTHOR_OVERRIDES

* More updates to lazy imports

* Resolved comments

* More updates to lazy imports PEP.

* Update pep-0690.rst

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>

Co-authored-by: Carl Meyer <carl@oddbird.net>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-05-03 13:47:13 -05:00
Petr Viktorin 7f53796471
PEP 689: Semi-stable C API tier (GH-2559)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-04-27 15:13:10 +02:00
Hugo van Kemenade 0b0dd6ddd5
Add tests for `pep_sphinx_extensions` (#2545)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-04-26 20:07:20 +01:00
Jelle Zijlstra 0cb0066fba
PEP 688: Making the buffer protocol accessible in Python (#2549) 2022-04-24 20:38:57 -07:00
CAM Gerlach 5949604187
PEP 639: Update header, footer, link, reference and code block syntax (#2531)
* PEP 639: Update header and footer in line with new PEP 1/12 guidance

* PEP 639: Update implict references to use ref role

* PEP 639: Remove spurious # from link targets and make anonymous

* PEP 639: Format code blocks with appropriate syntax highlighting
2022-04-19 02:26:30 -05:00
Ee Durbin e637415047
Terraform fastly service (#2527)
* define peps fastly frontend with terraform

* add myself as codeowner of terraform/fastly
2022-04-15 04:10:11 -04:00
Ee Durbin d85b9f6be5
purge CDN cache on deploy (#2526)
* purge CDN cache on deploy

issues a purge all to the Fastly service that fronts peps.python.org to make new changes appear fast..... lier.

* yaml?
2022-04-14 13:36:47 -04:00
Jelle Zijlstra 7a4c01e73d
PEP 687: Add to CODEOWNERS (GH-2516) 2022-04-12 10:57:50 +02:00
CAM Gerlach 06a3e1e0a6
PEP 686: Update URLs, PEP references, Discussions-To and CODEOWNERS per PEP 12 (#2444) 2022-03-19 10:25:23 +09:00
Adam Turner 7a514d35bb
Infra: Remove artifact upload (#2417) 2022-03-11 17:02:08 -06:00
Hugo van Kemenade 719347adcf
Infra: Upload rendered PEPs as GitHub artifact (#2410) 2022-03-11 01:24:29 +00:00
Adam Turner 4bdabc6000
The PEP Rendering System is dead; long live the PEP Rendering System (#2399) 2022-03-10 10:27:31 +02:00
Eric Snow 51bf734b35
PEP 683: Drop Eddie from CODEOWNERS. (#2394) 2022-03-08 20:53:19 -07:00
Eric Snow 9988fd60c7
PEP 684: Add a PEP for making the GIL per-interpreter (#2387) 2022-03-08 20:27:15 -07:00
Jelle Zijlstra f4c43e0599
Meta: Fix CODEOWNERS (#2392)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-03-09 02:19:31 +00:00
Brett Cannon c4bbfce587
PEP 685: Comparison of extra names for optional distribution dependencies (#2391) 2022-03-08 17:40:12 -08:00
CAM Gerlach 6064e225d5
Add instructions for running lint and spellcheck tools locally (#2338) 2022-02-22 00:03:58 +00:00
Eric Snow 4ba57570ad
PEP 683: Add a PEP for immortal objects. (gh-2320) 2022-02-15 16:52:22 -07:00
John Belmonte 6d66078352
PEP 682: Format Specifier for Signed Zero (#2295)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-02-08 17:19:39 +00:00
CAM Gerlach 73fbc86311
Fix pre-commit-config filename in codeowners and re-sort (#2299) 2022-02-02 23:42:58 -06:00
CAM Gerlach e43f567e93
Upgrade lint infra & add a few more conservative built-in checks (#2286) 2022-01-31 18:49:58 -08:00
Erik De Bonte 47de64f1f5
PEP 681: Data Class Transforms (#2285) 2022-01-31 15:10:50 -08:00
Brett Cannon 9906d56876
PEP 594: add myself as co-author and target for Python 3.11 (#2262)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-01-25 14:51:26 -08:00
Adam Turner 3e85270574
PEP 676: Mention additional enhacements (#2260)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-01-23 22:23:13 +00:00
Adam Turner fb046e16c6
Only restrict to deploying on pushes to `master` in the python/peps repo (#1996) 2022-01-21 11:37:08 +00:00
Adam Turner 4173039d6c Set default reviewers for infrastructure in CODEOWNERS 2022-01-20 15:31:09 +00:00
CAM Gerlach 6c7fa9746f
PEP 639: Update PEP delegate, post history and CODEOWNERS (GH-2228) 2022-01-20 08:04:25 +00:00
Nikita Sobolev d9e63ccf42
Allow manually running GitHub Actions workflows and use consistent file extension (#2215)
* Rename deploy-gh-pages.yaml to deploy-gh-pages.yml
* Enable workflow_dispatch trigger to allow manually running
2022-01-20 01:48:26 -06:00
Adam Turner c0ea0a9a55
Add Adam Turner as the default reviewer for PEP infrastructure (#2253) 2022-01-20 05:49:05 +00:00
Shantanu 6714cfed8a
PEP 680: link discuss post, minor edits (#2226)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-01-12 11:57:51 +01:00
Jelle Zijlstra 8b9859a142
Copyedits to PEP 679 (#2222)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-01-10 12:28:07 +00:00
Adam Turner 3d60b84e35
PEP 676: Implementation updates (#2208) 2022-01-09 10:07:03 -08:00
Zac Hatfield-Dodds 8c43285a06
PEP 678: Enriching Exceptions with Notes (#2201)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-12-22 08:13:01 -08:00
Steven Troxler 581d21d947
PEP 677: Callable Type Syntax (#2187)
Ported from a google doc at
https://docs.google.com/document/d/16UmBItZWIzKZK3ZTpDKH8vazNZ817E4UqKmPtebO4jQ/edit

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Tuomas Suutari <tuomas@nepnep.net>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2021-12-13 20:31:31 -08:00
Mark Shannon 23307c1239
PEP 669: Low Impact Monitoring for CPython (#2183) 2021-12-07 15:09:44 +00:00
Hugo van Kemenade e47f9242f8
Rename master to main (#2178) 2021-12-03 06:59:24 -08:00
Adam Turner 54e9bd01a3
PEP 676: PEP Infrastructure Process (#2173) 2021-12-02 11:57:42 -08:00
Ee Durbin b6e3845f4c
Update to deploy from main (#2176) 2021-12-02 13:29:46 -05:00
Pradeep Kumar 21f6993114
PEP 675: Arbitrary literal strings (#2167) 2021-12-01 09:57:41 -08:00
Victor Stinner 745bfda492
PEP 674: fix creation date; add myself to CODEOWNERS (#2168) 2021-12-01 00:30:08 +01:00
Brett Cannon 9638809de4 Fix Jelle's username in CODEOWNERS 2021-11-23 17:13:24 -08:00
Ofek Lev 58629bc305
Support code highlighting (#1577) 2021-11-23 15:30:48 -08:00
Pradeep Kumar 6df0c1d962
PEP 673: Initial commit for Self Types. (#2139) 2021-11-11 07:02:58 -08:00
Chris Angelico f14aa8d4ef Fix omitted CODEOWNERS entry 2021-11-03 03:06:00 +11:00
Petr Viktorin 943bf873ed
PEP 672: Unicode-related Security Considerations for Python (#2129) 2021-11-03 03:05:06 +11:00
Victor Stinner a0380afe17
PEP 670: Convert macros to functions in the Python C API (GH-2114) 2021-10-19 23:31:48 +02:00
Irit Katriel 5d9d08c12c
Add Irit as co-owner of PEP 654 (#2061) 2021-08-26 11:54:17 -07:00
Geoffrey Thomas 636b2d7fdb
PEP 668: "Graceful cooperation between external and Python package managers" (#2056) 2021-08-25 13:39:23 -07:00
Brett Cannon 3eb5865851 List Mark Shannon as the owner of PEP 667 2021-08-24 14:07:16 -07:00
Brett Cannon dc96e26831
PEP 665: Specifying Installation Requirements for Python Projects (#2043) 2021-07-29 17:56:39 -07:00
Brett Cannon 56770adfc9
Add PEP 663 and 664 authors to CODEOWNERS 2021-07-29 16:24:31 -07:00
Hugo van Kemenade e61ca95fce
Add PEP abstract to the RSS feed (#1679)
* Flake8 fixes

* Use first paragraph of abstract as 'description', and PEP author as 'author'

* Check RSS generation runs with no error
2021-07-12 13:55:16 +02:00
Adam Turner 3b34e282fd
Sphinx support: fix last modified dates for PEPs (#2024) 2021-07-04 18:55:04 +01:00
Adam Turner 0d93abf9bf
Sphinx support: theming (#1933)
See #2, #1385 for context. Superseeds #1568.

This is the Sphinx-theming part, building on PR #1930.

### Stylesheets:
- `style.css` - styles
- `mq.css` - media queries

### Jinja2 Templates:
- `page.html` - overarching template

### Javascript:
- `doctools.js` - fixes footnote brackets

### Theme miscellany
- `theme.conf` - sets pygments styles, theme internals
2021-06-30 20:19:44 +01:00
Brandt Bucher c043875156
PEP 634: Clarify late-registration edge-case (GH-2001) 2021-06-24 16:56:40 -07:00
Bernát Gábor cab847fb1c
PEP-662: Move to a wheel based approach (#1999)
Co-authored-by: Tomer <tomer.keren.dev@gmail.com>
2021-06-24 13:38:37 -07:00
Bernát Gábor 0bc330a6f1
PEP 662: Editable installs via virtual wheels (#1977) 2021-06-11 12:34:03 -07:00
Adam Turner ec52afb543
Update to only deploy Sphinx to gh-pages on pushing to `master` (GH-1987) 2021-06-09 01:51:47 +01:00
Adam Turner 353379966d
Sphinx support: add Sphinx core files (#1930)
See #2, #1385 for context. Superseeds #1565.

This is the minimal core Sphinx support part, adding a bare minimum of useful things to get Sphinx to build and deploy, whilst not affecting the current build system. There is no theming or custom parsing needed to properly deal with PEPs.

- `build.py` - build script
- `conf.py` - Sphinx configuration
- `Makefile` - new targets for Sphinx
- `.gitignore` - add ignores for `venv` and `package` directories
- `contents.rst` - Sphinx page to discover all PEPs
- `deploy-gh-pages.yaml` - builds and deploys to github pages
- `requirements.txt`
2021-06-09 00:11:26 +01:00
Brett Cannon 97bec2f7d6
Add taleinat to CODEOWNERS for PEP 661 2021-06-07 16:26:36 -07:00
Brett Cannon aa56470ad7
Add Mark to CODEOWNERS for PEP 659 2021-05-20 12:00:23 -07:00
Stéphane Bidoul b875991e6a
PEP 660: build_wheel_for_editable (#1944) 2021-05-20 11:58:22 -07:00
Tzu-ping Chung e5c9cb94d0
PEP 658: Static Distribution Metadata in the Simple Repository API (#1955) 2021-05-11 18:43:01 -07:00
Batuhan Taskaya 3e852b2176
PEP 657: add codeowners (#1952) 2021-05-09 00:05:53 +03:00
Jelle Zijlstra 69d0e87ccf
Fix CODEOWNERS (#1925) 2021-04-13 12:14:31 -07:00
Brett Cannon eeb90a84e4
Begin bisecting CODEOWNERS to try and figure out why it isn't working (#1921)
Part of #1920
2021-04-12 17:18:03 -07:00
Jelle Zijlstra 6bfe26c51c
CODEOWNERS: fix Pablo's name for PEP 619 (#1913) 2021-04-06 06:57:01 -07:00
Brett Cannon e7698a7dbe
Add CODEOWNERS (#1892) 2021-04-03 19:19:26 -07:00
Hugo van Kemenade 58718c543e
Lint RST on GitHub Actions and fix PEP 646 (#1802) 2021-02-08 07:20:51 -08:00
Hugo van Kemenade 2f4ec80cf2
Build and deploy HTML on GitHub Actions (#1669) 2020-10-23 10:32:17 -07:00
Mariatta 82fd1fe263 Update the PR template and Contributing Guidelines (#738) 2018-07-13 14:22:35 -07:00