Skip to content

DOC: change doc build to python 3.6 #16545

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

Merged

Conversation

jorisvandenbossche
Copy link
Member

see #16432

@jreback jreback added the Docs label May 31, 2017
@codecov
Copy link

codecov bot commented May 31, 2017

Codecov Report

Merging #16545 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #16545   +/-   ##
=======================================
  Coverage   90.75%   90.75%           
=======================================
  Files         161      161           
  Lines       51071    51071           
=======================================
  Hits        46348    46348           
  Misses       4723     4723
Flag Coverage Δ
#multiple 88.59% <ø> (ø) ⬆️
#single 40.11% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d4f80b0...11abbd7. Read the comment docs.

@codecov
Copy link

codecov bot commented May 31, 2017

Codecov Report

Merging #16545 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #16545      +/-   ##
==========================================
+ Coverage   90.75%   90.75%   +<.01%     
==========================================
  Files         161      161              
  Lines       51071    51072       +1     
==========================================
+ Hits        46348    46349       +1     
  Misses       4723     4723
Flag Coverage Δ
#multiple 88.59% <ø> (ø) ⬆️
#single 40.11% <ø> (-0.01%) ⬇️
Impacted Files Coverage Δ
pandas/io/parsers.py 95.66% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d4f80b0...655d22d. Read the comment docs.

@jorisvandenbossche jorisvandenbossche added this to the 0.21.0 milestone May 31, 2017
@jorisvandenbossche
Copy link
Member Author

With these changes, the doctests now pass.
But, there seems to be a problem with the clipboard ones by going from PyQt4 to 5 (only 4 is used for clipboard I think). So best to install another package for clipboard? @jreback of all the different possibilities of packages to install for clipboard functionality, a preference to install on travis for the docs?

@jorisvandenbossche
Copy link
Member Author

Added xsel in the latest commit

@jreback
Copy link
Contributor

jreback commented Jun 1, 2017

@jorisvandenbossche lgtm.

Copy link
Contributor

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

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

The failure here was fixed by #16575

Merge if / when you're ready @jorisvandenbossche

@TomAugspurger
Copy link
Contributor

I should have also brought this up in the other issue, are we OK with expanding our doctests? I think we should, as they make for better examples, and would have caught a couple things last time around. But they do feel a bit fragile (stuff like dtypes, ordering can break them).

@jorisvandenbossche
Copy link
Member Author

I am OK with that, and it's what I have been working (very slowly) towards (eg adding the imports in the conftest file to be able to run them, and on the docathon I let a few people corrects examples based on running the doctests).

As long we don't see it as tests like the actual unit tests, but as testing that the example is correct, I think they are very useful.

@jorisvandenbossche
Copy link
Member Author

Yes, this is ready

@jorisvandenbossche jorisvandenbossche merged commit ff0d1f4 into pandas-dev:master Jun 2, 2017
@jorisvandenbossche
Copy link
Member Author

But they do feel a bit fragile (stuff like dtypes, ordering can break them).

We should maybe make an overview somewhere of the different tricks to use to get the tests passing. And we should also check if we could do some of the directives (eg normalize whitespace) globally, so you don't need to add them in the actual example code

Kiv pushed a commit to Kiv/pandas that referenced this pull request Jun 11, 2017
* DOC: change doc build to python 3.6

* Remove pinning of pyqt to 4.x

* Remove pinning of openpyxl

* Add xsel to doc build for clipboard
stangirala pushed a commit to stangirala/pandas that referenced this pull request Jun 11, 2017
* DOC: change doc build to python 3.6

* Remove pinning of pyqt to 4.x

* Remove pinning of openpyxl

* Add xsel to doc build for clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants