python3Packages.ibis-framework: use version comparison for later removals

This commit is contained in:
Phillip Cloud 2022-02-17 06:52:28 -05:00 committed by Jonathan Ringer
parent 1b51366e61
commit 1c848adb7a

View file

@ -80,8 +80,7 @@ buildPythonPackage rec {
sqlalchemy
tables
toolz
] ++ lib.optionals (pythonOlder "3.8") [
# TODO: remove when ibis 3.0.0 is released
] ++ lib.optionals (pythonOlder "3.8" && lib.versionOlder version "3.0.0") [
importlib-metadata
];
@ -144,8 +143,7 @@ buildPythonPackage rec {
done
wait
# TODO: remove when 3.0.0 is released
'' + lib.optionalString (lib.versionOlder version "3.0.0") ''
export PYTEST_BACKENDS="${backendsString}"
'';