tag:help.appveyor.com,2012-11-13:/discussions/problems/24708-pipenv-fails-when-pipfilelock-is-updatedAppVeyor: Discussion 2019-08-09T22:16:11Ztag:help.appveyor.com,2012-11-13:Comment/475121492019-08-08T21:20:01Z2019-08-08T21:20:02Zpipenv fails when pipfile.lock is updated<div><p>combing hard through these logs, Powershell seems to fail <em>because</em> the pipfile.lock is updated? pretty lost here.</p>
<pre>
<code>...
Installing collected packages: toml, attrs, click, appdirs, black
Successfully installed appdirs-1.4.3 attrs-19.1.0 black-19.3b0 click-7.0 toml-0.10.0
Command executed with exception: Updated Pipfile.lock (780220)!</code>
</pre>
<p>full build<br>
<a href="https://ci.appveyor.com/project/ukanga/pyxform/builds/26571963/job/1rq3n5vwtn1nrcp6">https://ci.appveyor.com/project/ukanga/pyxform/builds/26571963/job/...</a></p>
<p>attempt at config<br>
<a href="https://github.com/KeynesYouDigIt/pyxform/blob/pipenv/appveyor.yml">https://github.com/KeynesYouDigIt/pyxform/blob/pipenv/appveyor.yml</a></p></div>Vincent Buscarellotag:help.appveyor.com,2012-11-13:Comment/475121492019-08-08T22:06:57Z2019-08-08T22:07:01Zpipenv fails when pipfile.lock is updated<div><p>Heres the work around :/<br>
<a href="https://ci.appveyor.com/project/ukanga/pyxform/builds/26572919">https://ci.appveyor.com/project/ukanga/pyxform/builds/26572919</a></p>
<p>most specifically<br></p>
<pre>
<code> - ps: python -Wignore -m pip install pipenv
- ps: rm Pipfile.lock
- ps: $PIPENV_QUIET="true"
- pipenv run conditional_install</code>
</pre></div>Vincent Buscarellotag:help.appveyor.com,2012-11-13:Comment/475121492019-08-09T00:26:54Z2019-08-09T00:26:54Zpipenv fails when pipfile.lock is updated<div><p>Is there a difference when you run these commands on your local machine?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/475121492019-08-09T15:35:48Z2019-08-09T15:35:49Zpipenv fails when pipfile.lock is updated<div><p>Yes, im on linux but I installed powershell to check and powershell runs everything without error when running - pipenv run conditional_install by itself</p></div>Vincent Buscarellotag:help.appveyor.com,2012-11-13:Comment/475121492019-08-09T15:37:27Z2019-08-09T15:37:28Zpipenv fails when pipfile.lock is updated<div><p>Since its squashed heres the original that would fail for reference</p>
<pre>
<code> - ps: python -Wignore -m pip install pipenv
- ps: pipenv run conditional_install</code>
</pre></div>Vincent Buscarellotag:help.appveyor.com,2012-11-13:Comment/475121492019-08-09T16:08:40Z2019-08-09T16:08:40Zpipenv fails when pipfile.lock is updated<div><p>From a brief look at a <a href="https://github.com/pypa/pipenv/issues/2358">couple</a> <a href="https://github.com/pypa/pipenv/issues/1920">issues</a>, it looks like pipenv prints a number of things to stderr. So perhaps the <code>PIPENV_QUIET</code> variable is less a workaround and more best practice?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/475121492019-08-09T17:00:33Z2019-08-09T17:00:35Zpipenv fails when pipfile.lock is updated<div><p>Be helpful to have that in the python docs if possible</p></div>Vincent Buscarellotag:help.appveyor.com,2012-11-13:Comment/475121492019-08-09T17:12:57Z2019-08-09T17:12:57Zpipenv fails when pipfile.lock is updated<div><p><a href="https://github.com/appveyor/website">Our docs</a> are open source so feel free to make a pull request.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/475121492019-08-09T17:43:10Z2019-08-09T17:43:11Zpipenv fails when pipfile.lock is updated<div><p><a href="https://github.com/appveyor/website/pull/646/files">https://github.com/appveyor/website/pull/646/files</a> its up!</p></div>Vincent Buscarellotag:help.appveyor.com,2012-11-13:Comment/475121492019-08-09T22:16:09Z2019-08-09T22:16:09Zpipenv fails when pipfile.lock is updated<div><p>Thank you!</p></div>Owen McDonnell