3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #169225 from fabaff/bump-aiodiscover

python3Packages.aiodiscover: 1.4.8 -> 1.4.9
This commit is contained in:
Fabian Affolter 2022-04-19 12:02:26 +02:00 committed by GitHub
commit 9d7d3b0e91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "aiodiscover";
version = "1.4.8";
version = "1.4.9";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "bdraco";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ts3PnL1ePWJHHaLuC0eQKqBOt+HeEeAayeVBAIhnUWs=";
sha256 = "sha256-KfNf09L8WF8Op+uVLRttROIgXpY79v0HfMv8b2qMSxE=";
};
propagatedBuildInputs = [

View file

@ -43,6 +43,12 @@ buildPythonPackage rec {
requests-mock
];
postPatch = ''
# https://github.com/hacf-fr/meteofrance-api/pull/378
substituteInPlace pyproject.toml \
--replace 'pytz = ">=2020.4,<2022.0"' 'pytz = ">=2020.4,<2023.0"'
'';
pythonImportsCheck = [
"meteofrance_api"
];