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: 2.9.12 -> 2.10.0; ansible_2_7: drop #95683

Merged
merged 2 commits into from Aug 21, 2020
Merged

Conversation

mweinelt
Copy link
Member

Motivation for this change

https://github.com/ansible/ansible/blob/v2.10.0/changelogs/CHANGELOG-v2.10.rst#v2-10-0

Dropping 2.7 as per https://access.redhat.com/support/policy/updates/ansible-engine. I thought we had time until v2.10.0 was released, as the EOL previously was given as:

After the release of Ansible Engine 2.10 (Approx. 8-12 months after GA)

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 CONTRIBUTING.md.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

actions LGTM

However, it appears that ansible_2_10 no longer installs the "ansible" module, and instead just installs "ansible_base". Not sure if this is an upstream bug, but it breaks all of the other ansible packages

https://github.com/NixOS/nixpkgs/pull/95683
7 packages failed to build:
ansible-lint python27Packages.pytest-ansible python37Packages.ansible-kernel python37Packages.ansible-lint python37Packages.pytest-ansible python38Packages.ansible-kernel python38Packages.pytest-ansible

7 packages built:
ansible ansible_2_9 kargo python27Packages.ansible python37Packages.ansible python37Packages.ansible-runner python38Packages.ansible-runner

ansible 2.10 site-packages:

[nix-shell:/home/jon/.cache/nixpkgs-review/pr-95683]$ ls ./results/ansible/lib/python3.8/site-packages/ansible
ansible/                       ansible_base-2.10.0.dist-info/ ansible_test/

@jonringer
Copy link
Contributor

This appears to have been intentional: ansible/ansible@2268a37#diff-2eeaed663bd0d25b7e608891384b7298

I would say, keep the 2.9 version in python-modules and use an overrideAttrs to create the 2_10 version. Until the related ansible packages have updated to using the latest ansible

@mweinelt
Copy link
Member Author

Updated.

Comment on lines 24 to 28
owner = "ansible";
repo = "ansible";
rev = "v${version}";
sha256 = "0c794k0cyl54807sh9in0l942ah6g6wlz5kf3qvy5lhd581zlgyb";
sha256 = "0k9rs5ajx0chaq0xr1cj4x7fr5n8kd4y856miss6k01iv2m7yx42";
};
Copy link
Contributor

Choose a reason for hiding this comment

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

the hash needs to be reverted, still pointing to 2_10

Copy link
Member Author

Choose a reason for hiding this comment

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

Whoops, fixed.

This version went EOL on 2020/06/18.
Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

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

diff LGTM

https://github.com/NixOS/nixpkgs/pull/95683
1 package built:
ansible

@jonringer jonringer merged commit 0d131f8 into NixOS:master Aug 21, 2020
@mweinelt mweinelt deleted the ansible branch August 21, 2020 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants