question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Version 2018.11.26 install in docker-compose build process fails the first try, then succeeds

See original GitHub issue

Issue description

Our Dockerfile has the following line:

    pip \
    setuptools \
    wheel \
    pipenv

And this:

    then set -ex && pipenv install --dev --system ; \
    else set -ex && pipenv install --deploy --system --ignore-pipfile ; \
    fi

Up through pipenv version 2018.11.14, there was no issue. However, in the latest version (2018.11.26), all (or perhaps most) of the libraries specified in the Pipfile fail to install the first time and then are installed successfully at the end.

Expected result

I expect the libraries to install correctly the first time as they do with pipenv versions less than 2018.11.26.

Actual result

An error occurred while installing pytest-factoryboy==2.0.1 --hash=sha256:ad438d191d2b2a0f26956d437c1963875db573147a84ffd85d7bbeaefae22458! Will try again.
An error occurred while installing pytest-socket==0.3.1 --hash=sha256:bb0857c4a459b7ed4586c51b48ad99920ca82f3314c95ed6de84847c2a8b6eef! Will try again.
An error occurred while installing pytz==2017.2 --hash=sha256:d1d6729c85acea5423671382868627129432fba9a89ecbb248d8d1c7a9f01c67 --hash=sha256:f5c056e8f62d45ba8215e5cb8f50dfccb198b4b9fbea8500674f3443e4689589 --hash=sha256:d1d6729c85acea5423671382868627129432fba9a89ecbb248d8d1c7a9f01c67 --hash=sha256:f5c056e8f62d45ba8215e5cb8f50dfccb198b4b9fbea8500674f3443e4689589! Will try again.
...
[many other dependency installation errors skipped]
...
Installing initially failed dependencies…

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
techalchemycommented, Mar 17, 2019

Using the above pipfile and dockerfile and a wheel built from the master branch, this is now working without any issue for me. Thanks for the reproducible test case

0reactions
techalchemycommented, Mar 10, 2019

Reopening until I can re-test

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does building and image with docker compose fail but ...
Your Compose build options and the docker build options you show are different. The successful command is (where -f Dockerfile is the ...
Read more >
Docker Compose release notes
This release introduced a breaking change via compose-go v1.3.0 and this PR. In this release, Docker Compose recreates new resources (networks, volumes, ...
Read more >
Docker build fails while Visual Studio 2022 is open, succeeds ...
The error only reproduces while Visual Studio 2022 is open. Closing Visual Studio and re-running the docker compose build command causes the build...
Read more >
flink parquet sink - La Calabrisella 2
Parquet formats # Flink has extensive built-in support for Apache Parquet. ... 2 Try Flink 本地模式安装基于DataStream API 实现欺诈检测基于Table API 实现实时 ...
Read more >
How To Install and Use Docker Compose on Ubuntu 20.04
Docker simplifies the process of managing application processes in containers. While containers are similar to virtual machines in certain ways, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found