python-bokeh/python-bokeh.spec
Todd R 31a232368a Accepting request 696880 from home:TheBlackCat:branches:devel:languages:python:numeric
- update to version 1.1.0
  + bugfixes:
    * [layout] [widgets] Setting responsive for figures in tabs results in buggy tabs
    * [layout] If responsive mode is `height_ar`, toolbar box `above` or `below` doesn't work
    * [layout] Tabs only work with fixed layout
    * [layout] Initialization problem on `scale_width` plots
    * [component: bokehjs] Bokehjs charts not respecting plot size
    * [layout] Figure.width does not update width
    * [layout] Strange widget alignment behavior
    * [component: bokehjs] [layout] Tabs not working
    * [component: bokehjs] [layout] [widgets] Tabs only renders right when at least one tab contains a figure
    * [layout] [widgets] Overlapping plots
    * [layout] Subplots vertical axes don't line up
    * [component: bokehjs] [layout] Widgets do not work in nested layouts
    * [component: bokehjs] [layout] 0.12.4 breaks custom text inputs field length
    * [layout] [widgets] Datatables overlapping when in row or gridplot
    * [component: bokehjs] [layout] Adding new button widgets results in too-wide buttons
    * [component: bokehjs] [widgets] Multiselect freezes ie 11 on change
    * [component: bokehjs] Javascript errors when plotting from a columndatasource populated with a pandas dataframe containing column named field
    * [component: bokehjs] [layout] Tabs widget cannot contain a figure
    * [component: bokehjs] [layout] Textinput not respecting width
    * [component: examples] [regression] Npm detection doesn't work on windows (in native console)
    * [layout] Vertical axes aren't aligned in `plotting/file/categorical`
    * [component: bokehjs] Multiple callbacks for same model call only last callback
    * [component: bokehjs] Tap tool on bokeh server does not select data points with a custom callback
    * [layout] Dynamically turning on axis label does not resize plot
    * [layout] Alignment of plots in a grid
    * [widgets] Autocompleteinput does not complete word when option is clicked
    * [component: bokehjs] [component: tests] Examples/models/file/dateaxis.py is unreliable
    * [component: bokehjs] [component: build] Incorrect module path format when building bokehjs on windows
    * [component: bokehjs] [layout] [widgets] Datatable in tab not displaying contents (with minimal example)
    * [layout] [widgets] Vertical slider
    * [component: bokehjs] [layout] Unsatisfiable constraint when trying to make plot size responsive within panels
    * [layout] Plot layout with scale_both, stretch_both, scale_height
    * [component: bokehjs] [layout] Table covers other widget when table is on the left
    * [component: bokehjs] [layout] Gridplot with sizing_mode="stretch_both"/"scale_both" is totally broken since 0.12.11
    * [component: bokehjs] Disappearing toolbar
    * [component: bokehjs] [layout] Bokeh layout rows and columns not responsive on scale_width or scale_height
    * [component: bokehjs] [layout] Row and column definition gives unexpected layout with option sizing_mode='scale_width'
    * [layout] Repaint() in plot_canvas.coffee causing significant lag
    * [component: bokehjs] [layout] Bokeh spacer sets height to one pixel with scale_width set
    * [component: bokehjs] Different behavior between bokeh and bokehjs with ajaxdatasource
    * [component: bokehjs] [widgets] Checkboxbuttongroup and radiobuttongroup can not be disabled
    * [component: bokehjs] Hovertool display pops under shaded portion of slider
    * [layout] [regression] Stretch_both sizing mode doesn't stretch in 0.13
    * [component: bokehjs] Tilerenderer cache is not invalidated when url changes
    * [performance] Improve datatable performance
    * [component: bokehjs] The "css_classes" attribute on datatable object does not work
    * Compiler issue on windows, importing modules is not working because of backslash incompatibility
    * [component: bokehjs] "tile cannot extend" systemerror when exporting plot with legend placed outside and above plot area
    * [layout] Button groups do not respect the `sizing_mode` or `width` keyword arguments
    * [component: bokehjs] [widgets] Updating css_classes on layout elements has no effect
    * Whisker does not accept explicit negative values
    * [component: bokehjs] Wrong position on catergoricalaxis of extra_y_range
    * Typeerror: index is not a valid datetimeindex or periodindex
    * [component: bokehjs] [typescript] Bokehjs examples to use in node js or angular
    * [component: bokehjs] Grid bands broken when cross grid lines disabled
    * [component: bokehjs] Cds callback property not working
    * [component: bokehjs] [layout] Bug when the middle area between two tabs is clicked
    * Inline ts code failed at compilation on windows (post #8085)
    * [layout] Layout broken in hidden tabs after an update
    * [layout] [regression] Input widget heights behavior
    * [component: bokehjs] Crosshair icon removed from toolbar in gridplots
    * [component: server] Issue with bokeh.client after layout pr
    * [component: examples] Stocks example is not working properly 
    * [component: docs] [layout] Incorrect layout with column of div's with image (1.1.0dev3)
    * [widgets] Datatable rows overwrite dropdown menu (1.1.0dev3)
    * [layout] [regression] Dashboard.py example not behaving as expected after the layout pr
    * [component: tests] Make examples' tests work on windows
    * [component: examples] Grid_axis_alignment_no_toolbar is broken in windows (32-bit)
    * [widgets] Assume utc in value_as_date
    * [layout] Text wrapping in div after layout pr
    * [layout] Loading plot in separate jupyterlab tab collapses layout
    * [component: bokehjs] Graphs with list values as attributes fail
    * [component: examples] [regression] Custom widget in doc strange display in 1.1.0dev6
    * [notebook] Autoload_js should load css before javascript
    * [component: bokehjs] [component: docs] Bokehjs columndatasource.change property doesn't exist
    * [component: docs] Typo in plots.py
    * [notebook] [regression] Displaying plot in notebook quickly after output_notebook raises js error
    * [component: tests] Tests sometimes fail on appveyor
    * [layout] Tabs width set on width of contents - truncating tabs
    * [component: bokehjs] [notebook] [regression] Gmap plots not working in the notebook and inline resources
    * Windows phantomjs not killed on selenium termination
    * [component: bokehjs] Hover tooltip breaks with zero-width wedges
    * [component: bokehjs] When line_width is set to 0 the glyph boundaries don't disappear
    * [component: bokehjs] Custom extensions cannot import models/widgets/widget
    * [component: bokehjs] Tooltips not working for segment on inverted y-axis
    * [component: bokehjs] Using range padding with image plots leave lots of empty space
    * [component: bokehjs] [layout] Tabs header doesn't update when layout recomputes
    * [component: bokehjs] Spinner jumps to low after one click, regardless of step
    * [component: tests] Codebase tests fail on windows
    * [component: bokehjs] Range tool gets stuck at minimum width
    * [component: server] Directoryhandler does not handle ipynb files correctly
    * Fixes trying to index dict_keys
    * [component: bokehjs] [regression] Es6 map's polyfill isn't installed in phantomjs
    * [component: bokehjs] Surface3d example fails to compile
    * [component: bokehjs] [layout] Make layout respect aspect ratio with scale_height sizing mode
  + features:
    * [layout] Non-equal proportion split in layouts
    * [layout] Don't make space for element if not visible
    * [component: docs] Sphinx bokeh_plot extension should work outside project docs
    * [component: bokehjs] [widgets] Add numeric input widget
    * [component: bokehjs] Bokeh panel(closable=true) doesn't make 'x' appear on the panel title and closable by user
    * [component: bokehjs] [widgets] Add color picker and spinbox widgets
    * [layout] Add sizing_mode="stretch_width" and "stretch_height"
    * Add js_link convenience method
    * [component: server] Add --index option to specify site index template
    * [API: models] Add support for data source using server-sent events
    * [component: bokehjs] Displaying custom data on hover for rgba image
    * [API: models] Openurl in current tab
    * [component: bokehjs] Make bokehjs importable in nodejs
    * [layout] [regression] Add support for spans to grid layout
  + tasks:
    * [component: bokehjs] [layout] Investigate better implementation for toolbar rendering 
    * [layout] Investigate / describe performance issues
    * [component: tests] [layout] Add a series of screenshot tests for all the layout modes
    * [layout] Stop doing two calls to _resize on every resize
    * [API: models] [component: bokehjs] Widgets with js api
    * [component: bokehjs] [layout] Use box-sizing: border-box for everything under bk-root
    * [layout] [performance] Browser rendering extremely slow when many figures in a gridplot
    * [component: examples] Make simple_hdf example interesting and attractive
    * [component: bokehjs] Add a link to bokehjs package on npmjs.com
    * [API: models] [layout] Add visible property to models
    * [component: tests] Task: fix-up skipped app examples for examples tests
    * [layout] Unify meaning of {layoutcanvas,layoutdom}.{_left,_top,_right,_bottom}
    * [API: plotting] [component: bokehjs] Bokehjs typeerror "legend is undefined"
    * [component: bokehjs] [typescript] Rewrite bokehjs' tests in typescript
    * [component: bokehjs] [typescript] Remove unnecessary usage of any type
    * Make error reporting from `export_png()` more robust
    * [layout] Improve reliability, performance and feature coverage of the layout
    * [regression] Do not include large unrelated files in the repository
    * [component: bokehjs] [component: build] Relativize module paths in generated js/d.ts files
    * [component: docs] Autoreloader cannot find bokeh on reload
    * Tile provider causes "model must be owned by only a single document" error
    * [component: server] Delay between autoload.js and websocket request
    * [component: examples] Create custom example to plot parallel plot
    * Make websocket_max_message_size configurable in notebooks
    * [component: build] Pin conda versions with conda_reqs on appveyor too
    * [component: docs] [docs] bad number in webpage patch method documentation
    * [component: docs] Change use of deprecated sphinx app logger
    * Importing abcs from collections is deprecated
    * [component: bokehjs] [typescript] Remove type duplication between models' attributes and properties
    * [typescript] Finalize typing plotting api and remove old declarations
    * [component: tests] Fix pytest's deprecations in examples' tests
    * [component: bokehjs] [typescript] Upgrade typescript and minifier, and enable more tslint rules
    * [notebook] Use utf-8 encoding to open notebook file
    * Daterangeslider returns datetime instead of date
    * [component: examples] Manual_grid layout example has lost it's core functionality in layout pr
    * [component: bokehjs] [typescript] Rewrite custom extensions in typescript
    * [component: build] Use ci.bokeh.org for artifact storage
    * [component: docs] Bryanv/demosite url
    * [component: docs] Add live codepen links for bokehjs api
    * [component: bokehjs] [component: build] Rename bokehjs/build/js/{tree->lib} to match src/
    * [component: bokehjs] [component: build] Handlebars security vulnerability - npm won't install
    * [API: models] Deprecate plot.{h,v}_symmetry
    * [component: bokehjs] Disabled buttons should be gray by default
    * Bad_extra_range_name validation can be incorrect
    * [layout] Don't warn on empty layouts
    * [component: bokehjs] Miscellaneous improvements to bokehjs
    * [component: bokehjs] Don't expose external libraries in the public api
    * [BEP] [component: build] Update maintainers list
    * [component: docs] Updated numfocus donor link
    * [component: bokehjs] [component: build] Upgrade to typescript 3.4
    * [component: docs] Corrected spelling mistakes
    * [layout] Make gridbox.spacing adhere to css argument order

OBS-URL: https://build.opensuse.org/request/show/696880
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-bokeh?expand=0&rev=14
2019-04-22 19:33:18 +00:00

133 lines
4.6 KiB
RPMSpec

#
# spec file for package python-bokeh
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Tests fail due to missing git data
%bcond_with tests
Name: python-bokeh
Version: 1.1.0
Release: 0
Summary: Statistical interactive HTML plots for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://bokeh.pydata.org/
Source: https://files.pythonhosted.org/packages/source/b/bokeh/bokeh-%{version}.tar.gz
BuildRequires: %{python_module Jinja2 >= 2.7}
BuildRequires: %{python_module Pillow >= 4.0}
BuildRequires: %{python_module PyYAML >= 3.10}
BuildRequires: %{python_module jupyter_ipython}
BuildRequires: %{python_module numpy >= 1.7.1}
BuildRequires: %{python_module packaging >= 16.8}
BuildRequires: %{python_module python-dateutil >= 2.1}
BuildRequires: %{python_module requests >= 1.2.3}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.5.2}
BuildRequires: %{python_module tornado >= 4.3}
BuildRequires: fdupes
# Python2 dependencies
BuildRequires: python-futures >= 3.0.3
BuildRequires: python-rpm-macros
BuildConflicts: python-buildservice-tweak
Requires: python-Jinja2 >= 2.7
Requires: python-Pillow >= 4.0
Requires: python-PyYAML >= 3.10
Requires: python-numpy >= 1.7.1
Requires: python-packaging >= 16.8
Requires: python-python-dateutil >= 2.1
Requires: python-requests >= 1.2.3
Requires: python-six >= 1.5.2
Requires: python-tornado >= 4.3
Requires(post): update-alternatives
Requires(preun): update-alternatives
Recommends: python-icalendar
Recommends: python-networkx
Recommends: python-pscript
Recommends: python-vincent
BuildArch: noarch
%if %{with tests}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module boto}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module colorama}
BuildRequires: %{python_module jupyter_nbconvert}
BuildRequires: %{python_module jupyter_nbformat}
BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module networkx}
BuildRequires: %{python_module pscript}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module selenium}
BuildRequires: chromedriver
%endif
%ifpython2
Requires: python-futures >= 3.0.3
%endif
%python_subpackages
%description
Bokeh is a Python interactive visualization library that targets web
browsers for presentation. It provides concise construction of
graphics in the style of D3.js, and favors delivering this capability
with interactivity over large or streaming datasets.
%prep
%setup -q -n bokeh-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/bokeh
# Remove hidden files
%python_expand mkdir -p %{buildroot}%{_docdir}/%{$python_prefix}-bokeh
%python_expand cp -r examples %{buildroot}%{_docdir}/%{$python_prefix}-bokeh/
%python_expand rm -rf examples %{buildroot}%{_docdir}/%{$python_prefix}-bokeh/examples/*/.ipynb_checkpoints
%python_expand rm -rf examples %{buildroot}%{_docdir}/%{$python_prefix}-bokeh/examples/*/*/.ipynb_checkpoints
# Remove test and script files
%python_expand rm -rf %{buildroot}%{$python_sitelib}/scripts/
%python_expand rm -rf %{buildroot}%{$python_sitelib}/tests/
%if %{with tests}
%check
rm -rf build _build.*
%{python_expand rm -rf build _build.*
py.test-%{$python_bin_suffix} -s -m js -rs
py.test-%{$python_bin_suffix} -m 'not (examples or js or integration)' --cov=bokeh --cov-config=bokeh/.coveragerc -rs
py.test-%{$python_bin_suffix} -m integration -rs -v
}
%endif
%post
%python_install_alternative bokeh
%preun
%python_uninstall_alternative bokeh
%files %{python_files}
%license LICENSE.txt
%{_docdir}/%{python_prefix}-bokeh
%python_alternative %{_bindir}/bokeh
%{python_sitelib}/bokeh/
%{python_sitelib}/bokeh-%{version}-py*.egg-info
%changelog