Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-compat: fix build by patching tests #368789

Closed
wants to merge 1 commit into from

Conversation

ofalvai
Copy link
Contributor

@ofalvai ofalvai commented Dec 28, 2024

Ref: ansible/ansible-compat#420
Hydra: https://hydra.nixos.org/build/283196918/log

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

# Patch incompatibility between tests and ansible-core
# TODO: remove when new release is out
(fetchpatch2 {
url = "https://github.com/ansible/ansible-compat/commit/39729217f41282884414c4b19f3c5156383fedc5.patch";
Copy link
Contributor

@paparodeo paparodeo Dec 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think with fetchatch2 you need to add ?full_index=1 to the end of the url. #266556 (comment) or this one #257446

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops, thank you. Fixed.

@ofborg ofborg bot requested a review from dawidd6 December 28, 2024 13:53
@ofalvai
Copy link
Contributor Author

ofalvai commented Dec 30, 2024

@ofborg eval

@dawidd6
Copy link
Contributor

dawidd6 commented Dec 30, 2024

@ofborg build python3Packages.ansible-compat

@ofborg ofborg bot requested a review from dawidd6 December 31, 2024 03:16
@wegank wegank added 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package labels Dec 31, 2024
@dawidd6
Copy link
Contributor

dawidd6 commented Dec 31, 2024

Is this PR still relevant after #369664?

@ofalvai
Copy link
Contributor Author

ofalvai commented Dec 31, 2024

ansible-compat builds for me on master, thank you for the ping. Let me close this PR.

@ofalvai ofalvai closed this Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: python 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 12.approvals: 1 This PR was reviewed and approved by one reputable person 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants