Commit Graph

9072 Commits

Author SHA1 Message Date
Krzysztof Mizgała 19ba2541b9
PEP 3104: fix broken link (#2002) 2021-06-24 13:39:50 -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
Stéphane Bidoul 335d61e924
PEP 660: add links to prototypes (GH-1998) 2021-06-22 19:32:18 +01:00
Mariatta Wijaya ed8f8573de
PEP 582: Add Discussions To (#1993) 2021-06-21 16:10:39 -07:00
Philippe F 1f38efd742
Fix typo: swap node and match in the example (#1997) 2021-06-21 13:33:34 -07:00
Stéphane Bidoul f06a8c73d8
Updates to PEP 660 (GH-1978) 2021-06-21 10:57:03 +01:00
Mariatta Wijaya 82cd151074
PEP 517: Fix odd url markup (#1992) 2021-06-17 15:49:29 -07:00
Pablo Galindo d7af407833
PEP 619: Add date for Python 3.10.0b3 2021-06-17 22:31:58 +01:00
Adam Turner b8b64248d0
Sphinx support: Add support for RSS (#1934)
See #2, #1385 for context.

This is the RSS generation part, building on PR #1930. It contains the logic for generating RSS

This was originally in #1385 and #1565, split out for ease of review
2021-06-15 23:22:39 +01:00
Dominic Davis-Foster 35b0cc1a92
PEP 619: Mark 3.10.0b2 as relased. (#1991) 2021-06-13 18:11:32 +01:00
Adam Turner 749c2d9a37
Sphinx support: add PEP 0 generation extension (1932)
* Add PEP 0 parser

* Add PEP 0 writer

* Add PEP 0 generator and authors override

* Add/update build and run

* Simplify `create_index_file`

* Special status handling

* Add constants for PEP related magic strings

* Prefer checking on class

* Add PEP.hide_status, use constants

* Remove comment from 2008 (current method works fine)

* Clarify intent of for-else loop

* Hook in to Sphinx (oops, missed when splitting out this PR)

* Rename AUTHORS.csv for clarity

* Sort and strip spaces

* Prefer `authors_overrides` name

* Add pep_0_errors.py

* Move author_sort_by to writer

* PEP init misc

* Split out Author

* Drop pep_0 prefix

* Pass title length as an argument

* Add constants.py to hold global type / status values

* Capitalise constants

* Capitalise constants

* Update PEP classification algorithm

* Extract static methods to module level

* Add emit_text, emit_pep_row

* Use constants in writer.py

* Sort imports

* Sort constants

* Fix sorting in historical and dead PEPs

* Extract static methods to module level

* Extract static methods to module level (parser.py

* Make Author a NamedTuple

* Fix author duplication bug with NamedTuples

* Revert to old PEP classification algorithm

* Define PEP equality
2021-06-12 18:51:14 +01:00
Steve Dower 0f278396f4
PEP 632: Improve formatting and fix link (#1990) 2021-06-12 08:06:50 -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 c69fdbf5e1
Add config option in `build.py` for Sphinx builders (#1988) 2021-06-09 14:02:16 +01: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 0f3bbd9ad9
Sphinx support: add docutils support files (#1931)
See #2, #1385 for context. Superseeds #1566.

This is the docutils parsing, transforms and writing part, building on PR #1930. It contains a pseudo-package, `sphinx_pep_extensions`, which itself contains:

### Docutils parsing:
- `PEPParser` - collates transforms and interfaces with Sphinx core
- `PEPRole` - deals with :PEP:`blah` in RST source

### Docutils transforms:
- `PEPContents` (Creates table of contents without page title)
- `PEPFooter` (Dels with footnotes, link to source, last modified commit)
- `PEPHeaders` (Parses RFC2822 headers)
- `PEPTitle` - Creates document title from PEP headers
- `PEPZero` - Masks email addresses and creates links to PEP numbers from tables in `pep-0000.rst`

### Docutils HTML output:
- `PEPTranslator` - Overrides to the default HTML translator to enable better matching of the current PEP styles
2021-06-09 01:37:55 +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
Tal Einat 629a8b44b0
PEP 661: add a "Discussions-To" header (#1986) 2021-06-08 18:07:58 +03:00
Brett Cannon 97bec2f7d6
Add taleinat to CODEOWNERS for PEP 661 2021-06-07 16:26:36 -07:00
Andre Delfino 818bd7e848
Fix reference implementation (#1981) 2021-06-07 16:24:15 -07:00
Julien Palard be369d9066
pep-101: /3/ symlink is handled by the build server now. (#1985) 2021-06-07 18:20:51 +02:00
Julien Palard 2c4b01e7a7
Release: drop 'make suspicious' from release process. (#1982)
As it's no longer mandatory to merge, some false positives can sneak in.

It's a burden for RMs, and it's slowly been handled in:

https://bugs.python.org/issue42238
2021-06-07 10:57:11 +02:00
Tal Einat 910d060988
PEP 661: fix links and tweak some wording (#1980) 2021-06-06 11:32:34 +03:00
Tal Einat b368a5a4be
PEP 661: Sentinel Values (#1979) 2021-06-06 10:27:23 +03:00
Sergey B Kirpichev 5d30e8b563
PEP 515: fix links (#1973) 2021-05-31 13:20:37 -07:00
Tzu-ping Chung 9873d12f27
PEP 658: Served metadata may be non-static (#1972) 2021-05-31 13:19:40 -07:00
Mark Shannon 5ba83633f6
Make PEP 659 draft. (#1971) 2021-05-26 12:21:31 +01:00
Mark Shannon 43821ac28b
Withdraw PEP 611. (#1970) 2021-05-25 18:33:53 +01:00
Mark Shannon 3800569551
Make PEP 626 final. (#1969) 2021-05-25 07:18:35 -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
Brett Cannon 11debc3dd9
Fix a PEP number discrepancy in the README 2021-05-17 15:45:53 -07:00
Pablo Galindo aed5fd66c0
PEP 657: Add a new rejected idea section for single-caret errors (#1965) 2021-05-17 18:38:24 +01:00
Fredrik Averpil 575c0d163d
Update instructions to use pep-9999.rst in README (GH-1963) 2021-05-15 22:55:58 +03:00
Ankush Menat d209386487
PEP 659: fix a typo (#1961) 2021-05-13 22:40:40 +10:00
Pablo Galindo 27c75f67c4
PEP 657: Update the public API and the opt-out mechanism (#1959) 2021-05-12 21:33:09 +01:00
Tzu-ping Chung bcf1f22b20
PEP 658: Fix typo (#1958) 2021-05-12 07:14:28 -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
Mark Shannon ab2d326d54
PEP 659: Specializing Adaptive Interpreter (#1957) 2021-05-11 15:27:04 +01:00
Ammar Askar 5025de8493
PEP 657: Add Discussions-To linking to discourse thread (#1954)
* PEP 657: Add Discussions-To linking to discourse thread

* Remove specific post
2021-05-09 23:36:39 +01:00
Ammar Askar 862a3836ce
PEP 657: Fix incorrect percentage for standard library pyc size increase (#1953) 2021-05-09 21:10:58 +03:00
Batuhan Taskaya 3e852b2176
PEP 657: add codeowners (#1952) 2021-05-09 00:05:53 +03:00
Pablo Galindo 2be673e54a
PEP 657: Clarifications regarding optimized mode 2021-05-08 19:58:01 +01:00
Pablo Galindo 822755724f
PEP 657: Include fine grained error locations in tracebacks (GH-1950) 2021-05-08 18:27:58 +01:00
Pablo Galindo fae0ce2014
Update references to master to point to main (#1948) 2021-05-08 04:24:21 +01:00
Inada Naoki aae66b2c4b
PEP 624: Final (#1947)
Implemented in https://github.com/python/cpython/pull/25881
2021-05-08 10:10:53 +09:00
Mario Corchero a256e40eab
PEP648: Rework based on feedback from the Steering Council (#1941) 2021-05-06 21:14:33 +01:00
Stéphane Wirtel 991815f936
PEP 0013: Update Current Steering Council for 2021 term (#1946) 2021-05-05 10:54:30 -07:00
Kai a1571bce76
Update two links in README.rst to use HTTPS (#1945)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-05-04 12:31:38 -07:00
Łukasz Langa 094b1ed50d
[pep-0619] Mark 3.10.0b1 as released 2021-05-04 00:59:45 +02:00