forked from mirrors/nixpkgs
python3Packages.ibis-framework: use version comparison for later removals
This commit is contained in:
parent
1b51366e61
commit
1c848adb7a
|
@ -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}"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue