Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516052 - dev-python/bokeh - add python3 support
Summary: dev-python/bokeh - add python3 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 09:29 UTC by Marius Brehler
Modified: 2014-07-07 09:23 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bokeh-0.4.4.ebuild (bokeh-0.4.4.ebuild,2.87 KB, text/plain)
2014-07-06 15:31 UTC, Witold Piłat
Details
bokeh-0.4.4-fix_test_object.patch (bokeh-0.4.4-fix_test_object.patch,1.15 KB, patch)
2014-07-06 15:31 UTC, Witold Piłat
Details | Diff
bokeh-0.4.4 build.log: python2_7 and python3_3 target (bokeh-0.4.4_build.log,278.92 KB, text/plain)
2014-07-07 07:58 UTC, Marius Brehler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Brehler 2014-07-02 09:29:25 UTC
Since version v0.4, bokeh comes with Python 3 support.

Unfortunately it is not enough to replace "PYTHON_COMPAT=( python2_7 )" with "PYTHON_COMPAT=( python{2_7,3_3} )". Adding python3_* targets would be highly appreciated.

Reproducible: Always
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-07-03 16:20:29 UTC
Can you please clarify?  python3_* includes py3.2, is it just 3.3 & 3.4 requested here?
Comment 2 Marius Brehler 2014-07-04 11:42:05 UTC
I actually use bokeh only in conjunction with ipython, which supports Python 3.3 or higher (py3.2 isn't supported). Thus py3.3 would be sufficient for me and neither py3.2 nor p3.4 are not required to full fill my needs.
Comment 3 Witold Piłat 2014-07-06 15:31:05 UTC
Created attachment 380306 [details]
bokeh-0.4.4.ebuild
Comment 4 Witold Piłat 2014-07-06 15:31:53 UTC
Created attachment 380308 [details, diff]
bokeh-0.4.4-fix_test_object.patch
Comment 5 Witold Piłat 2014-07-06 15:44:58 UTC
Here is an updated ebuild for bokeh-0.4.4

1. Add python{3_3,3_4} support
2. Add missing deps
3. Fix tests
4. Add examples and chaco use-flags:
   <flag name="chaco">Enable interface for implementing qplot and ggplot like functionality using chaco</flag>

This ebuild has been discussed and reviewed on #gentoo-python (thanks idella4 and floppym).
I was the only person to test it so any eventual bug is on me.

If you have any questions or doubts you can find me on irc as fau.

PS Marius: ipython notebooks from bokeh examples work fine after installing www-servers/tornado If you have any comments on this ebuild's functionality then please let me know. I tried my best to make sure that everything works but I'm not an bokeh user myself.
Comment 6 Marius Brehler 2014-07-07 07:53:46 UTC
Thank you very much for your work on updating the ebuild. Unfortunately emerge fails if python2_7 AND python3_3 are selected. Building for a single python target (either 2.7 or 3.3) works fine.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2014-07-07 07:57:34 UTC
  07 Jul 2014; Justin Lecher <jlec@gentoo.org> bokeh-0.4.4.ebuild:
  Fix parallel installation issues, #516052

*bokeh-0.4.4 (07 Jul 2014)

  07 Jul 2014; Justin Lecher <jlec@gentoo.org> +bokeh-0.4.4.ebuild,
  +files/bokeh-0.4.4-fix_test_object.patch, metadata.xml:
  Importing Version BUmp from sci overlay, thanks olifre; #516052
Comment 8 Marius Brehler 2014-07-07 07:58:48 UTC
Created attachment 380352 [details]
bokeh-0.4.4 build.log: python2_7 and python3_3 target
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2014-07-07 08:05:02 UTC
works now. please resync later
Comment 10 Witold Piłat 2014-07-07 08:32:29 UTC
Thanks, apparently I forgot to test this case and didn't think about possible issues.

Perhaps I needlessly rushed it to the science overlay. I just read Justin's message on the mailing list and followed.

PS Recognition in ChangeLog entry is wrong. I'd prefer to be refered to by my real name or as fau (my github login is aufau, olifre is responsible for previous commit).
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2014-07-07 09:23:16 UTC
(In reply to Witold Piłat from comment #10)
> Perhaps I needlessly rushed it to the science overlay. I just read Justin's
> message on the mailing list and followed.

That was exactly what I would like to see. 

> 
> PS Recognition in ChangeLog entry is wrong. I'd prefer to be refered to by
> my real name or as fau (my github login is aufau, olifre is responsible for
> previous commit).

I am sorry for that. It's fixed now.