Python tests successful in Jan/2019 but same code and tests fail May/2019

mauricio_ville's Avatar

mauricio_ville

18 May, 2019 11:04 AM

For the bump2version repo (https://github.com/c4urself/bump2version) the current latest commit (from Jan 10, 2019) had AppVeyor test successful, see https://ci.appveyor.com/project/c4urself/bump2version/builds/21509959 . I made a fork of this repo (https://github.com/mauvilsa/bump2version) but now the AppVeyor tests fail even for the exact same commit that was previously successful, see https://ci.appveyor.com/project/mauvilsa/bump2version/builds/24627479 .

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?

  1. Support Staff 1 Posted by Owen McDonnell on 20 May, 2019 05:18 PM

    Owen McDonnell's Avatar

    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?

  2. 2 Posted by mauricio_ville on 21 May, 2019 06:32 PM

    mauricio_ville's Avatar

    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 https://github.com/c4urself/bump2version/blob/master/appveyor.yml).

  3. Support Staff 3 Posted by Owen McDonnell on 21 May, 2019 10:33 PM

    Owen McDonnell's Avatar

    No, if they set variables in the UI they are merged with those in the appveyor.yml file.
    Anyway, another likely difference here is that there have been a couple platform updates in the time between those builds, with python 3 being updated twice.

    Are you able to ask the owner of that project to hit RE-BUILD COMMIT button on that build?

  4. Ilya Finkelshteyn closed this discussion on 22 Jul, 2019 09:01 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Aug, 2019 05:44 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM