-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fail to install 2.0.0 in Dockerfile based on alpine:latest #2291
Comments
astroid has a new dependency Possible workarounds:
Might be a good issue for typed-ast Also see pypa/pip#3969 |
Here's an alpine Dockerfile which works around this issue by telling pip that the
|
For the record in case anyone else ends up here, to get it working I added:
to my Dockerfile and now pylint 2.0.0 installs successfully. |
Problem seems to be returned in 2.4.4 pylint version with python 3.7. update1 update2 (after 8 hours)
|
You can use @pzelnip solution and keep it lightweight by doing this :
A virtual package is created containing build stuff, and it is removed as soon as pip install finished. |
Hello, Does this still work while using a virtual environment for your application.? |
When installing 2.0.0 in a Docker image based on
alpine:latest
it fails to build.Steps to reproduce
docker build -t pylinttest:latest .
Current behavior
With 2.0.0 it fails, but with 1.9.2 the same build steps complete successfully
Expected behavior
That the pip install should complete successfully.
pylint --version output
Trying to install 2.0.0, but failing. 1.9.2 completes successfully.
The text was updated successfully, but these errors were encountered: