Skip to content

glusterfs: detect correct Python version by using local m4 files - #325229

Merged
7c6f434c merged 1 commit into
NixOS:masterfrom
mjoerg:glusterfs-fix-python-detection
Jul 7, 2024
Merged

7c6f434c merged 1 commit into
NixOS:masterfrom
mjoerg:glusterfs-fix-python-detection

Conversation

@mjoerg

@mjoerg mjoerg commented Jul 7, 2024

Copy link
Copy Markdown
Contributor

Description of changes

This makes sure the correct Python version is detected by using the local m4 files.
The distributed m4 files were added in
gluster/glusterfs@ff043af
to make sure the Python version is detected correctly,
but now fail to identify versions > 3.9 correctly (https://bugs.gnu.org/44239).

fix #325079

Result of nixpkgs-review run (with #325059) on x86_64-linux 1

16 packages built:
  • ceph
  • ceph-client
  • ceph-csi
  • ceph.dev
  • ceph.doc
  • libceph (ceph.lib ,libceph.dev ,libceph.doc ,libceph.lib ,libceph.man)
  • ceph.man
  • glusterfs
  • qemu_full
  • qemu_full.debug
  • qemu_full.ga
  • quickemu
  • quickgui
  • samba4Full
  • samba4Full.dev
  • samba4Full.man

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

This makes sure the correct Python version is detected by using the local m4 files.
The distributed m4 files were added in
gluster/glusterfs@ff043af
to make sure the Python version is detected correctly,
but now fail to identify versions > 3.9 correctly (https://bugs.gnu.org/44239).

fix NixOS#325079
@ofborg
ofborg Bot requested a review from 7c6f434c July 7, 2024 11:05
@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Jul 7, 2024
@7c6f434c
7c6f434c merged commit c1b95b6 into NixOS:master Jul 7, 2024
@7c6f434c

7c6f434c commented Jul 7, 2024

Copy link
Copy Markdown
Member

Thanks!

1 similar comment
@superherointj

Copy link
Copy Markdown
Contributor

Thanks!

@superherointj superherointj mentioned this pull request Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: glusterfs

3 participants