Skip to content

Conversation

@billsacks
Copy link
Member

@billsacks billsacks commented Mar 2, 2020

Motivated by #135

User interface changes?: No

Fixes: None

Testing: Just travis-ci
test removed: none
unit tests:
system tests:
manual testing:

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 88.106% when pulling 3065b0d on billsacks:add_python38_tests into 34fbf55 on ESMCI:master.

@coveralls
Copy link

coveralls commented Mar 2, 2020

Coverage Status

Coverage increased (+0.3%) to 88.776% when pulling 7f41c56 on billsacks:add_python38_tests into 34fbf55 on ESMCI:master.

Travis-ci tests with python3 were failing with:

************* Module manic.repository_svn
R1724:221,12: Unnecessary "else" after "continue" (no-else-continue)

This should fix the problem.

(I'm not sure why this started failing now: this is old code. Maybe
pylint recently was updated to add this check?)
@billsacks billsacks changed the title Add travis-ci tests with python3.7 and python3.8 Add travis-ci tests with python3.7 and python3.8, and fix python3 pylint error Mar 2, 2020
@billsacks
Copy link
Member Author

I'm actually going to close this PR and open a separate one that fixes #135 . My point in opening this PR was to add python3.8 tests, but actually I can do that and fix them all at once. For the record, though, note that 3.8 tests do indeed fail in this baseline: https://travis-ci.org/ESMCI/manage_externals/builds/657489403?utm_source=github_status&utm_medium=notification

For some reason the travis-ci MacOS tests are also failing now. We might want to just remove them: note that the way we're doing MacOS tests with travis-ci is a bit wonky.

@billsacks billsacks closed this Mar 2, 2020
This is failing. It's using python2, which is no longer supported
(though I don't know if that's why it's failing). I don't see the point
in trying to update it to use python3, since I feel we have sufficient
coverage with our linux testing, so for now I'm just removing it.
Trying to update the dictionary in-place in the loop leads to an error
in python 3.8 ("dictionary keys changed during iteration"). Instead,
create a copy of the dictionary, modified as needed.

Resolves ESMCI#135
@billsacks billsacks reopened this Mar 2, 2020
@billsacks billsacks closed this Mar 2, 2020
@billsacks billsacks deleted the add_python38_tests branch March 3, 2020 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants