Hello community, here is the log from the commit of package python-holoviews for openSUSE:Factory checked in at 2017-09-05 15:14:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-holoviews (Old) and /work/SRC/openSUSE:Factory/.python-holoviews.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-holoviews" Tue Sep 5 15:14:35 2017 rev:2 rq:518303 version:1.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-holoviews/python-holoviews.changes 2016-11-20 18:18:03.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-holoviews.new/python-holoviews.changes 2017-09-05 15:14:37.314283002 +0200 @@ -1,0 +2,152 @@ +Thu Aug 17 16:37:58 UTC 2017 - [email protected] + +- Implement single-spec version +- Update to Version 1.8.3 + + Features: + * Add support for setting the bokeh sizing_mode as a plot option + + Fixes: + * Handle StopIteration on DynamicMap correctly. + * Fix bug with linked streams on empty source element + * Compatibility with latest datashader 0.6.0 release + * Fixed missing HTML closing tag in extension + * Various fixes and improvements for documentation +- Update to Version 1.8.2 + + Feature: + * Added support for groupby to histogram operation. + + Fixes: + * Fixed problem with HTML export due to new extension logos. + * Replaced deprecated ``__call__`` usage with opts method throughout codebase. + * Fixed pip installation. + * Fixed miscellaneous bugs +- Update to Version 1.8.1 + + Feature: + * All enabled plotting extension logos now shown + + Fixes: + * Updated search ordering when looking for holoviews.rc + * Fixed lower bound inclusivity bug when no upper bound supplied + * Raise SkipRendering error when plotting nested layouts + * Added safety margin for grid axis constraint issue + * Fixed bug when using +framewise + * Fixed handling of Spacer models in sparse grid + * Renamed Bounds to BoundsXY for consistency + * Fixed bokeh log axes with axis lower bound <=0 + * Set default datashader cmap to fire + * Set SpikesPlot color index to None by default + * Documentation fixes +- Update to Version 1.8.0 + + Major features: + * Completely overhauled the documentation and website + * Replaced dependency on bkcharts with new Bokeh bar plot + and bokeh BoxWhisker plot + * Added support for drawing the `Arrow` annotation in bokeh + * Added periodic method DynamicMap to schedule recurring events + * Cleaned up the API for deploying to bokeh server + * Validation of invalid backend specific options + * Added utilities and entry points to convert notebooks to scripts + including magics + * Added support for rendering to png in bokeh backend + * Made matplotlib and bokeh styling more consistent and dropped custom + matplotlib rc file + * Added `iloc` and `ndloc` method to allow integer based indexing on + tabular and gridded datasets + * Added option to restore case sensitive completion order by setting + `hv.extension.case_sensitive_completion=True` in python or via + holoviews.rc file + + Other new features and improvements: + * Optimized datashading of `NdOverlay` + * Expose last `DynamicMap` args and kwargs on Callable + * Allow colormapping `Contours` Element + * Add support for fixed ticks with labels in bokeh backend + * Added a `clim` parameter to datashade controlling the color range + * Add support for wrapping xarray DataArrays containing dask arrays + * Added support for aggregating to target `Image` dimensions in + datashader `aggregate` operation + * Added top-level hv.extension and `hv.renderer` utilities + * Added support for `Splines` defining multiple cubic splines in bokeh + * Add support for redim.label to quickly define dimension labels + * Add `BoundsX` and `BoundsY` streams + * Added support for adjoining empty plots + * Handle zero-values correctly when using `logz` colormapping option + in matplotlib + * Define a number of `Cycle` and `Palette` defaults across backends + * Many other small improvements and fixes + + Changes affecting backwards compatibility: + * Renamed `ElementOperation` to `Operation` + * Removed `stack_area` operation in favor of `Area.stack` classmethod + * Removed all mpld3 support + * Added `opts` method on all types, replacing the now-deprecated + `__call__` syntax to set options + * Styling changes for both matplotlib and bokeh, which can be reverted + for a notebook with the `config` option of `hv.extension`. For + instance, `hv.extension('bokeh', config=dict(style_17=True))` +- Update to Version 1.7.0 + + Major features and improvements: + * Interactive Streams API + * Dynamic Callable API + * Simpler and more powerful DynamicMap + * Fully general support for Bokeh events + * Datashader operations + * Support for Bokeh apps and Bokeh Server + * Working with renderers interactively outside the notebook + * Support for Matplotlib 2.0 + * Support for Bokeh 0.12.2, 0.12.3, 0.12.4, and 0.12.5. + * Many new features for the Bokeh backend: widgets editable, selection + colors and interactive legends, GridSpace axes, + categorical axes and colormapping, computing + plot size, GridSpaces inside Layouts, Layout/Grid + titles, histogram with live colormapping, colorbars, + finalize_hooks, labelled and show_frame options, styling + hover glyphs, hiding legends on BarPlot, VectorField plot, + Histograms now have same color cycle as mpl. + * Implemented convenience redim methods to easily set dimension + ranges, values etc. + * Made methods on and operations applied to DynamicMap lazy + * Improved documentation. + * Improved error handling, including + re-enabling option system keyword validation. + * Improved testing. + + Other new features and improvements: + * Operations for timeseries, downsample_columns, + interpolate_curve, and stacked_area. + * Dataset types can be declared as empty by passing an empty list + * Plot or style options for Curve interpolation transposing + layouts, multiple paths, and norm for ColorbarPlot. + * Improved options inheritance for more intuitive behavior. + * Image interface providing similar functionality for Image and + non-Image types (making GridImage obsolete). + * dask data interface. + * xarray aggregate/reduce. + * Indicate color clipping and control clipping colors. + * Better datetime handling. + * Gridmatrix diagonal types. + * log option for histogram operation. + * Perceptually uniform fire colormap. + * Support for adjoining overlays. + * coloring weighted average in SideHistogram. + * HeatMap allows displaying multiple values on hover. + * Allow casting Image to QuadMesh. + * Unused columns are now preserved in gridded groupby. + * Optimizations and fixes for constructing Layout/Overlay types. + * DynamicMap fixes. + * Bokeh-backend fixes including handling of empty frames, + faster updates, hover tool fixes, and many more. + * Matplotlib-backend fixes and improvements. + * Many other small improvements and fixes. + + Changes affecting backwards compatibility: + * Automatic coloring and sizing on Points now disabled. + * Deprecated max\_branches output magic option. + * Deprecated GridImage. + * Deprecated NdElement. + * Deprecated DFrame conversion methods. + * Banner text removed from notebook\_extension(). + * Bokeh's matplotlib compatibility module removed. + * ls as matplotlib linestyle alias dropped. + * mdims argument of conversion interface renamed to groupby. + * Replaced global alias state with Dimension.label. + * DynamicMap only update ranges when set to framewise + * Deprecated DynamicMap sampled, bounded, open and generator modes + * Layout.display method is now deprecated + * Layout fix for matplotlib figures with non-square aspects introduced + in 1.6.2, now enabled by default. + +------------------------------------------------------------------- Old: ---- holoviews-1.6.2.tar.gz New: ---- holoviews-1.8.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-holoviews.spec ++++++ --- /var/tmp/diff_new_pack.Amcjas/_old 2017-09-05 15:14:38.026182935 +0200 +++ /var/tmp/diff_new_pack.Amcjas/_new 2017-09-05 15:14:38.030182373 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-holoviews # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,8 +16,10 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-holoviews -Version: 1.6.2 +Version: 1.8.3 Release: 0 Summary: Easy, composable, declarative visualizations for Python License: BSD-3-Clause @@ -25,21 +27,56 @@ Url: https://github.com/ioam/holoviews Source: https://files.pythonhosted.org/packages/source/h/holoviews/holoviews-%{version}.tar.gz Source1: https://raw.githubusercontent.com/ioam/holoviews/master/LICENSE.txt -BuildRequires: python-devel -BuildRequires: python-matplotlib -BuildRequires: python-nose -BuildRequires: python-numpy >= 1.0 -BuildRequires: python-param >= 1.3.2 +BuildRequires: %{python_module devel} +BuildRequires: %{python_module matplotlib} +BuildRequires: %{python_module numpy >= 1.0} +BuildRequires: %{python_module param >= 1.5.1} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: ffmpeg +BuildRequires: ImageMagick +BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module Pygments} +BuildRequires: %{python_module bokeh >= 0.12.6} +BuildRequires: %{python_module cyordereddict} +BuildRequires: %{python_module jsonschema} +BuildRequires: %{python_module jupyter_ipython} +BuildRequires: %{python_module jupyter_notebook} +BuildRequires: %{python_module lancet-ioam} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module plotly} +BuildRequires: %{python_module pyzmq} +BuildRequires: %{python_module seaborn} +BuildRequires: %{python_module tornado} +%endif Requires: python-matplotlib Requires: python-numpy >= 1.0 Requires: python-param >= 1.3.2 Recommends: ffmpeg -Recommends: imagemagick -Recommends: python-mpld3 +Recommends: ImageMagick +Recommends: python-Jinja2 +Recommends: python-Pygments +Recommends: python-bokeh >= 0.12.6 +Recommends: python-cyordereddict +Recommends: python-jsonschema +Recommends: python-jupyter_ipython +Recommends: python-jupyter_notebook +Recommends: python-lancet-ioam +Recommends: python-matplotlib Recommends: python-pandas +Recommends: python-plotly +Recommends: python-pyzmq Recommends: python-seaborn +Recommends: python-tornado BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +Requires(post): update-alternatives +Requires(postun): update-alternatives + +%python_subpackages %description HoloViews is a Python library that makes analyzing and visualizing scientific @@ -48,20 +85,36 @@ %prep %setup -q -n holoviews-%{version} cp %{SOURCE1} ./ +chmod a-x examples/topics/simulation/*.ipynb %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} - -# tests fail due to lack of ffmpeg -# %check -# nosetests +%python_install +%python_clone -a %{buildroot}%{_bindir}/holoviews +%{python_expand chmod a+x %{buildroot}%{$python_sitelib}/holoviews/util/command.py +sed -i "s|^#! /usr/bin/env python$|#!%__$python|" %{buildroot}%{$python_sitelib}/holoviews/util/command.py +$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/holoviews/util/ +$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/holoviews/util/ +%fdupes %{buildroot}%{$python_sitelib} +} + +%post +%python_install_alternative holoviews + +%postun +%python_uninstall_alternative holoviews + +%if %{with test} +%check +%python_expand nosetests-%{$python_bin_suffix} +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc LICENSE.txt README.rst +%doc LICENSE.txt +%python_alternative %{_bindir}/holoviews %{python_sitelib}/* %changelog ++++++ holoviews-1.6.2.tar.gz -> holoviews-1.8.3.tar.gz ++++++ ++++ 96959 lines of diff (skipped)
