Commit Graph

9965 Commits

Author SHA1 Message Date
Mark Shannon 9819ca468e
PEP 669: Clarify section on DISABLE. (#2759)
Clarify section on DISABLE.
2022-08-11 17:33:48 +01:00
Mark Shannon 738a01cb30
PEP 669: Clarifications (#2758) 2022-08-11 15:27:05 +01:00
CAM Gerlach 9aa0775867
PEP 654: Add missing Python-Version header (#2755) 2022-08-09 16:16:29 -05:00
Hugo van Kemenade 146c45709b
PEP 664: Update 3.11 RC1 release date (#2753) 2022-08-08 17:24:37 +01:00
Kushal Das 949dc03304
PEP 582: Updates to internal directory structure (#2750)
* Updates 582 with internal directory example

Now we have working example in both Cpython & in PyPy.

* Fixes Python version
2022-08-06 21:31:05 +02:00
Mark Shannon be96146cae
PEP-669: Fix version number (#2748)
Fix version number
2022-08-05 13:09:54 +01:00
Mark Shannon 0fe55c6d12
PEP 669: Add multiple tool and one-shot event handling capabilities (#2747) 2022-08-04 15:04:26 +01:00
Hugo van Kemenade 7f4e764885
PEP 565: Fix footnotes (#2741)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-04 11:42:03 +03:00
Hugo van Kemenade f74f32b030
PEP 501: Fix footnotes (#2715) 2022-08-04 11:41:52 +03:00
Kebap b9a70c2c14
PEP 282: Improve upon colloquial phrasing (#2667)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2022-08-03 23:35:23 +01:00
Paul Moore 2563e2a419
PEP 625: Mark as draft again (GH-2746) 2022-08-03 09:34:17 +01:00
CAM Gerlach f87de8284c
Infra: Add new directives to point to PEP's canonical content (#2702)
As originally discussed in #2692 , this adds a three new custom directives intended to be used at the top of PEPs:

* `pep-banner`, a generic admonition banner that can be subclassed with an arbitrary message,
* `canonical-docs`, which renders a banner linking to a `Final` PEP's canonical documentation/specification.
* `canonical-pypa-spec`, a banner for packaging interoperability PEPs linking to the canonical PyPA specs.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-02 22:48:56 -05:00
CAM Gerlach d31806fe1e
PEP 639: Further update per discussion, w/flat license key, etc. (#2705)
Substantive content changes:

* Instead of adding a new top-level `license-expression` key for the license expression in the `[project]` table of the `pyproject.toml` source metadata, the PEP now specifies using the top-level string value of the `license` key for this purpose, which PEP 621 (PEP-621) reserved it for, and updates the `license-expression` and `license` key specs, and the examples, rejected ideas and other sections accordingly.
* Since this makes it not possible to convert a legacy `license` key to the new `License-Expression` field at build time, and that's not really advisable anyway, it drastically simplifies the normative Converting Legacy Metadata section to just a single normative statement, and updates/removes other mentions of it accordingly, and the (already rather unhelpful) example
* Likewise, it simplifies and refines the guidance in the Mapping classifiers to SPDX identifiers section to be more general and less focused on build time, and also allows tools to ignore redundant parent classifiers (Note: This section will be moved to an external appendix in the next PR, but I didn't move it here for ease of review)
* The `license_files` directory was renamed to `licenses` at the request of @brettcannon and to simplify things a touch
* The specified handling of the `license.file` key was a bit confused by a (apparently quite common) misunderstanding about how the specified file is used (to inject its text directly under the `License` field in core metadata, rather than included in distribution archives or its path specified in metadata) due to it being rather underspecified in PEP 621, which this revision corrects.
* Bump the core metadata version to reflect acceptance of PEP 685 as Metadata 2.3
* Bump the SPDX license list version to be up to date

Significant non-normative/editorial changes:

* Mention implementation of drafts of this PEP in Hatch and Setuptools, and also describes previous efforts in Setuptools and Wheel that this PEP builds on more clearly, as suggested on the discussion thread
* Reference the canonical project [source] metadata PyPA spec instead of PEP 621, use clearer language surrounding that, and update a few references to other PEPs
* Revise the Motivations and Rationale to be less duplicative/redundant, more balanced and focused more specifically on their respective areas (providing some background and describing the problem, and introducing and justifying the proposed solution, respectively)
* Add a short blurb making explicit the use of RFC 2119 terminology (MUST, SHOULD, etc)
* Update PEP headers
* Various other minor revisions to correct typos and other issues, clarify and simply the text, and improve source formatting.
2022-08-02 22:43:25 -05:00
Hugo van Kemenade 76fcf6b0ea
Fix docutils deprecation warning when generating RSS (#2744) 2022-08-02 21:07:49 +01:00
Pablo Galindo Salgado efab331949
PEP 619: Update bugfix release dates (#2745) 2022-08-02 11:24:26 +01: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
Hugo van Kemenade c75fd8f293
PEP 605: fix footnotes (#2743) 2022-07-29 12:46:20 +03:00
Hugo van Kemenade 3d63099a52
PEP 635: fix duplicate labels (#2742) 2022-07-28 22:10:36 +03:00
Marco Buttu b7723057fb
PEP 613: Add missing Python-Version header (#2739) 2022-07-28 08:55:06 -07:00
Hugo van Kemenade cf3b2e1f26
PEP 634: Fix duplicate labels (#2735) 2022-07-28 14:49:29 +03:00
Hugo van Kemenade fb6151d92b
PEP 664: 3.11.0 RC1 expected Friday, 2022-08-05 (#2738)
PEP 664: RC1 expected Friday, 2022-08-05
2022-07-28 11:00:19 +01:00
Hugo van Kemenade 3a79e80801
PEP 601: Fix footnotes (#2736)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-28 12:41:30 +03:00
Pablo Galindo Salgado b1ab534da6
PEP 664: Add 3.11.0b5 release date (#2733) 2022-07-26 11:54:35 +01:00
Ikko Ashimine 7eb081842d
PEP 694: Fix typos (#2731)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-07-26 11:28:31 +03:00
DetachHead fd50a6c9e1
PEP 695: fix TypeScript syntax (#2726)
fix typescript syntax
2022-07-24 16:59:02 -07: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
Hugo van Kemenade d927bbdad1
PEP 432: fix code block (#2729) 2022-07-22 11:22:34 -05:00
Brett Cannon b1ad37039f
PEP 11: add `wasm32-emscripten` and `wasm32-wasi` to tier 3 (#2722) 2022-07-20 15:16:33 -07:00
Hugo van Kemenade dae379c91c
PEP 432: Fix footnotes and syntax highlighting (#2716) 2022-07-20 14:55:12 -07:00
Hugo van Kemenade 99c0bda3df
PEP 538: Fix footnotes (#2714) 2022-07-20 14:50:22 -07:00
Hugo van Kemenade 3a792e4a1d
PEP 642: Fix footnotes (#2718) 2022-07-20 14:47:57 -07:00
Eric Traut 5e0be8f86f
PEP 695: Incorporated recent feedback from python-dev. (#2713)
Co-authored-by: Eric Traut <erictr@microsoft.com>
2022-07-14 16:58:30 -07:00
Simon Charette 897fd51371
PEP 593: Address syntax error in example. (#2710) 2022-07-13 16:27:47 -07:00
Dong-hee Na 3b897a46b2
PEP 495: Update PyDateTime_GET_FOLD name into PyDateTime_DATE_GET_FOLD (gh-2709) 2022-07-13 09:08:21 +09:00
Eric Traut eba9adb2d1
PEP 695: Incorporate feedback (#2706)
Incorporated changes from latest round of feedback, and describe new implementation strategy.

Co-authored-by: Eric Traut <erictr@microsoft.com>
2022-07-11 21:04:34 -07:00
Pablo Galindo Salgado ce65237e30
Correct the date of Python 3.11.0b5 (#2708) 2022-07-11 16:04:23 -04:00
Pablo Galindo Salgado e92a30a184
PEP-664: Update the date of the release of Python3.11.0b4 (#2707) 2022-07-11 21:56:23 +03:00
Hugo van Kemenade bf131f02be
Infra: gitignore generated `/topic` and wipe via `make clean` (#2683) 2022-07-10 15:41:05 -05:00
CAM Gerlach 0b788056de
Infra: Fix canonical link tag to point to correct PEP URL (#2687)
* Fix canonical link tag to point to correct PEP URL
* Use shorter, standard HTML5 syntax for self-closing tags
* Avoid depr clip prop & use better supported transform prop in CSS
* Use strict mode in the color scheme JS
2022-07-10 15:40:09 -05:00
Paul Moore 43782e9251
PEP 625: Update following discussions (GH-2671) 2022-07-09 11:27:18 +01:00
Omar ed9d65c1d4
PEP 282: Updated deadlink (#2701)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
2022-07-07 10:52:02 +03:00
CAM Gerlach 5d2f8d10ea
Style: Fix colors and style for all admonitions (#2691)
Since the basic admonition admonition styles are just applied to a couple individual admonitions, rather than admonitions in general, those other than "warning" and "note" won't display as admonitions at all. In addition to fixing that, this PR adds appropriate, standard colors for each of the additional admonition types in both light and dark mode.
2022-07-06 13:59:41 -05:00
Hugo van Kemenade 938c2d277b
PEP 661: Fix citation references (#2698) 2022-07-06 13:40:04 -05:00
Eric Snow c5dbd7ee48
PEP 683: Fix Link Formatting (#2699) 2022-07-05 15:08:33 -06:00
Eric Snow 3298a237a9
PEP 683: Small Updates (#2622)
This covers typos, tweaks in wording, and some adjustments in response to [the last email thread](https://mail.python.org/archives/list/python-dev@python.org/thread/MI22URMVKC63OFMZTALHFZKAKVGAT4UF/).
2022-07-05 14:34:09 -06: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
Thomas Grainger 764ec27290
PEP 453: only remove setuptools once pip drops support for legacy installs (#2096) 2022-07-02 07:19:33 +01:00
Devid Barattini 7c34ee44b7
PEP691: fix markup mistake (#2695) 2022-07-01 15:04:36 -07:00
Barry Warsaw d0ec84c36c
PEP 801: We are the 801 (#2694)
We are the 801

Closes #2693
2022-07-01 13:40:32 -07:00