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?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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