python3Packages.nikola: 8.3.0 -> 8.3.1

Flagging as security related as it includes the removal
of `polyfill.io` CDN which is now considered to be a bad actor.
f7c2e915e6

Changes:
https://github.com/getnikola/nikola/releases/tag/v8.3.1
(cherry picked from commit e111ed38e1)
This commit is contained in:
Thomas Gerbet 2024-06-30 13:48:33 +02:00 committed by github-actions[bot]
parent 550ac3e955
commit afdcd89a1a

View File

@ -8,7 +8,6 @@
doit,
feedparser,
fetchPypi,
fetchpatch2,
freezegun,
ghp-import,
hsluv,
@ -44,7 +43,7 @@
buildPythonPackage rec {
pname = "nikola";
version = "8.3.0";
version = "8.3.1";
pyproject = true;
disabled = pythonOlder "3.8";
@ -52,17 +51,9 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "Nikola";
inherit version;
hash = "sha256-VYuhiGLMTHcOZM8/bGZT7Xx5BOHo9gsMPjufYglrBL0=";
hash = "sha256-IfJB2Rl3c1MyEiuyNpT3udfpM480VvFD8zosJFDHr7k=";
};
patches = [
(fetchpatch2 {
name = "nikola-pytest8-compat.patch";
url = "https://github.com/getnikola/nikola/commit/5f1003f91cd59f62622d379efe9be5fb19a1ed3e.patch";
hash = "sha256-2H3125RUnwvN/XgwgfRe1139rhAz/9viMEcUYRGQMPs=";
})
];
postPatch = ''
substituteInPlace setup.cfg \
--replace-fail "--cov nikola --cov-report term-missing" ""