Commit Graph

10203 Commits

Author SHA1 Message Date
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
Pradyun Gedam 34e9a8d33f
Remove the requirement for Resolution to be the final header (#2678)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2022-06-29 16:31:12 -05:00
Wouter Koorn 21dff31c33
PEP 694: Grammar changes + reason phrase deprecation mention (#2685)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Donald Stufft <donald@stufft.io>
2022-06-29 09:15:24 -04:00
CAM Gerlach 135e66f311
Infra: Link topic index pages in rendered PEP topic headers (#2689) 2022-06-29 06:03:49 -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
Brett Cannon 855819341c
PEP 621: add a note linking to the official specification (#2684) 2022-06-28 12:18:43 -07:00
Murtagy dda79ea1c3
PEP 483: Define AnyStr before mentioning it (#2682) 2022-06-28 08:35:25 -07:00
Erlend Egeberg Aasland 41e31d5d6a
PEP 687: Mark as Accepted (#2676)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-06-28 00:30:50 -05:00
Donald Stufft a4041667da
PEP694: Grammar fixes (#2679) 2022-06-27 21:00:42 -04:00
Donald Stufft a21c1f27de
PEP 694: Upload 2.0 API for Python Package Repositories (#2675) 2022-06-27 20:50:04 -04:00
Carl Meyer 6a5ee970ff
PEP 690: Update draft per discussion and feedback (#2613) 2022-06-27 16:27:49 -07:00
Pradyun Gedam 6a8349343c
PEP 668: Address feedback and mark as accepted (#2673) 2022-06-27 15:25:01 -07:00