forked from pool/python-dash
Accepting request 795470 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/795470 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dash?expand=0&rev=8
This commit is contained in:
3
dash-1.11.0.tar.gz
Normal file
3
dash-1.11.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57e32410a4f0f9fef0cdcd61f801bd01738f343ad308fa51592859ef9bc5c5ad
|
||||
size 64632
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6a488d380f02ba7c8e624a7c4d89f9e39368b8d9ed4a6f463364894a237f1fd8
|
||||
size 64215
|
||||
@@ -1,3 +1,63 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 18 20:31:40 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* updated required versions
|
||||
|
||||
- update to version 1.11.0:
|
||||
* Added
|
||||
+ #1103 Pattern-matching IDs and callbacks. Component IDs can be
|
||||
dictionaries, and callbacks can reference patterns of
|
||||
components, using three different wildcards: ALL, MATCH, and
|
||||
ALLSMALLER, available from dash.dependencies. This lets you
|
||||
create components on demand, and have callbacks respond to any
|
||||
and all of them. To help with this, dash.callback_context gets
|
||||
three new entries: outputs_list, inputs_list, and states_list,
|
||||
which contain all the ids, properties, and except for the
|
||||
outputs, the property values from all matched components.
|
||||
+ #1103 dash.testing option --pause: after opening the dash app in
|
||||
a test, will invoke pdb for live debugging of both Javascript
|
||||
and Python. Use with a single test case like pytest -k cbwc001
|
||||
--pause.
|
||||
* Changed
|
||||
* #1103 Multiple changes to the callback pipeline:
|
||||
+ dash.callback_context.triggered now does NOT reflect any initial
|
||||
values, and DOES reflect EVERY value which has been changed
|
||||
either by activity in the app or as a result of a previous
|
||||
callback. That means that the initial call of a callback with no
|
||||
prerequisite callbacks will list nothing as triggering. For
|
||||
backward compatibility, we continue to provide a length-1 list
|
||||
for triggered, but its id and property are blank strings, and
|
||||
bool(triggered) is False.
|
||||
+ A user interaction which returns the same property value as was
|
||||
previously present will not trigger the component to re-render,
|
||||
nor trigger callbacks using that property as an input.
|
||||
+ Callback validation is now mostly done in the browser, rather
|
||||
than in Python. A few things - mostly type validation, like
|
||||
ensuring IDs are strings or dicts and properties are strings -
|
||||
are still done in Python, but most others, like ensuring outputs
|
||||
are unique, inputs and outputs don't overlap, and (if desired)
|
||||
that IDs are present in the layout, are done in the
|
||||
browser. This means you can define callbacks BEFORE the layout
|
||||
and still validate IDs to the layout; and while developing an
|
||||
app, most errors in callback definitions will not halt the app.
|
||||
* Fixed
|
||||
+ #1103 Fixed multiple bugs with chained callbacks either not
|
||||
triggering, inconsistently triggering, or triggering multiple
|
||||
times. This includes: #635, #832, #1053, #1071, and #1084. Also
|
||||
fixed #1105: async components that aren't rendered by the page
|
||||
(for example in a background Tab) would block the app from
|
||||
executing callbacks.
|
||||
|
||||
- changes from version 1.10.0:
|
||||
* Added
|
||||
+ #1134 Allow dash.run_server() host and port parameters to be set
|
||||
with environment variables HOST & PORT, respectively
|
||||
* Changed
|
||||
+ #1145 Update from React 16.8.6 to 16.13.0
|
||||
* Fixed
|
||||
+ #1142 Persistence: Also persist 0, empty string etc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 07:22:22 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-dash
|
||||
Version: 1.9.1
|
||||
Version: 1.11.0
|
||||
Release: 0
|
||||
Summary: Python framework for building reactive web-apps
|
||||
License: MIT
|
||||
@@ -32,10 +32,10 @@ Requires: python-Flask >= 1.0.2
|
||||
Requires: python-Flask-Compress
|
||||
# dash/testing/dash_page.py
|
||||
Requires: python-beautifulsoup4
|
||||
Requires: python-dash-core-components >= 1.8.1
|
||||
Requires: python-dash-html-components >= 1.0.2
|
||||
Requires: python-dash-renderer >= 1.2.4
|
||||
Requires: python-dash-table >= 4.6.1
|
||||
Requires: python-dash-core-components >= 1.9.1
|
||||
Requires: python-dash-html-components >= 1.0.3
|
||||
Requires: python-dash-renderer >= 1.4.0
|
||||
Requires: python-dash-table >= 4.6.2
|
||||
Requires: python-future
|
||||
# needed for dash/testing/browser.py
|
||||
Requires: python-percy
|
||||
@@ -45,10 +45,10 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module Flask >= 1.0.2}
|
||||
BuildRequires: %{python_module Flask-Compress}
|
||||
BuildRequires: %{python_module beautifulsoup4}
|
||||
BuildRequires: %{python_module dash-core-components >= 1.8.1}
|
||||
BuildRequires: %{python_module dash-html-components >= 1.0.2}
|
||||
BuildRequires: %{python_module dash-renderer >= 1.2.4}
|
||||
BuildRequires: %{python_module dash-table >= 4.6.1}
|
||||
BuildRequires: %{python_module dash-core-components >= 1.9.1}
|
||||
BuildRequires: %{python_module dash-html-components >= 1.0.3}
|
||||
BuildRequires: %{python_module dash-renderer >= 1.4.0}
|
||||
BuildRequires: %{python_module dash-table >= 4.6.2}
|
||||
BuildRequires: %{python_module future}
|
||||
BuildRequires: %{python_module percy}
|
||||
BuildRequires: %{python_module plotly}
|
||||
|
||||
Reference in New Issue
Block a user