Skip to content

Commit

Permalink
Check if selinux works for py 3.11 (#1819)
Browse files Browse the repository at this point in the history
Set selinux_package to selinux-please-lie-to-me for py 3.11

Reviewed-by: Mike Graves <mgraves@redhat.com>
  • Loading branch information
GomathiselviS authored Aug 16, 2023
1 parent 0aa6ea4 commit a5723b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/ansible-test-base/pre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
_selinux_package: selinux-please-lie-to-me
when:
- ansible_distribution == 'Fedora'
- ansible_test_python is version('3.10', '<=')
- ansible_test_python is version('3.11', '<=')

- name: Install selinux into virtualenv
shell: '~/venv/bin/pip install {{ _selinux_package }} "setuptools<50.0.0"'
Expand Down

0 comments on commit a5723b8

Please sign in to comment.