Closed
Labels
0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
Steps To Reproduce
Steps to reproduce the behavior:
- build
python312Packages.pysaml2
Build log
https://pb.ny4.dev/1Mxszc
Additional context
This packages is a dependency of matrix-synapse.
Metadata
- system:
"x86_64-linux" - host os:
Linux 6.13.0-rc3, NixOS, 25.05 (Warbler), 25.05.20241224.430374d - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.24.11 - nixpkgs:
/nix/store/j8dj0k38p10zpnpvi87xfraxygclysbx-source
Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
Reacted by Faye Chun, Yureka, Pascal Bach, jcaesar, Samuel Meenzen, Leonard-Orlando Menzel, Redvers Davies, Moraxyc Xu, isabel, xanderio and 13 more
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Activity
yu-re-ka commentedon Dec 25, 2024
mweinelt commentedon Dec 25, 2024
Filed an issue upstream, since we are within their version boundary.
IdentityPython/pysaml2#975
jcaesar commentedon Dec 27, 2024
It seems the fix that upstream wants to do is pending for two years. Waiting for upstream to move on this may be overly optimistic.
Of course, you can skip the relevant tests (and then e.g. also skip some tests in synapse, because that has some failing tests too, currently).
What I don't know is whether this results in a working and secure synapse…
What's the proper way forward here? Downgrade pyopenssl for pysaml2?
bachp commentedon Dec 27, 2024
@jcaesar The problem is that it's not only tests that are failing but, the certificate verification is really not working as it is using deprecated functions that got removed.
That said I it seems that saml2 support is an optional feature for matrix-synapse, so we could probably just remove it until upstream is fixed. This way at least everybody who is not using saml2 can continue with a working matrix server.
artemislena commentedon Dec 28, 2024
T.: Any way one could remove the dependency manually w some override (n consequently build the pkg manually, Ig) until that change arrives in nixpkgs?
jcaesar commentedon Dec 30, 2024
@artemislena I sure would like to know that too. I'm currently using the sledgehammer option of stubbing out pysaml2, but I don't understand why its necessary, as pysaml2 is already an optional dependency and I don't have the config option that would add the relevant extra.
For reference, my current overlay:
(See also #369303)
xinyangli commentedon Dec 30, 2024
@jcaesar FYI,
matrix-synapse-unwrappedadd all optional-dependencies to nativeCheckInputs unconditionally, which causepysaml2to be a dependency ofmatrix-synapse. Check out matrix-synapse/default.nixpysaml2 is broken; prevents us from updating synapse; see: NixOS/nixp…
Guanran928 commentedon Sep 10, 2025
Issue seems to be fixed, closing.