tag:help.appveyor.com,2012-11-13:/discussions/problems/23659-python-tests-successful-in-jan2019-but-same-code-and-tests-fail-may2019AppVeyor: Discussion 2019-07-22T21:01:28Ztag:help.appveyor.com,2012-11-13:Comment/472744252019-05-18T11:04:00Z2019-05-21T18:20:50ZPython tests successful in Jan/2019 but same code and tests fail May/2019<div><p>For the bump2version repo (<a href="https://github.com/c4urself/bump2version">https://github.com/c4urself/bump2version</a>) the current latest commit (from Jan 10, 2019) had AppVeyor test successful, see <a href="https://ci.appveyor.com/project/c4urself/bump2version/builds/21509959">https://ci.appveyor.com/project/c4urself/bump2version/builds/21509959</a> . I made a fork of this repo (<a href="https://github.com/mauvilsa/bump2version">https://github.com/mauvilsa/bump2version</a>) but now the AppVeyor tests fail even for the exact same commit that was previously successful, see <a href="https://ci.appveyor.com/project/mauvilsa/bump2version/builds/24627479">https://ci.appveyor.com/project/mauvilsa/bump2version/builds/24627479</a> .</p>
<p>The tests fail for all python versions except python 3.7. For some reason it fails importing the module being tested "ImportError: No module named 'bumpversion'". What could be the problem?</p></div>mauricio_villetag:help.appveyor.com,2012-11-13:Comment/472744252019-05-20T17:18:44Z2019-05-20T17:18:44ZPython tests successful in Jan/2019 but same code and tests fail May/2019<div><p>Do you know for certain that the former version you linked to does not have some environment variables set in the UI for their project?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/472744252019-05-21T18:32:29Z2019-05-21T18:32:32ZPython tests successful in Jan/2019 but same code and tests fail May/2019<div><p>Hi Owen. I don't know if in the UI of their project they have set environment variables. But shouldn't this be easy to see from the appveyor.yml file? I am new to AppVeyor so I can't be sure, but to me it seems this is not related to an environment variable (see <a href="https://github.com/c4urself/bump2version/blob/master/appveyor.yml">https://github.com/c4urself/bump2version/blob/master/appveyor.yml</a>).</p></div>mauricio_villetag:help.appveyor.com,2012-11-13:Comment/472744252019-05-21T22:33:39Z2019-05-21T22:33:39ZPython tests successful in Jan/2019 but same code and tests fail May/2019<div><p>No, if they set variables in the UI they are merged with those in the appveyor.yml file.<br>
Anyway, another likely difference here is that there have been a couple <a href="https://www.appveyor.com/updates/">platform updates</a> in the time between those builds, with python 3 being updated twice.</p>
<p>Are you able to ask the owner of that project to hit <code>RE-BUILD COMMIT</code> button on that build?</p></div>Owen McDonnell