Skip to content

Commit

Permalink
PEP 763: add Hackage and OPAM (python#4092)
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw authored Oct 28, 2024
1 parent b566fed commit be5c1f2
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions peps/pep-0763.rst
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ compiled by Donald Stufft and others on the Python discussion forum in
- ❌
- Deletion by users not allowed at all.
* - PHP (Packagist)
- ❌ [#f8]_
- ❌
- ❌
- Deletion restricted after an undocumented number of installs [#f8]_.
- Deletion restricted after an undocumented number of installs.
* - .NET (NuGet)
- ❌ [#f9]_
- ✅ [#f10]_
Expand All @@ -336,13 +336,23 @@ compiled by Donald Stufft and others on the Python discussion forum in
- ✅ [#f14]_
- ✅ [#f14]_
- LuaRocks calls yanking "archiving."
* - Haskell (Hackage)
- ❌ [#f15]_
- ✅ [#f16]_
- Hackage calls yanking "deprecating."
* - OCaml (OPAM)
- ❌ [#f17]_
- ✅ [#f17]_
- Deletion is allowed if it occurs "reasonably soon" after inclusion.
Yanking is *de facto* supported by the ``available: false`` marker, which
effectively disables resolution.

The following trends are present:

* A strong majority of indices **do not** support deletion (7 vs. 4)
* A strong majority of indices **do** support yanking (7 vs. 4)
* The overwhelming majority of indices support one or the other or neither,
but **not** both (13 vs. 2)
* A strong majority of indices **do not** support deletion (9 vs. 4)
* A strong majority of indices **do** support yanking (9 vs. 4)
* An overwhelming majority of indices support one or the other or neither,
but **not** both (11 vs. 2)

* PyPI and LuaRocks are notable outliers in supporting **both** deletion and
yanking.
Expand Down Expand Up @@ -378,6 +388,12 @@ Footnotes
.. [#f14] https://luarocks.org/changes
.. [#f15] https://hackage.haskell.org/upload
.. [#f16] https://hackage.haskell.org/packages/deprecated
.. [#f17] https://github.com/ocaml/opam-repository/wiki/Policies#1-removal-of-packages-should-be-avoided
Copyright
=========

Expand Down

0 comments on commit be5c1f2

Please sign in to comment.