From 9e5fad25e4f333796d5f3526c57711d4eaf29865 Mon Sep 17 00:00:00 2001 From: Otto Liljalaakso Date: Aug 03 2022 17:42:41 +0000 Subject: [PATCH 1/3] Python: Fix link text PEP 627 renamed PyPA docs section "Recording installed distributions" to "Recording installed projects". Use the current section name as link text. Also, there was a typo in the old link text. --- diff --git a/guidelines/modules/ROOT/pages/Python.adoc b/guidelines/modules/ROOT/pages/Python.adoc index 312f636..229e264 100644 --- a/guidelines/modules/ROOT/pages/Python.adoc +++ b/guidelines/modules/ROOT/pages/Python.adoc @@ -408,7 +408,7 @@ and imports package `+foo+` from there, you will need to compile `+foo+` with: Each Python package *MUST* include _Package Distribution Metadata_ conforming to https://packaging.python.org/specifications/[PyPA specifications] (specifically, -https://packaging.python.org/specifications/recording-installed-packages/[Recording installed distributons]). +https://packaging.python.org/specifications/recording-installed-packages/[Recording installed projects]). The metadata *SHOULD* be included in the same subpackage as the main importable module, From 0488db476a85d92bd7de81e3ff6cee3f98e60541 Mon Sep 17 00:00:00 2001 From: Otto Liljalaakso Date: Aug 03 2022 17:49:53 +0000 Subject: [PATCH 2/3] Fix xref to legal docs --- diff --git a/guidelines/modules/ROOT/pages/index.adoc b/guidelines/modules/ROOT/pages/index.adoc index 6d6ff0c..408aa4e 100644 --- a/guidelines/modules/ROOT/pages/index.adoc +++ b/guidelines/modules/ROOT/pages/index.adoc @@ -112,7 +112,7 @@ can be found xref:Versioning.adoc[here]. == Licensing You should review the information regarding -xref:legal::license-approval.adoc/[licenses determined to be allowed in Fedora] +xref:legal::license-approval.adoc[licenses determined to be allowed in Fedora] and the xref:LicensingGuidelines.adoc[Licensing Guidelines] to ensure that your package is licensed appropriately and that the license is properly indicated. From 6e7eb4f1d72d2befa9dd532fa5aca20250a64ff4 Mon Sep 17 00:00:00 2001 From: Otto Liljalaakso Date: Aug 03 2022 18:17:32 +0000 Subject: [PATCH 3/3] Python: Fix typo 'Aplha' --- diff --git a/guidelines/modules/ROOT/pages/Python.adoc b/guidelines/modules/ROOT/pages/Python.adoc index 229e264..b4de9c6 100644 --- a/guidelines/modules/ROOT/pages/Python.adoc +++ b/guidelines/modules/ROOT/pages/Python.adoc @@ -1129,7 +1129,7 @@ that they are nuisance in Fedora, where the linter is not pinned to an exact version. Furthermore, some of these tools take a long time to adapt to new Python versions, -preventing early testing with Aplha and Beta releases of Python. +preventing early testing with Alpha and Beta releases of Python. And they are just not needed: wrongly formatted code is not important enough for the Fedora packager to bug the upstream about it. Making such an issue break a package build is entirely unreasonable.