Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 565018

Summary: dev-python/rope-0.10.3 version bump
Product: Gentoo Linux Reporter: Roberto Castagnola <roberto.castagnola>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: enhancement CC: wraeth
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://pypi.python.org/pypi/rope/0.10.3
See Also: https://github.com/JacekPliszka/gedit-rope/issues/2
https://github.com/python-rope/rope/issues/57
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: rope-0.10.3.ebuild.patch
rope-0.10.3-doc-syntax-errors.patch

Description Roberto Castagnola 2015-11-06 14:23:28 UTC
It seems that new version supports python3; I haven't found any official news about it, but just a commit [1] saying 'Add python 3.3+ and pypy as travis allowable_failures.'

I have tried to compile against python3.3 and python3.4 with FEATURES=test and it worked; following the output of elogv:

INFO: setup
Package:    dev-python/rope-0.10.3
Repository: custom
USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 userland_GNU
FEATURES:   compressdebug preserve-libs sandbox test userpriv usersandbox
INFO: compile
python3_3: running distutils-r1_run_phase distutils-r1_python_compile
python3_4: running distutils-r1_run_phase distutils-r1_python_compile
python2_7: running distutils-r1_run_phase distutils-r1_python_compile
INFO: test
python3_3: running distutils-r1_run_phase python_test
python3_4: running distutils-r1_run_phase python_test
python2_7: running distutils-r1_run_phase python_test
python3_3: running distutils-r1_run_phase _clean_egg_info
python3_4: running distutils-r1_run_phase _clean_egg_info
python2_7: running distutils-r1_run_phase _clean_egg_info
INFO: install
python3_3: running distutils-r1_run_phase distutils-r1_python_install
python3_4: running distutils-r1_run_phase distutils-r1_python_install
python2_7: running distutils-r1_run_phase distutils-r1_python_install
python2_7: running distutils-r1_run_phase distutils-r1_python_install_all


HOMEPAGE should be changed since the project has been moved to GitHub


[1] https://github.com/python-rope/rope/commit/d8b4f9873eed7fce4dc0310f55d8cc3f4c4151a4

Reproducible: Always
Comment 1 Roberto Castagnola 2015-11-06 14:48:42 UTC
Sorry, I should have looked into build log and not just elog to check if tests were completed succesfully:


>>> Test phase: dev-python/rope-0.10.3
 * python3_3: running distutils-r1_run_phase python_test
----------------------------------------------------------------------
Ran 1557 tests in 7.527s

FAILED (failures=91, errors=189)


 * python3_4: running distutils-r1_run_phase python_test
----------------------------------------------------------------------
Ran 1557 tests in 7.330s

FAILED (failures=106, errors=194)


 * python2_7: running distutils-r1_run_phase python_test
----------------------------------------------------------------------
Ran 1557 tests in 6.544s

FAILED (errors=1)



I have never used FEATURES=test before and I was supposed to find at least some WARN into elog if some test failed.
Maybe it is not still ready for python3
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-11-07 07:15:19 UTC
Sam, check this out.
Comment 3 Sam Jorna (wraeth) gentoo-dev 2015-11-08 23:53:27 UTC
Looking at upstream, it seems that while python3 support is being worked on (and getting some code added), it is not currently supported - see also upstream issues.
Comment 4 Sam Jorna (wraeth) gentoo-dev 2015-11-10 13:43:58 UTC
Created attachment 416604 [details, diff]
rope-0.10.3.ebuild.patch

Version bumped, adds docbuild for USE=doc. Note that building against pypy also produced failures, so has been left out of this ebuild. Requires patch (to follow) for syntax errors in docbuild files.
Comment 5 Sam Jorna (wraeth) gentoo-dev 2015-11-10 13:44:40 UTC
Created attachment 416606 [details, diff]
rope-0.10.3-doc-syntax-errors.patch

Patch for docbuild files resolving syntax errors.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2015-11-10 22:42:40 UTC
commit 0eecef5a873667b89ef6d5d8432b3b2bf827b8bb
Author: Ian Delaney <idella4@gentoo.org>
Date:   Wed Nov 11 00:05:48 2015 +0800

    dev-python/rope: bump to 0.10.3 wrt the gentoo bug
    
    thanks to user 'wraeth' for submission of the final patch and
    bumped ebuild via the gentoo bug. Added doc build in html from
    by docutils, tidy phases to conform to default style according
    to the eclass
    
    Gentoo bug: #565018