curl: patch certificate CN verification#167993
Conversation
|
LGTM, didn't test though. This fixes pycurl? |
gador
left a comment
There was a problem hiding this comment.
Not possible. Curl needs to be build for fetchpatch. This will cause an infinite recusion.
There is a comment about that above the patch line.
This is correct as it is.
|
I can test later, but this LGTM. |
|
|
Please target staging or staging-next if this is broken in the current cycle otherwise hydra will be busy for a while because of stdenv rebuild. |
SuperSandro2000
left a comment
There was a problem hiding this comment.
other than that LGTM. Give me a ping when you have retargeted and I'll merge it.
I'm kinda new to NixOS release process, so I have no idea how to choose between staging and staging-next. |
|
I read a little bit about |
das-g
left a comment
There was a problem hiding this comment.
LGTM.
I've tested nix build 'github:NixOS/nixpkgs/pull/167993/head#python3Packages.pycurl'.
Couldn't completely test
cd my/clone/of/nixpkgs
git switch nixos-unstable
git pull --ff-only
git cherry-pick 0fad2b34c4e1454ce83ec1486725771273c7c0dc
sudo nixos-rebuild --upgrade boot -I 'nixpkgs=.'yet, as it would (as expected) re-build everything and the kitchen sink locally.
Perfect. Targeting I tested the fix with @SuperSandro2000 I think it can be merged |
|
I tested that |
|
Should the pycurl tests disabled in #166335 now be re-enabled? |
|
Yes, done. Somehow we managed to order this the wrong way. The temporary disablement would still make sense on master, as it only rebuilds a package that fails anyway without the fix (+ transitive failures and rebuilds). So if someone wants to pursue that, but either way I'd hope that this gets to master fast as well (in 2-3 days). |
|
Well, according to the PR tags, #166335 also causes > 1000 rebuilds, so it wouldn't be eligible to go directly to master, would it? Or would that be acceptable as a to-be-reverted workaround until we wait for the fix-proper here (with > 5000 rebuilds) to hit that branch? |
|
The diff quite clearly affects only the pycurl package or anything that depends on it. And on Hydra that package fails. So if I didn't overlook anything, it should only rebuild those (transitive) failures. |
Here we go: #168154 |
Description of changes
From curl/curl@911714d
Fixes #167971
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes