Merge pull request #146544 from fabaff/bump-zeroconf

python3Packages.zeroconf: 0.36.13 -> 0.37.0
This commit is contained in:
Fabian Affolter 2021-11-25 11:40:45 +01:00 committed by GitHub
commit 690029ac38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 8 deletions

View file

@ -49,6 +49,16 @@ let
sha256 = "074smp3448wcazlhc7sb8r54l4kfavr6yks3w5x60zl1qpijf52r";
};
});
zeroconf = super.zeroconf.overridePythonAttrs (oldAttrs: rec {
version = "0.36.13";
src = fetchFromGitHub {
owner = "jstasiak";
repo = "python-zeroconf";
rev = version;
sha256 = "aYNb67ESyz2Q2CKLhG+/Z8Xtt0Js8uf+xrVSEpY0X8c=";
};
});
};
};
in

View file

@ -21,8 +21,8 @@
buildPythonPackage rec {
pname = "pyatv";
version = "0.9.6";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
@ -32,11 +32,6 @@ buildPythonPackage rec {
sha256 = "0navm7a0k1679kj7nbkbyl7s2q0wq0xmcnizmnvp0arkd5xqmqv1";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
'';
propagatedBuildInputs = [
aiohttp
bitarray
@ -57,6 +52,18 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
# Remove all version pinning
sed -i -e "s/==[0-9.]*//" requirements/requirements.txt
'';
disabledTestPaths = [
# Test doesn't work in the sandbox
"tests/protocols/companion/test_companion_auth.py"
];
__darwinAllowLocalNetworking = true;
pythonImportsCheck = [

View file

@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "zeroconf";
version = "0.36.13";
version = "0.37.0";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "jstasiak";
repo = "python-zeroconf";
rev = version;
sha256 = "sha256-aYNb67ESyz2Q2CKLhG+/Z8Xtt0Js8uf+xrVSEpY0X8c=";
sha256 = "sha256-KdcRG1YKtvhcqq/FNiOVQeXlyYepvPjRL5EZJA8Axyk=";
};
propagatedBuildInputs = [