Skip to content

Commit c284e4b

Browse files
committed
python3Packages.plux: disable test incompatible with pytest 9
test_resolve_distribution_information fails with pytest >= 9.0.2 because pytest now uses PEP 639 License-Expression metadata instead of the legacy License field. Upstream pins pytest==8.4.1 in CI and has not encountered this yet. Upstream fix: localstack/plux#46
1 parent 8d8c1fa commit c284e4b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pkgs/development/python-modules/plux/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ buildPythonPackage rec {
3434
export HOME=$TMPDIR
3535
'';
3636

37+
disabledTests = [
38+
# Fails with pytest >= 9 which uses PEP 639 License-Expression metadata
39+
# instead of legacy License field. Upstream pins pytest==8.4.1 in CI.
40+
# https://github.com/localstack/plux/pull/46
41+
"test_resolve_distribution_information"
42+
];
43+
3744
pythonImportsCheck = [ "plugin.core" ];
3845

3946
meta = {

0 commit comments

Comments
 (0)