Build ceph with Python 3.12; move to pkgs/by-name#443671
Build ceph with Python 3.12; move to pkgs/by-name#443671djds wants to merge 1 commit intoNixOS:masterfrom
Conversation
Also patch s3select for arrow-cpp 20. See: NixOS#426609
62ac27f to
3df23a8
Compare
|
|
@ccicnce113424 I have a feeling that this won't be accepted as is because of the inclusion of the |
|
hello? how about reacting in any way dear five! reviewers? |
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-djds-ceph.url = "github:djds/nixpkgs/pkgs/by-name/ce/ceph";
};
outputs =
{
nixpkgs,
...
}@inputs:
let
system = "x86_64-linux";
pks = import nixpkgs {
inherit system;
overlays = [
({
inputs,
system,
...
}:
# https://github.com/NixOS/nixpkgs/issues/442652
_final: _prev: {
inherit (inputs.nixpkgs-djds-ceph.legacyPackages.${system})
ceph
ceph-client
;
})
];
};
in
{
...
};
} |
|
I don't think I'll get around to taking a closer look at this one soon, however it would be great if you could split the "move to pkgs/by-name" off into a separate commit. Edit: please note also the nixpkgs commit conventions for pkgs |
|
Yeah, I'm also a volunteer. It's easier for me to carry this overlay than go back and redo commits because it would fit the GitHub workflow better or because I ignored the commit convention. Originally I opened this as a draft, but after 2 weeks, no one even attempted to fix the ceph build, which is a pretty important package for NixOS to be considered a serious system. I'm not saying I won't go back and redo this PR, but I also don't think I'll get around to taking a closer look anytime soon. Feel free to use this work as you see fit. It's open source, after all. |
|
@djds I don't quite understand if/how it addresses the PyO3 issue (#380823). Doesn't that need ceph/ceph#62951 which is not in an upstream Ceph release? |
Yeah I think I'm just wrong about this. |
Note this is not about any workflow imposed by Github; it is that it makes human review harder when one cannot easily discern refactorings (which can be trivially be provent to be absent of bugs by checking that the nix eval produces the same
That's not a blocker at all (anybody can easily fix that), but you just won't get the nice automated ofborg CI (the packages it attempts to build are determined by the text in the commit message, thus the convention).
A code drop of something that is working is of course already very useful, thank you for that! But somebody will have to pick the commits apart to merge it (you, one of us, or anybody else). |
|
Cross‐linking #451118. (That one is presumably much easier to land.) |
|
can we expect this in 25.11? |
|
With PR merged, the diff is smaller: |
|
Side note: Ceph 20 will have Python 3.13 support: |
| # See: | ||
| # * <https://github.com/boostorg/python/issues/394> | ||
| # * <https://aur.archlinux.org/cgit/aur.git/commit/?h=ceph&id=8c5cc7d8deec002f7596b6d0860859a0a718f12b> | ||
| # * <https://github.com/ceph/ceph/pull/60999> |
There was a problem hiding this comment.
Comments like the above should not be removed.
Spotting such removals is another good point why refactorings to e.g. by-name should be split from feature updates.
Also patch s3select for arrow-cpp 20. See: NixOS#426609 Also: * Build with current `fmt` Split (from the original larger contribution NixOS#443671 ) done by: Niklas Hambüchen <[email protected]>
(Hopefully I got exactly the difference right after the PRs merged meanwhile: #440224 and #440226) @djds please have a review whether that new PR still looks right to you. Once that is done, we can close this PR here as well. |
Also patch s3select for arrow-cpp 20. See: NixOS#426609 Also: * Build with current `fmt` Split (from the original larger contribution NixOS#443671 ) done by: Niklas Hambüchen <[email protected]>
Also patch s3select for arrow-cpp 20. See: NixOS#426609 Also: * Build with current `fmt` Split (from the original larger contribution NixOS#443671 ) done by: Niklas Hambüchen <[email protected]>
Fixes #442652
Also patch s3select for arrow-cpp 20.
See: #426609