Skip to content

Commit

Permalink
matrix-synapse: only include used optional dependencies in check (#36…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 authored Jan 7, 2025
2 parents 2a11598 + 59e900c commit 1d862bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkgs/development/python-modules/pysaml2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,8 @@ buildPythonPackage rec {
changelog = "https://github.com/IdentityPython/pysaml2/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = [ ];
# Does not support pyopenssl above 24.3.0 due to use of a deprecated API,
# see https://github.com/IdentityPython/pysaml2/issues/975
broken = true;
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/matrix-synapse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ python3.pkgs.buildPythonApplication rec {
mock
parameterized
])
++ lib.flatten (lib.attrValues optional-dependencies);
++ builtins.filter (p: !p.meta.broken) (lib.flatten (lib.attrValues optional-dependencies));

doCheck = !stdenv.hostPlatform.isDarwin;

Expand Down

0 comments on commit 1d862bb

Please sign in to comment.