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

python3Packages.ansible: split into ansible and ansible-base, update to 2.10.x #100147

wants to merge 4 commits into
base: master


Copy link

@mweinelt mweinelt commented Oct 10, 2020

Motivation for this change

This is a mess.

In v2.10 the ansible package was split into collections (ansible) and engine (ansible-base).

The ansible package requires ansible-base.
The ansible-base package holds the executables.

This means I cannot introduce ansible (the collections) as a propagatedBuildInput into ansible-base (the engine), because it would create an inifinite loop. Installing the ansible package, instead of ansible-base would prevent the executables from the ansible-base package from landing in the PATH.

The ansible packagers clearly assume a global python path, where these things just work. Looking for good ideas on how to continue.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits
mweinelt added 4 commits Oct 10, 2020
Since 2.10 this package holds the collections. The engine has moved to
the ansible-base package.
@mweinelt mweinelt changed the title python3Packagesansible: split into ansible and ansible-base, update to 2.10.x python3Packages.ansible: split into ansible and ansible-base, update to 2.10.x Oct 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.