From b988db4d27f3716c6940d4a7aff83dc04059a5b0bd9234a81c0f95499bcd68d7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 7 Dec 2019 14:09:12 +0000 Subject: [PATCH] Accepting request 754776 from devel:languages:python:numeric OBS-URL: https://build.opensuse.org/request/show/754776 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dash?expand=0&rev=3 --- LICENSE | 21 --- dash-0.21.1.tar.gz | 3 - dash-1.7.0.tar.gz | 3 + python-dash.changes | 327 ++++++++++++++++++++++++++++++++++++++++++++ python-dash.spec | 7 +- 5 files changed, 334 insertions(+), 27 deletions(-) delete mode 100644 LICENSE delete mode 100644 dash-0.21.1.tar.gz create mode 100644 dash-1.7.0.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 08747d8..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2017 Plotly, Inc - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/dash-0.21.1.tar.gz b/dash-0.21.1.tar.gz deleted file mode 100644 index d031d43..0000000 --- a/dash-0.21.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:223dd725a2c7f729c25cafcf4308aa557965c611e3f449bc65c61a710849d26a -size 15752 diff --git a/dash-1.7.0.tar.gz b/dash-1.7.0.tar.gz new file mode 100644 index 0000000..cbf7a46 --- /dev/null +++ b/dash-1.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d111272dcc3b1ae5471656f66b761263aeba53e595abb617702295849d16702 +size 62243 diff --git a/python-dash.changes b/python-dash.changes index 5e6b7ea..ab2b24e 100644 --- a/python-dash.changes +++ b/python-dash.changes @@ -1,3 +1,330 @@ +------------------------------------------------------------------- +Fri Dec 6 18:44:56 UTC 2019 - Todd R + +- Disable python2 support since dependencies dropped python2 +- Update to version 1.7.0 + + Added + * Add support for defining clientside JavaScript callbacks via inline strings. + * Allow `visit_and_snapshot` API in `dash.testing.browser` to stay on the page so you can run other checks. + + Changed + * Better error message when you forget to wrap multiple `children` in an array, and they get passed to other props. + + Fixed + * Fix the `dash.testing` **stop** API with process application runner in Python2. Use `kill()` instead of `communicate()` to avoid hanging. + * Fix bug with renderer callback lock never resolving with non-rendered async component using the asyncDecorator +- Update to version 1.6.1 + + Fixed + * Fix IE11 / ES5 compatibility and validation issues + * Fix bug with renderer wrapper component TreeContainer to prevent useless re-renders + > Fix and improve the `clear_input()` API in `dash.testing`, so it's more robust handling react `input`. + > make the `percy_snapshot()` API more robust, and the timeout of `wait_for_callbacks` (if set to True) will not fail the snapshot execution, but logged as potential error. +- Update to version 1.6.0 + + Fixed + * Fix fingerprint for component suites with `metadata` in version. + * Fix the assets loading issues when dashR application runner is handling with an app defined by string chunk. +- Update to version 1.5.1 + + Fixed + * Fix cache string handling for component suites with nested folders in their packages. + * Fix a bug with evaluation of `_force_eager_loading` when application is loaded with gunicorn +- Update to version 1.5.0 + + Added + * Adds support for preventing updates in clientside functions. + > Reject all updates with `throw window.dash_clientside.PreventUpdate;` + > Reject a single output by returning `window.dash_clientside.no_update` + * Add support for async dependencies and components + * Adds support for resource caching and adds a fallback caching mechanism through etag + + Fixed + * Fix and improve a percy snapshot behavior issue we found in dash-docs testing. It adds a flag `wait_for_callbacks` to ensure that, in the context of a dash app testing, the percy snapshot action will happen only after all callbacks get fired. +- Update to version 1.4.1 + + Fixed + * Fix warnings emitted by react devtools coming from our own devtools components. +- Update to version 1.4.0 + + Added + * Support setting working directory for R apps run using the `dashr` fixture, primarily useful for tests with assets. `dashr.start_server` supports a `cwd` argument to set an explicit working directory, and has smarter defaults when it's omitted: if `app` is a path to an R script, uses the directory of that path; if `app` is a string, uses the directory the test file itself is in. + > Relevant `dash.testing` methods can now be called with either an element or a CSS selector: `select_dcc_dropdown`, `multiple_click`, `clear_input`, `zoom_in_graph_by_ratio`, `click_at_coord_fractions`. + > Three new `dash.testing` methods: `clear_local_storage`, `clear_session_storage`, and `clear_storage` (to clear both together) + * `dash.testing` adds two APIs `zoom_in_graph_by_ratio` and `click_at_coord_fractions` about advanced interactions using mouse `ActionChain` + * Add debugging traces to dash backend about serving component suites, to verify the installed packages whenever in doubt. + + Fixed + * Fix a bug with persistence being toggled on/off on an existing component. +- Update to version 1.3.1 + + Changed + * Bump dash-core-components version from 1.2.0 to 1.2.1 +- Update to version 1.3.0 + + Added + * Add one configuration `--percy-assets` in `pytest` to specify extra application assets path if needed. + * Add `wait_for_element_by_id` and `visit_and_snapshot` APIs in browser, add `raw_command` option (with higher priority than the default waitress one) and optional `start_timeout` argument to handle large applications within the process runner. + * Persistence: enable props edited by the user to persist across recreating the component or reloading the page. Components need to define three new props: `persistence`, `persisted_props`, and `persistence_type` as described in the lead comment of `src/persistence.js`. App developers then enable this behavior by, in the simplest case, setting `persistence: true` on the component. First use case is table + + Changed + * Bump dash-table version from 4.2.0 to 4.3.0 + * Bump dash-core-components version from 1.1.2 to 1.2.0 + * Bump dash-renderer version from 1.0.1 to 1.1.0 + + Fixed + * Fix `dash-generate-components` on Windows. + * Fix the `--remote` pytest argument which was not effective in the code, adding a new argument `--remote-url` to support the selenium grid usage in the cloud. + * Reduce the dash-renderer packages size on **PyPI** about 55% by removing the source maps. To do more advanced debugging, the source maps needs to be generated from source code with `npm run build:local` and pip install in editable mode, i.e. `pip install -e .` +- Update to version 1.2.0 + + Added + * Add a new arg `dev_tools_prune_errors` to `app.run_server` and `app.enable_dev_tools`. Default `True`, tracebacks only include user code and below. Set it `False` for the previous behavior showing all the Dash and Flask parts of the stack. + + Changed + * Bump dash-table version from 4.1.0 to 4.2.0 + * Bump dash-core-components version from 1.1.1 to 1.1.2 + * Bump dash-html-components version from 1.0.0 to 1.0.1 + * Bump dash-renderer version from 1.0.0 to 1.0.1 + + Fixed + * Clean all the binary assets in dash-renderer, add tool to build all the required bundles from fresh source code to avoid confusion of the assets and improve the release process. +- Update to version 1.1.1 + + Changed + * Bump dash-core-components version from 1.1.0 to 1.1.1 +- Update to version 1.1.0 + + Added + * Add support for dashR testing to the `dash.testing` pytest framework. + + Changed + * Bump dash-table version from 4.0.2 to 4.1.0 + * Bump dash-core-components version from 1.0.0 to 1.1.0 +- Update to version 1.0.2 + + Changed + * Bump dash-table version from 4.0.1 to 4.0.2 + + Fixed + * Fix a bug with callback error reporting +- Update to version 1.0.1 + + Changed + * Remove strong `dash.testing` dependencies per community feedback. Testing users should do `pip install dash[testing]` afterwards. + * Add headless mode for dash.testing, add `pytest_setup_options` hook for full configuration of `WebDriver Options`. + * Bump dash-table version from 4.0.0 to 4.0.1 +- Update to version 1.0.0 + + Changed + * Several breaking changes to the `dash.Dash` API: + > Remove two obsolete constructor kwargs: `static_folder` and `components_cache_max_age` + > Remove the misspelled `supress_callback_exceptions` fallback + > Remove the unused `resources.config.infer_from_layout` + > Revamp `app.config`: ALL constructor args are now stored in `config`, with three exceptions: `server`, `index_string`, and `plugins`. None of these are stored in any other instance attributes anymore. + > Change `hot_reload_interval` from msec to seconds, for consistency with `hot_reload_watch_interval` + > When called from `enable_dev_tools`, `debug=True` by default. It's still `False` by default from `run_server`. + * Introducing Dash Testing (`dash.testing`) - read the full tutorial at http://dash.plot.ly/testing. + * `Component` no longer inherits `MutableMapping`, so `values`, `keys`, and more are no longer methods. Fixes an issue where components with certain prop names defined but not provided would cause a failure to render. During component generation we now disallow all props with leading underscores or matching a few remaining reserved words: `UNDEFINED`, `REQUIRED`, `to_plotly_json`, `available_properties`, and `available_wildcard_properties`. + * Allow the Flask app to be provided to Dash after object initialization. This allows users to define Dash layouts etc when using the app factory pattern, or any other pattern that inhibits access to the app object. This broadly complies with the flask extension API, allowing Dash to be considered as a Flask extension where it needs to be. + * Allow the Flask app to set the Dash app name if the name is not provided by users. + * Assets are served locally by default. Both JS scripts and CSS files are affected. This improves robustness and flexibility in numerous situations, but in certain cases initial loading could be slowed. To restore the previous CDN serving, set `app.scripts.config.serve_locally = False` (and similarly with `app.css`, but this is generally less important). + * Undo/redo toolbar is removed by default, you can enable it with `app=Dash(show_undo_redo=true)`. The CSS hack `._dash-undo-redo:{display:none;}` is no longer needed + * Merge the `dash-renderer` project into the main dash repo to simplify feature dev workflow. We will keep the deprecated one for archive purpose. +- Update to version 0.43.0 + + Changed + * Bump dash-core-components version from 0.47.0 to 0.48.0 + * Bump dash-renderer version from 0.23.0 to 0.24.0 + * Bump dash-table version from 3.6.0 to 3.7.0 + + Fixed + * Fix regression on handling PreventUpdate (204 NO CONTENT) +- Update to version 0.42.0 + + Added + * Dev Tools support. A new UI in the application that automatically display JavaScript & Python error messages, validates your component's properties, and displays a graph of your callback's dependencies. Only enabled in debug mode. Turn this on and off with two new config flags in `app.run_server`: + > `dev_tools_props_check` - turn on/off property validation. + > `dev_tools_ui` - turn on/off the UI. + + Fixed + * Fix regression for `children=0` case. +- Update to version 0.41.0 + + Added + * Support for "Clientside Callbacks" - an escape hatch to execute your callbacks in JavaScript instead of Python + * Add `dev_tools_ui` config flag in `app.run_server` (serialized in `