- Update to version 1.14.1 -- #898 * Patch Release 1.58.2 - Changes in 1.14.0 -- #889, #893 * Upgraded Plotly.js to 1.58.1 + Patch Release 1.58.1 + Feature release of Plotly.js 1.58.0 which: - Add ticklabelposition attribute to cartesian axes and colorbars #5275 - Add "strict" autotypenumbers to axes and layout #5240 - Add itemwidth to legends #5212 - Add root.color attribute to sunburst and treemap traces #5232, #5245 - Enable fast image rendering for all linear axes #5307 - Rework matches and scaleanchor so they work together #5287 - Changes in 1.13.0 * Added #871 Add Julia syntax highlighting support for dcc.Markdown * Fixed #878 Fixed #751, a bug that causes dcc.Slider and dcc.RangerSlider tooltips to be visible even if the slider component isn't visible (e.g. overflow), * Updated #875 - Upgraded Plotly.js to 1.57.1 (Patch release 1.57.1) * Feature release of Plotly.js 1.57.0 which: - Add "domain" axis references in layout images, shapes and annotations #5014 - Add rotation attribute to sunburst traces #5171, #5201 - Add computed margins in "full-json" export #5203 * Feature release of Plotly.js 1.56.0 which: - Introduce period positioning attributes on date axes in various cartesian traces #5074, #5175 - Add minexponent attribute to improve control over SI prefixes in axis tick labels #5121, - Add sort attribute to sunburst and treemap traces to disable automatic sort #5164 - Handle rgba colors in colorscale of surface traces #5166 * Patch release 1.55.2 - Run simple test - Remove dependency on dash itself (build dependency cycle) OBS-URL: https://build.opensuse.org/request/show/859992 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dash-core-components?expand=0&rev=8
84 lines
2.4 KiB
RPMSpec
84 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package python-dash-core-components
|
|
#
|
|
# Copyright (c) 2021 SUSE LLC
|
|
#
|
|
# 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-%{**}}
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
%if "%{flavor}" == "test"
|
|
%define psuffix -test
|
|
%bcond_without test
|
|
%else
|
|
%define psuffix %{nil}
|
|
%bcond_with test
|
|
%endif
|
|
%define skip_python2 1
|
|
# Upstream cannot tag the release version, but we need the github archive for the test files
|
|
# https://github.com/plotly/dash-core-components/issues/886
|
|
%define commit 230997613c81ce927cf558720585a9632e3df192
|
|
Name: python-dash-core-components%{psuffix}
|
|
Version: 1.14.1
|
|
Release: 0
|
|
Summary: Core component suite for Dash
|
|
License: MIT
|
|
URL: https://github.com/plotly/dash-core-components
|
|
Source: https://github.com/plotly/dash-core-components/archive/%{commit}.tar.gz#/dash-core-components-%{version}-gh.tar.gz
|
|
BuildRequires: %{python_module setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildArch: noarch
|
|
%if %{with test}
|
|
BuildRequires: %{python_module dash}
|
|
BuildRequires: %{python_module pandas}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module selenium}
|
|
%endif
|
|
%python_subpackages
|
|
|
|
%description
|
|
Core component suite for Dash
|
|
|
|
%prep
|
|
%setup -q -n dash-core-components-%{commit}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%if !%{with test}
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
%endif
|
|
|
|
%check
|
|
%if %{with test}
|
|
# simplest integration tests as run in .circleci/
|
|
%pyunittest tests/test_dash_import.py -v
|
|
# fulls suite needs working selenium and chromedriver
|
|
# when fixed this should be enabled
|
|
#%%pytest
|
|
%endif
|
|
|
|
%if !%{with test}
|
|
%files %{python_files}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python_sitelib}/dash_core_components
|
|
%{python_sitelib}/dash_core_components-%{version}-py*.egg-info
|
|
%endif
|
|
|
|
%changelog
|