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

Support Python 3 #2417

Merged
merged 3 commits into from
Oct 18, 2018
Merged

Support Python 3 #2417

merged 3 commits into from
Oct 18, 2018

Conversation

ofek
Copy link
Contributor

@ofek ofek commented Oct 16, 2018

What does this PR do?

Also

  • Adds e2e support

@codecov-io
Copy link

codecov-io commented Oct 16, 2018

Codecov Report

Merging #2417 into master will increase coverage by 5.91%.
The diff coverage is 90.8%.

@@            Coverage Diff             @@
##           master    #2417      +/-   ##
==========================================
+ Coverage   83.91%   89.83%   +5.91%     
==========================================
  Files         580       11     -569     
  Lines       34339      590   -33749     
  Branches     4175       80    -4095     
==========================================
- Hits        28817      530   -28287     
+ Misses       4270       41    -4229     
+ Partials     1252       19    -1233

zippolyte
zippolyte previously approved these changes Oct 18, 2018
Copy link
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

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

LGTM ! 💯

Copy link
Contributor

@masci masci left a comment

Choose a reason for hiding this comment

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

One nit about documenting why we use PUT to ping the server instead of GET

elastic/tests/conftest.py Show resolved Hide resolved
@@ -15,47 +16,47 @@ def test_stats_for_version():

# v0.90.5
metrics = stats_for_version([0, 90, 5])
assert len(metrics) == 127
assert len(metrics) == 124
Copy link
Contributor

Choose a reason for hiding this comment

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

Why has this changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The version detection functions were forever modifying the constants and now we make proper copies,

masci
masci previously approved these changes Oct 18, 2018
@ofek ofek merged commit a773ea7 into master Oct 18, 2018
@ofek ofek deleted the ofek/es branch October 18, 2018 16:29
ofek added a commit that referenced this pull request Oct 19, 2018
* Support Python 3

* add comment

* remove whitespace
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.

None yet

5 participants