-
Notifications
You must be signed in to change notification settings - Fork 677
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-lint failing with a Python TypeError: 'default' is an invalid keyword argument for typevar() #4502
Comments
This is an upstream bug python-jsonschema/referencing#216 |
What version of referencing library do you have? I am asking because our tests run with Have you tried to install and use linter using I am almost sure this was caused by your referencing being |
Hi @ssbarnea , Thank you for taking the time to respond. It appears my initial post is incorrect as I put in the wrong package installed list. The initial post had the installed package list of Alpine 3.21 (which is working correctly) This is the installed packages list from the Alpine 3.22.0_alpha20250108 (edge) image
As you can see |
Closing this because is a downstream packaging issue. |
Summary
Ansible-lint failing with a Python TypeError on Alpine Linux 3.22.0_alpha20250108 (edge) container image.
ansible-lint --version
fails with the same python error.Issue Type
OS / ENVIRONMENT
OS: Alpine Linux
release: 3.22.0_alpha20250108 (edge)
platform: arm64, amd64
ansible
andansible-lint
installed viaapk
command.List of installed packages (edited on 31st of January see comments below)
STEPS TO REPRODUCE
docker run -it alpine:edge /bin/sh -c "apk add --update ansible ansible-lint; ansible-lint --version"
Desired Behavior
Expected output is the result of
ansible-lint --version
example
ansible-lint 24.10.0 using ansible-core:2.18.1 ansible-compat:24.10.0 ruamel-yaml:0.17.28 ruamel-yaml-clib:0.2.8
Actual Behavior
The text was updated successfully, but these errors were encountered: