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

Bug 625786

Summary: dev-python/pymongo-2.7.2 will not build with USE doc
Product: Gentoo Linux Reporter: deference
Component: Current packagesAssignee: Ultrabug <ultrabug>
Status: RESOLVED OBSOLETE    
Severity: normal CC: deference, jstein, python
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description deference 2017-07-21 01:19:24 UTC
* python3_4: running distutils-r1_run_phase python_compile_all
Running Sphinx v1.5.2

Exception occurred:
  File "/var/tmp/portage/dev-python/pymongo-2.7.2/work/pymongo-2.7.2-python3_4/pymongo/__init__.py", line 83, in get_version_string
    if isinstance(version_tuple[-1], basestring):
NameError: name 'basestring' is not defined
The full traceback has been saved in /var/tmp/portage/dev-python/pymongo-2.7.2/temp/sphinx-err-qtm4yqaq.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

[ebuild   R   ] dev-python/pymongo-2.7.2  USE="doc* kerberos {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-python3_5) (-python3_6)"
Comment 1 deference 2017-07-21 01:19:41 UTC
Created attachment 486174 [details]
build.log
Comment 2 deference 2017-07-21 01:19:51 UTC
Created attachment 486176 [details]
emerge --info
Comment 3 Bernie Hackett 2017-10-21 17:00:18 UTC
PyMongo's docs wouldn't build or test properly under python 3 under version 2.9.4 of the 2.x branch and 3.4 of the 3.x (master) branch:

https://github.com/mongodb/mongo-python-driver/commit/2c232e78b24b23181b77d8d8ce2e604cc5e5c603

https://jira.mongodb.org/browse/PYTHON-1153

Sorry about that.
Comment 4 Ultrabug gentoo-dev 2018-08-14 22:27:34 UTC
Thanks Bernie and sorry for the insane time it took for this bug to catch my eye

I've bumped ebuild to 3.7.1 and we have stable candidates for 3.x so I dropped now very old 2.x series of the driver.