Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Python 3.7 for tests #3243

Merged
merged 15 commits into from
Mar 4, 2019
Merged

Upgrade to Python 3.7 for tests #3243

merged 15 commits into from
Mar 4, 2019

Conversation

ofek
Copy link
Contributor

@ofek ofek commented Mar 3, 2019

Motivation

🐍 3️⃣

Notes

  • Python 3.7 required an upgrade of our Travis & AppVeyor images
  • Xenial on Travis exposed some test setups with insufficient retry mechanisms. I've simply increased some of the timeouts until we discover what the proper things to check for "up" status are
  • Running flake8 on 3.7 exposed some things that were not caught on 2.x, for some reason. I fixed those too

Notes

Certificate handling in the http_check does not work on 3.7 so that still uses 3.6. We'll fix that in a subsequent pr

@codecov
Copy link

codecov bot commented Mar 3, 2019

Codecov Report

Merging #3243 into master will decrease coverage by 0.54%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #3243      +/-   ##
=========================================
- Coverage   85.24%   84.7%   -0.55%     
=========================================
  Files         684     694      +10     
  Lines       36272   37035     +763     
  Branches     4153    4262     +109     
=========================================
+ Hits        30920   31370     +450     
- Misses       4164    4393     +229     
- Partials     1188    1272      +84

@codecov
Copy link

codecov bot commented Mar 3, 2019

Codecov Report

Merging #3243 into master will increase coverage by 0.11%.
The diff coverage is 74.19%.

@@            Coverage Diff             @@
##           master    #3243      +/-   ##
==========================================
+ Coverage   85.24%   85.35%   +0.11%     
==========================================
  Files         684      684              
  Lines       36272    36279       +7     
  Branches     4153     4318     +165     
==========================================
+ Hits        30920    30967      +47     
+ Misses       4164     4121      -43     
- Partials     1188     1191       +3

@ofek ofek force-pushed the ofek/37 branch 2 times, most recently from 52ca1f2 to 7fc7bf6 Compare March 4, 2019 00:59
@ofek ofek changed the title Default to Python 3.7 for tests Upgrade to Python 3.7 for tests Mar 4, 2019
@@ -1,15 +1,13 @@
[tox]
minversion = 2.0
basepython = py36
basepython = py27
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be py37?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only Agent 5 so py2

Copy link
Collaborator

@nmuesch nmuesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ofek ofek merged commit 0cfc42c into master Mar 4, 2019
@ofek ofek deleted the ofek/37 branch March 4, 2019 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants