pierrepo / PBxplore

A suite of tools to explore protein structures with Protein Blocks :snake:
https://pbxplore.readthedocs.org/en/latest/
MIT License
28 stars 17 forks source link

Update travis to build doc also for Python 3.x (up to 3.6) #156

Closed pierrepo closed 7 years ago

pierrepo commented 7 years ago

I tried for Python 3.6 in branch travis-python-3.6. @HubLot could you have a look?

HubLot commented 7 years ago

Do you also have issue with Travis? I'm not able to see the output log of the build (endless loading). Either for this branch or for others ones.

pierrepo commented 7 years ago

Yes, Travis is experimenting issues due to the recent AWS outage.

Refresh regularly and it should come up.

The travis-python-3.6 branch failed in Travis CI because of a wrong declaration in the table of content while generating the doc (the code itself is OK). Nothing big I guess.

HubLot commented 7 years ago

The error is due to the fact jupyter-nbconvertcannot convert notebooks into markdown because it cannot find python2 kernel. Indeed, the notebooks where created with a python2 kernel, so the tool needs this kernel to convert the notebook. Since it's a python3 environment, there is no python2...

I'm not sure there is simple solution to that. Maybe give up on building the doc with python3 ?

pierrepo commented 7 years ago

apparently could can have a Python2 kernel within Python3 jupyter: http://stackoverflow.com/a/37857536 Could you have a look?

HubLot commented 7 years ago

Thanks. It seems to work, see my .travis.ymlmodification (https://github.com/HubLot/PBxplore/commit/743594b9ac349d15851517368812d7298a5c1447) and Travis result (https://travis-ci.org/HubLot/PBxplore/jobs/207400221)

pierrepo commented 7 years ago

Very nice. Could you propagate this for all Python 3.x versions we are currently tested? And then create a PR?

pierrepo commented 7 years ago

Thanks @HubLot