Hello community, here is the log from the commit of package python-dash for openSUSE:Factory checked in at 2019-12-07 15:09:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dash (Old) and /work/SRC/openSUSE:Factory/.python-dash.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dash" Sat Dec 7 15:09:12 2019 rev:3 rq:754776 version:1.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dash/python-dash.changes 2018-12-13 19:42:40.501151218 +0100 +++ /work/SRC/openSUSE:Factory/.python-dash.new.4691/python-dash.changes 2019-12-07 15:09:21.923847018 +0100 @@ -1,0 +2,327 @@ +Fri Dec 6 18:44:56 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- 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 `<script id="_dash-config" type="application/json">`) to display or hide the forthcoming Dev Tools UI in Dash's front-end (dash-renderer). + * Partial updates: leave some multi-output updates unchanged while updating others + + Removed + * Remove `dash_renderer._set_react_version` support for 15.4.2 and 16.2.0 + + Changed + * Bump dash-core-components version from 0.45.0 to 0.46.0 + * Update from React 15.4.2 to React 16.8.6 +- Update to version 0.40.0 + + Changed + * Bump dash-core-components version from 0.44.0 to 0.45.0 + * Bump dash-html-components version from 0.14.0 to 0.15.0 + * Optimize rendering, and always assign `setProps` to components even with no callbacks to use it. +- Update to version 0.39.0 + + Added + * Allow multiple outputs from a single callback. + * Support custom javascript hooks to modify callback payloads and responses. + * Modify the flask response with custom cookies or headers, using `dash.callback_context.response`. + * Loading states API + + Changed + * Bump dash-core-components version from 0.43.1 to 0.44.0 + * Bump dash-html-components version from 0.13.5 to 0.14.0 + * Bump dash-table version from 3.5.0 to 3.6.0 +- Update to version 0.38.0 + + Added + * Add components libraries js/css distribution to hot reload watch. + * Callback context: + > Know which inputs caused a callback to fire: `dash.callback_context.triggered` + > Input/State values by name `dash.callback_context.states.get('btn.n_clicks')` + + Changed + * Bump dash-table version from 3.4.0 to 3.5.0 + * Bump dash-renderer version from 0.18.0 to 0.19.0 + + Fixed + * Fix missing indentation for generated metadata.json + * Fix missing component prop docstring error + * Move `__repr__` to base component instead of being generated. + * Raise exception when same input & output are used in a callback +- Update to version 0.37.0 + + Removed + * Removed redux logger for the dev. + + Changed + * Add core libraries as version locked dependencies + * Bump dash-table version from 3.3.0 to 3.4.0 + * Bump dash-renderer version from 0.17.0 to 0.18.0 + * Bump dash-core-components version from 0.43.0 to 0.43.1 + + Fixed + * Fix collections.abc deprecation warning for python 3.8 +- Update to version 0.36.0 + + Removed + * Remove support for `Event` system. Use event properties instead, for example the `n_clicks` property instead of the `click` event. `dash_renderer` MUST be upgraded to >=0.17.0 together with this, and it is recommended to update `dash_core_components` to >=0.43.0 and `dash_html_components` to >=0.14.0. +- Update to version 0.35.3 + + Changed + > `assets_folder` argument now defaults to 'assets' + > The assets folder is now always relative to the given root path of `name` argument, the default of `__main__` will get the `cwd`. + > No longer coerce the name argument from the server if the server argument is provided. + + Fixed + > Asset blueprint takes routes prefix into it's static path. + > Asset url path no longer strip routes from requests. + * Remove print statement from PreventUpdate error handler. + * Removed ComponentRegistry dist cache. +- Update to version 0.35.2 + + Fixed + * Fix typo in some exception names + > Keep the config store state on soft reload. + > AppProvider returns `Loading...` if no configs as before +- Update to version 0.35.1 + + Fixed + * Always skip `dynamic` resources from index resources collection. +- Update to version 0.35.0 + + Added + * Experimental `--r-prefix` option to `dash-generate-components`, optionally generates R version of components and corresponding R package. +- Update to version 0.34.0 + + Added ++++ 130 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/python-dash/python-dash.changes ++++ and /work/SRC/openSUSE:Factory/.python-dash.new.4691/python-dash.changes Old: ---- LICENSE dash-0.21.1.tar.gz New: ---- dash-1.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dash.spec ++++++ --- /var/tmp/diff_new_pack.M5uj8d/_old 2019-12-07 15:09:22.523846933 +0100 +++ /var/tmp/diff_new_pack.M5uj8d/_new 2019-12-07 15:09:22.523846933 +0100 @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-dash -Version: 0.21.1 +Version: 1.7.0 Release: 0 # For the license file %define tag ff93d2c4331a576b445be87bb3b77576f18b030a @@ -27,7 +28,6 @@ Group: Development/Languages/Python Url: https://plot.ly/dash Source: https://files.pythonhosted.org/packages/source/d/dash/dash-%{version}.tar.gz -Source10: https://raw.githubusercontent.com/plotly/dash/%{tag}/LICENSE BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements @@ -53,7 +53,6 @@ %prep %setup -q -n dash-%{version} -cp %{SOURCE10} . %build %python_build @@ -65,6 +64,8 @@ %files %{python_files} %doc README.md %license LICENSE +%python3_only %{_bindir}/dash-generate-components +%python3_only %{_bindir}/renderer %{python_sitelib}/* %changelog ++++++ dash-0.21.1.tar.gz -> dash-1.7.0.tar.gz ++++++ ++++ 8200 lines of diff (skipped)