1
0

26 Commits

Author SHA256 Message Date
dimstar_suse 423dad8db2 Accepting request 1197745 from devel:languages:python:jupyter
- Update to 0.9.13
  * Improve legacy ESM deprecation notice with widget provenance
    and Python migration instruction (#609)
- Release 0.9.12
  * Add IPython Cell Magic for HMR (#594). New %%vfile cell magic
    for prototyping widgets in notebooks. Enables syntax
    highlighting and anywidget's Hot Module Replacement (HMR)
    directly within the notebook. Previously, front-end code had to
    be inline strings or file paths, causing loss of widget state
    when editing inline-strings in notebooks. The new %%vfile cell
    magic allows editing front-end code within the notebook with
    live reloading on cell re-execution. Use %%vfile <filename> to
    create a virtual file for either JavaScript or CSS, and use
    vfile:<filename> in _esm or _css attributes of an AnyWidget
    subclass to reference the virtual file. Anywidget applies HMR
    updates automatically on cell re-execution.
- Release 0.9.11
  * Relax version pinning for anywidget front end (#521)
  * Adopted ~major.minor.* notation for more flexible version
    compatibility in the front end, mirroring practices improve
    compatability in environments where bumping the front-end
    versions is not possible for end users (i.e., JupyterHub). This
    change is intended to enhance adaptability without causing
    disruptions. If issues arise, please report them on our issues
    page.

OBS-URL: https://build.opensuse.org/request/show/1197745
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=11
2024-09-01 17:21:13 +00:00
bnavigator 3c46a7cefd - Update to 0.9.13
* Improve legacy ESM deprecation notice with widget provenance
    and Python migration instruction (#609)
- Release 0.9.12
  * Add IPython Cell Magic for HMR (#594). New %%vfile cell magic
    for prototyping widgets in notebooks. Enables syntax
    highlighting and anywidget's Hot Module Replacement (HMR)
    directly within the notebook. Previously, front-end code had to
    be inline strings or file paths, causing loss of widget state
    when editing inline-strings in notebooks. The new %%vfile cell
    magic allows editing front-end code within the notebook with
    live reloading on cell re-execution. Use %%vfile <filename> to
    create a virtual file for either JavaScript or CSS, and use
    vfile:<filename> in _esm or _css attributes of an AnyWidget
    subclass to reference the virtual file. Anywidget applies HMR
    updates automatically on cell re-execution.
- Release 0.9.11
  * Relax version pinning for anywidget front end (#521)
  * Adopted ~major.minor.* notation for more flexible version
    compatibility in the front end, mirroring practices improve
    compatability in environments where bumping the front-end
    versions is not possible for end users (i.e., JupyterHub). This
    change is intended to enhance adaptability without causing
    disruptions. If issues arise, please report them on our issues
    page.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=25
2024-08-30 09:27:07 +00:00
anag_factory 5344c4a4f8 Accepting request 1172013 from devel:languages:python:jupyter
- Update to 0.9.10
  * fix: Bring back anywidget.json to support notebook v6 discovery
    (#553)
- Releases 0.9.4 to 0.9.9
  * Make a blanket _repr_mimbundle_ implementation (#546)
  * experimental Ensure anywidget.experimental.command is called
    with self (#545)
  * experimental Replace invoke timeout with more flexible
    AbortSignal (#540)
  * Refactor AnyWidget command registration (#526)
  * feat: Suppress errors when inspecting widget for commands
    (#522)
  * Add experimental invoke API to call Python functions from the
    front end and (#453) await the response.
  * Bumped dependencies

OBS-URL: https://build.opensuse.org/request/show/1172013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=10
2024-05-06 15:54:05 +00:00
bnavigator b10a7be5f5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=23 2024-05-05 18:07:29 +00:00
bnavigator 4d3f510af2 - Update to 0.9.10
* fix: Bring back anywidget.json to support notebook v6 discovery
    (#553)
- Releases 0.9.4 to 0.9.9
  * Make a blanket _repr_mimbundle_ implementation (#546)
  * experimental Ensure anywidget.experimental.command is called
    with self (#545)
  * experimental Replace invoke timeout with more flexible
    AbortSignal (#540)
  * Refactor AnyWidget command registration (#526)
  * feat: Suppress errors when inspecting widget for commands
    (#522)
  * Add experimental invoke API to call Python functions from the
    front end and (#453) await the response.
  * Bumped dependencies

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=22
2024-05-05 18:00:19 +00:00
anag_factory 44e67b331a Accepting request 1163384 from devel:languages:python:jupyter
- Update to 0.9.3
  * Updated JS dependencies
- Release 0.9.2
  * Add Python 3.12 Support (#441)
  * feat(experimental): Add @dataclass decorator (#222)
  * Add error boundaries with nicer stack traces (#445)
- Release 0.9.1
 * refactor: Use signals for HMR runtime (#438)
- Drop anywidget-pr439-py312mock.patch

OBS-URL: https://build.opensuse.org/request/show/1163384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=9
2024-03-29 12:10:09 +00:00
bnavigator 98f4c1646b - Update to 0.9.3
* Updated JS dependencies
- Release 0.9.2
  * Add Python 3.12 Support (#441)
  * feat(experimental): Add @dataclass decorator (#222)
  * Add error boundaries with nicer stack traces (#445)
- Release 0.9.1
 * refactor: Use signals for HMR runtime (#438)
- Drop anywidget-pr439-py312mock.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=20
2024-03-28 19:28:45 +00:00
dimstar_suse 5cdbfeae99 Accepting request 1155331 from devel:languages:python:jupyter
- Skip python39: no longer supported since ipython 8.19 (through
  ipywidgets)

OBS-URL: https://build.opensuse.org/request/show/1155331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=8
2024-03-06 22:04:42 +00:00
bnavigator 8a499e445e - Skip python39: no longer supported since ipython 8.19 (through
ipywidgets)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=18
2024-03-05 18:45:52 +00:00
anag_factory 2e8474bf70 Accepting request 1145690 from devel:languages:python:jupyter
- Update to 0.9.0
  * Require ANYWIDGET_HMR to opt-in to HMR during development
  * Introduce front-end widget lifecycle methods (#395)
  * Deprecation Notice: Exporting a render from the front-end
    widget will trigger a deprecation notice in the browser
    console. The preferred way to define a widget's front-end code
    is now with a default object export.
  * These methods introduce lifecycle hooks for widget developers:
    - initialize: is executed once in the lifetime of a widget. It
      has access to the only the model to setup non-view event
      handlers or state to share across views.
    - render: is executed once per view, or for each notebook
      output cell. It has access to the model and a unique el DOM
      element. This method should be familiar and is used to setup
      event handlers or access state specific to that view.
  * Fix serialization of layout trait (#426)
- Add anywidget-pr439-py312mock.patch gh#manzt/anywidget#439

OBS-URL: https://build.opensuse.org/request/show/1145690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=7
2024-02-11 14:46:07 +00:00
bnavigator bb00e06dd6 .
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=16
2024-02-10 15:31:37 +00:00
bnavigator 3ba9c3b266 - Update to 0.9.0
* Require ANYWIDGET_HMR to opt-in to HMR during development
  * Introduce front-end widget lifecycle methods (#395)
  * Deprecation Notice: Exporting a render from the front-end
    widget will trigger a deprecation notice in the browser
    console. The preferred way to define a widget's front-end code
    is now with a default object export.
  * These methods introduce lifecycle hooks for widget developers:
    - initialize: is executed once in the lifetime of a widget. It
      has access to the only the model to setup non-view event
      handlers or state to share across views.
    - render: is executed once per view, or for each notebook
      output cell. It has access to the model and a unique el DOM
      element. This method should be familiar and is used to setup
      event handlers or access state specific to that view.
  * Fix serialization of layout trait (#426)
- Add anywidget-pr439-py312mock.patch gh#manzt/anywidget#439

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=15
2024-02-10 15:29:15 +00:00
anag_factory b8608141cf Accepting request 1140282 from devel:languages:python:jupyter
- Update to 0.8.1
  * fix: Skip Promise serialization for ipywidget's layout/style
    traits (#412)

OBS-URL: https://build.opensuse.org/request/show/1140282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=6
2024-01-21 22:10:16 +00:00
bnavigator eda8b64e90 - Update to 0.8.1
* fix: Skip Promise serialization for ipywidget's layout/style
    traits (#412)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=13
2024-01-21 10:55:09 +00:00
anag_factory cbd1d77bda Accepting request 1134918 from devel:languages:python:jupyter
- Update to 0.8.0
  * Remove re-export of @anywidget/vite from main package (#398)
  * Breaking change. If using our Vite plugin, please make sure to
    install @anywidget/vite (rather than importing from anywidget
    main package). This change allows us to version the Vite plugin
    and anywidget's core separately.
    
    // vite.config.mjs
    import { defineConfig } from "vite";
    -- import anywidget from "anywidget/vite";
    ++ import anywidget from "@anywidget/vite";
    
    If you are already using @anywidget/vite, there are no changes
    necessary.

OBS-URL: https://build.opensuse.org/request/show/1134918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=5
2023-12-25 18:05:42 +00:00
bnavigator 14ae6b79c9 - Update to 0.8.0
* Remove re-export of @anywidget/vite from main package (#398)
  * Breaking change. If using our Vite plugin, please make sure to
    install @anywidget/vite (rather than importing from anywidget
    main package). This change allows us to version the Vite plugin
    and anywidget's core separately.
    
    // vite.config.mjs
    import { defineConfig } from "vite";
    -- import anywidget from "anywidget/vite";
    ++ import anywidget from "@anywidget/vite";
    
    If you are already using @anywidget/vite, there are no changes
    necessary.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=11
2023-12-23 18:35:38 +00:00
anag_factory 468503e019 Accepting request 1128955 from devel:languages:python:jupyter
- Update to 0.7.1
  * feat: Raise Python error when file is missing (#345)

OBS-URL: https://build.opensuse.org/request/show/1128955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=4
2023-11-27 21:42:54 +00:00
bnavigator 93b50b3e6d - Update to 0.7.1
* feat: Raise Python error when file is missing (#345)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=9
2023-11-26 15:23:36 +00:00
anag_factory aa9095c500 Accepting request 1117777 from devel:languages:python:jupyter
- Update to 0.7.0
  * feat(experimental)!: Require include in _get_anywidget_state
    signature (#317)
  * Allows implementors to avoid re-serializing fields which aren't
    needed to send to the front end. This is a BREAKING change
    because it requires implementors of _get_anywidget_state to
    account for include in the function signature.

OBS-URL: https://build.opensuse.org/request/show/1117777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=3
2023-10-15 17:27:25 +00:00
bnavigator 16e3708fc9 fix distver
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=7
2023-10-14 09:17:59 +00:00
bnavigator c109df3b35 - Update to 0.7.0
* feat(experimental)!: Require include in _get_anywidget_state
    signature (#317)
  * Allows implementors to avoid re-serializing fields which aren't
    needed to send to the front end. This is a BREAKING change
    because it requires implementors of _get_anywidget_state to
    account for include in the function signature.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=6
2023-10-14 08:51:12 +00:00
anag_factory 3601303f34 Accepting request 1113219 from devel:languages:python:jupyter
- Update to 0.6.5
  * fix: disable auto-reloading in dist-packages (#276)
  * When the package is located in dist-packages, auto-reloading is
    now disabled. This prevents unnecessary warnings when the
    package is used in environments like Google Colab which are
    likely non-development installs.
- Release 0.6.4
  * fix: Keep support for binary traitlets (#274)
  * Uses structuredClone to ensure binary data is automatically
    serialized, correctly. Applies changes reverted in ipywidgets
    8.1.1.

OBS-URL: https://build.opensuse.org/request/show/1113219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=2
2023-09-25 18:02:33 +00:00
bnavigator 83011b7e61 .
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=4
2023-09-23 16:52:33 +00:00
bnavigator 9b4b07335b - Update to 0.6.5
* fix: disable auto-reloading in dist-packages (#276)
  * When the package is located in dist-packages, auto-reloading is
    now disabled. This prevents unnecessary warnings when the
    package is used in environments like Google Colab which are
    likely non-development installs.
- Release 0.6.4
  * fix: Keep support for binary traitlets (#274)
  * Uses structuredClone to ensure binary data is automatically
    serialized, correctly. Applies changes reverted in ipywidgets
    8.1.1.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=3
2023-09-23 16:39:57 +00:00
anag_factory dd5e3bf0bb Accepting request 1109382 from devel:languages:python:jupyter
- Initial release of 0.6.3.

OBS-URL: https://build.opensuse.org/request/show/1109382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anywidget?expand=0&rev=1
2023-09-07 19:13:04 +00:00
StevenK cb948fe974 - Initial release of 0.6.3.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-anywidget?expand=0&rev=1
2023-09-04 02:59:31 +00:00