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

Python3 testfixes #34

Merged
merged 9 commits into from
Jul 23, 2018
Merged

Python3 testfixes #34

merged 9 commits into from
Jul 23, 2018

Conversation

petschki
Copy link
Member

@petschki petschki commented Jul 19, 2018

this pull request aims to fix all tests for python3 branch. there might be some transform refactorings too ...

for better test-setup I've created a fork from https://github.com/plone/coredev.vagrant here: https://github.com/petschki/coredev.vagrant/tree/trusty64-py2-py3 (@smcmahon unfortunately I have no permissions to create a branch directly there) ... this sets up a virtual machine with Ubuntu 14.04 (trusty), clones buildout.coredev to coredev_py2 (Plone5.1, python2.7) and coredev_py3 (Plone5.2, python3.6) and installs some transforms dependencies (more to come) because binaries (and their options) are different on OSX and linux distros (namely pdftohtml/pdftotext etc. ) ... @pbauer maybe interresting for other people to setup testing infrastructure ... or you have some better existing test setups already ...

any input/help much appreciated at this point 💪🏼

/cc @davisagli @thet @jensens @ale-rt

status:
Total: 130 tests, 13 failures, 8 errors, 0 skipped
petschki added 5 commits July 19, 2018 10:31
python_to_text is alive again ...
status:
py2: 6 failures, 0 errors
py3: 7 failures, 0 errors
somehow the contents starts to differ after 30+ characters .... maybe thats the reason someone cut it down to the first 20 characters to get passing tests 👽
status:
py2: 0 failures, 0 errors
py3: 0 failures, 0 errors
@petschki
Copy link
Member Author

@pbauer all 130 tests are green now in py2 and py3 ... can you try this branch on https://jenkins.plone.org/view/PLIPs/job/plip-py3/ ?

@petschki petschki requested a review from pbauer July 19, 2018 22:30
@jensens
Copy link
Member

jensens commented Jul 23, 2018

LGTM, I merge this in the python3 branch now.

@jensens jensens merged commit 40596c7 into python3 Jul 23, 2018
@jensens jensens deleted the python3-testfixes branch July 23, 2018 08:51
@petschki petschki changed the title [WIP] Python3 testfixes Python3 testfixes Jul 30, 2018
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