python3Packages.aioridwell: 2021.12.2 -> 2022.03.0

This commit is contained in:
Fabian Affolter 2022-03-20 23:58:46 +01:00
parent 07200c01ba
commit 00796dccff

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"