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

ValueError: unknown action "extend" #412

Closed
lucab85 opened this issue Aug 25, 2022 · 1 comment
Closed

ValueError: unknown action "extend" #412

lucab85 opened this issue Aug 25, 2022 · 1 comment

Comments

@lucab85
Copy link

lucab85 commented Aug 25, 2022

I receive the ValueError: unknown action "extend" every time I try to run ansible-builder
I installed the package from PIP ansible-builder (1.1.0)

Python 3.6.8 (default, Sep  9 2021, 07:49:02) 
[GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> import sys
>>> 
>>> from ansible_builder.cli import run
>>> run()
ValueError: unknown action "extend"
>>> 
  • O/S: Red Hat Enterprise Linux release 8.5 (Ootpa)
  • requirements.txt
ansible-builder==1.1.0
bindep==2.11.0
chardet==3.0.4
configobj==5.0.6
dbus-python==1.2.4
decorator==4.2.1
distro==1.7.0
ethtool==0.14
gpg==1.13.1
idna==2.5
iniparse==0.4
isc==2.0
jmespath==0.9.0
libcomps==0.1.16
nftables==0.1
packaging==21.3
Parsley==1.3
pbr==5.10.0
perf==0.1
ply==3.9
psycopg2==2.7.5
pycdlib==1.13.0
pygobject==3.28.3
pyinotify==0.9.6
pyparsing==3.0.9
PySocks==1.6.8
python-dateutil==2.6.1
python-dmidecode==3.12.2
python-linux-procfs==0.6.3
pyudev==0.21.0
PyYAML==6.0
requests==2.20.0
requests-futures==1.0.0
requirements-parser==0.5.0
rpm==4.14.3
selinux==2.9
six==1.11.0
slip==0.6.4
slip.dbus==0.6.4
subscription-manager==1.28.21
syspurpose==1.28.21
types-setuptools==65.1.0
urllib3==1.24.2
@github-actions github-actions bot added the needs_triage New item that needs to be triaged label Aug 25, 2022
@Shrews
Copy link
Contributor

Shrews commented Aug 25, 2022

ansible-builder version 1.1.0 requires Python version 3.8 or higher (you are using python 3.6.8). See https://ansible-builder.readthedocs.io/en/latest/installation/#requirements. That error is coming from the Python argparse library which introduced the extend action in Python 3.8.

@Shrews Shrews closed this as completed Aug 25, 2022
@Shrews Shrews removed the needs_triage New item that needs to be triaged label Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants