Merge pull request #161482 from fabaff/bump-python-benedict

python3Packages.python-slugify: 5.0.2 -> 6.1.0, python3Packages.python-benedict: 0.24.3 -> 0.25.0
This commit is contained in:
Fabian Affolter 2022-03-05 09:47:36 +01:00 committed by GitHub
commit 84f91e46c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 15 deletions

View file

@ -10,7 +10,7 @@ buildPythonPackage rec {
src = fetchPypi {
inherit pname version;
sha256 = "sha256-WCyuhk77QNJAiuzccrb2u0mfc81LYrYSSq9atgO0LdE=";
hash = "sha256-WCyuhk77QNJAiuzccrb2u0mfc81LYrYSSq9atgO0LdE=";
};
propagatedBuildInputs = [ aiohttp ];

View file

@ -2,16 +2,15 @@
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, ftfy
, mailchecker
, phonenumbers
, pytestCheckHook
, python-dateutil
, python-fsutil
, pythonOlder
, python-slugify
, pyyaml
, ftfy
, requests
, six
, toml
@ -20,7 +19,7 @@
buildPythonPackage rec {
pname = "python-benedict";
version = "0.24.3";
version = "0.25.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -29,7 +28,7 @@ buildPythonPackage rec {
owner = "fabiocaccamo";
repo = pname;
rev = version;
hash = "sha256-06n8MNoGQRSrBK2XeEBBoQ2NIXWf0qXPVBeP9ERMEj0=";
hash = "sha256-G7pTbxNcESMUiKpQxjiF0gwN5mBhmuwIDlzauN5JCB4=";
};
propagatedBuildInputs = [

View file

@ -9,12 +9,14 @@
buildPythonPackage rec {
pname = "python-slugify";
version = "5.0.2";
version = "6.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-8TODoLn8vmSaGJK5yOtPjqsdbYS4S7emJDF6+pgVnKs=";
hash = "sha256-7/GQ5N+sl9L4wYkO5oJwns0jZQdCNhaH24LZXh5eJfU=";
};
propagatedBuildInputs = [
@ -26,9 +28,13 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [ "test.py" ];
pytestFlagsArray = [
"test.py"
];
pythonImportsCheck = [ "slugify" ];
pythonImportsCheck = [
"slugify"
];
meta = with lib; {
description = "Python Slugify application that handles Unicode";

View file

@ -29,7 +29,7 @@
let
defaultOverrides = [
# Override the version of some packages pinned in Home Assistant's setup.py and requirements_all.txt
(mkOverride "python-slugify" "4.0.1" "69a517766e00c1268e5bbfc0d010a0a8508de0b18d30ad5a1ff357f8ae724270")
(mkOverride "python-slugify" "4.0.1" "sha256-aaUXdm4AwSaOW7/A0BCgqFCN4LGNMK1aH/NX+K5yQnA=")
# pytest-aiohttp>0.3.0 breaks home-assistant tests
(self: super: {
@ -78,7 +78,7 @@ let
})
# Pinned due to API changes in 0.1.0
(mkOverride "poolsense" "0.0.8" "09y4fq0gdvgkfsykpxnvmfv92dpbknnq5v82spz43ak6hjnhgcyp")
(mkOverride "poolsense" "0.0.8" "sha256-17MHrYRmqkH+1QLtgq2d6zaRtqvb9ju9dvPt9gB2xCc=")
# Pinned due to API changes >0.3.5.3
(self: super: {
@ -125,12 +125,12 @@ let
})
];
mkOverride = attrName: version: sha256:
mkOverride = attrName: version: hash:
self: super: {
${attrName} = super.${attrName}.overridePythonAttrs (oldAttrs: {
inherit version;
src = oldAttrs.src.override {
inherit version sha256;
inherit version hash;
};
});
};