Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages.matrix-nio: permit insecure Olm during check phase #336694

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion pkgs/development/python-modules/matrix-nio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
peewee,
python-olm,

# transitive dependencies
olm,

# tests
aioresponses,
faker,
Expand All @@ -40,6 +43,9 @@
zulip,
}:

let
olm-unsafe = olm.overrideAttrs (lib.addMetaAttrs { knownVulnerabilities = [ ]; });
in
buildPythonPackage rec {
pname = "matrix-nio";
version = "0.24.0";
Expand Down Expand Up @@ -83,7 +89,13 @@ buildPythonPackage rec {
pytest-aiohttp
pytest-benchmark
pytestCheckHook
] ++ passthru.optional-dependencies.e2e;

# e2e
atomicwrites
cachetools
(python-olm.override { olm = olm-unsafe; }) # Permit vulnerabilities during tests
peewee
];

pytestFlagsArray = [ "--benchmark-disable" ];

Expand Down