Merge pull request #165033 from fabaff/bump-aioridwell

This commit is contained in:
Martin Weinelt 2022-03-21 00:42:29 +01:00 committed by GitHub
commit 0d8cc47e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioridwell"; pname = "aioridwell";
version = "2021.12.2"; version = "2022.03.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "bachya"; owner = "bachya";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-QFUXWleHRMBgaRsMNt2xFb3XcbCNI2kKQHKCBrUuG6Q="; hash = "sha256-UiHT1YbBb9UTughVw2oJxRtvhUDVqQWqEcXMEXwy2cI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -49,12 +49,6 @@ buildPythonPackage rec {
types-pytz types-pytz
]; ];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'titlecase = "^2.3"' 'titlecase = "*"' \
--replace 'pytz = "^2021.3"' 'pytz = "*"'
'';
disabledTests = [ disabledTests = [
# AssertionError: assert datetime.date(... # AssertionError: assert datetime.date(...
"test_get_next_pickup_event" "test_get_next_pickup_event"