python3Packages.aiohttp: remove trustme test dependency#173809
Merged
dotlambda merged 1 commit intoNixOS:masterfrom May 25, 2022
Merged
python3Packages.aiohttp: remove trustme test dependency#173809dotlambda merged 1 commit intoNixOS:masterfrom
dotlambda merged 1 commit intoNixOS:masterfrom
Conversation
13 tasks
dotlambda
reviewed
May 20, 2022
ELD
added a commit
to ELD/nix-system
that referenced
this pull request
May 21, 2022
`pyopenssl` is broken on Apple Silicon and [this PR marks it as broken](NixOS/nixpkgs#172397) (which I think is a little overzealous). [This other pending PR fixes the issue](NixOS/nixpkgs#173809) by making `trustme` an optional dependency for `aiohttp`. While the PR is pending, I've added an overlay to accomplish the same thing — and mark `pyopenssl` as _not_ broken, for now. Additionally, Neovim broke in recent versions of home-manager, for some reason. There's a workaround available [here](nix-community/home-manager#2966 (comment)) and the home-manager maintainers worked quickly to merge a fix in. This unblocks updating all flake dependencies and gets the system config back into working order.
ELD
added a commit
to ELD/nix-system
that referenced
this pull request
May 21, 2022
* flake.lock: Update
Flake lock file updates:
• Updated input 'darwin':
'github:kclejeune/nix-darwin/fff582f3244f31e7455d0c5d93f2e3aa7554da90' (2022-04-20)
→ 'github:kclejeune/nix-darwin/c9c32574428a3182dcb2bd24ef6c73c974c368ae' (2022-05-20)
• Updated input 'devshell':
'github:numtide/devshell/d97df53b5ddaa1cfbea7cddbd207eb2634304733' (2022-04-25)
→ 'github:numtide/devshell/a5327cd01e58d2848c73062f2661278ad615748f' (2022-05-19)
• Updated input 'flake-utils':
'github:numtide/flake-utils/a4b154ebbdc88c8498a5c7b01589addc9e9cb678' (2022-04-11)
→ 'github:numtide/flake-utils/04c1b180862888302ddfb2e3ad9eaa63afc60cf8' (2022-05-17)
• Updated input 'home-manager':
'github:nix-community/home-manager/778af87a981eb2bfa3566dff8c3fb510856329ef' (2022-04-26)
→ 'github:nix-community/home-manager/02b15de8ad714409358cffdc6ed518ade03402c4' (2022-05-19)
• Updated input 'nixos-hardware':
'github:nixos/nixos-hardware/6b4ebea9093c997c5f275c820e679108de4871ab' (2022-04-21)
→ 'github:nixos/nixos-hardware/be2b338c6a05b9e46a811119e3c5bca98a118467' (2022-05-20)
• Updated input 'nixos-unstable':
'github:nixos/nixpkgs/e10da1c7f542515b609f8dfbcf788f3d85b14936' (2022-04-26)
→ 'github:nixos/nixpkgs/48037fd90426e44e4bf03e6479e88a11453b9b66' (2022-05-18)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/d146577610c17d7674a2d3e285fc637c520ad344' (2022-04-27)
→ 'github:nixos/nixpkgs/52dc75a4fee3fdbcb792cb6fba009876b912bfe0' (2022-05-18)
• Updated input 'stable':
'github:nixos/nixpkgs/a3917caedfead19f853aa5769de4c3ea4e4db584' (2022-04-26)
→ 'github:nixos/nixpkgs/685d243d971c4f9655c981036b9c7bafdb728a0d' (2022-05-19)
* Patch python and neovim deps
`pyopenssl` is broken on Apple Silicon and [this PR marks it as
broken](NixOS/nixpkgs#172397) (which I think is
a little overzealous).
[This other pending PR fixes the issue](NixOS/nixpkgs#173809)
by making `trustme` an optional dependency for `aiohttp`. While the PR
is pending, I've added an overlay to accomplish the same thing — and
mark `pyopenssl` as _not_ broken, for now.
Additionally, Neovim broke in recent versions of home-manager, for some
reason. There's a workaround available [here](nix-community/home-manager#2966 (comment))
and the home-manager maintainers worked quickly to merge a fix in.
This unblocks updating all flake dependencies and gets the system config
back into working order.
Co-authored-by: flakebot <flakebot@users.noreply.github.com>
Member
|
Please squash the commits and use an appropriate commit message. |
dotlambda
reviewed
May 23, 2022
Member
There was a problem hiding this comment.
Would
Suggested change
| ] ++ lib.optionals (!(stdenv.isDarwin && stdenv.isAarch64)) [ | |
| ] ++ lib.optionals (!pyopenssl.meta.broken) [ |
work?
Contributor
Author
There was a problem hiding this comment.
No, this is enough use of pyopenssl that nix refuses to evaluate the package.
This is an optional test dependency dependency is no longer needed, and makes the package unbuildable on aarch64-darwin, as it transitively depends on pyopenssl, which is marked broken.
Contributor
Author
|
Sorry for the delay, rebased and squashed. |
31fed0c to
e724ef2
Compare
dotlambda
requested changes
May 25, 2022
Member
dotlambda
left a comment
There was a problem hiding this comment.
Commit message should mention Darwin.
Member
Never mind, it does. |
Member
|
@kwohlfahrt Can you backport df1f9ec to release-22.05? |
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This dependency is no longer needed, and makes the package unbuildable
on aarch64-darwin, as it transitively depends on pyopenssl, which is
marked broken on this platform (see #172397).
This should fix a number of common Python packages on aarch64-darwin
(e.g.
ansible).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