mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
Merge pull request #226042 from collares/ipywidgets805
python3Packages.ipywidgets: 8.0.4 -> 8.0.6
This commit is contained in:
commit
db3d1dbe79
@ -1,13 +0,0 @@
|
||||
diff --git a/src/sage/interacts/library.py b/src/sage/interacts/library.py
|
||||
index 06d680109a..139b00bfd1 100644
|
||||
--- a/src/sage/interacts/library.py
|
||||
+++ b/src/sage/interacts/library.py
|
||||
@@ -1434,6 +1434,8 @@ def riemann_sum(
|
||||
creates the mathlet::
|
||||
|
||||
sage: interacts.calculus.riemann_sum()
|
||||
+ ...
|
||||
+ DeprecationWarning: on_submit is deprecated. Instead, set the .continuous_update attribute to False and observe the value changing with: mywidget.observe(callback, 'value').
|
||||
Manual interactive function <function riemann_sum at ...> with 9 widgets
|
||||
title: HTMLText(value='<h2>Riemann integral with random sampling</h2>')
|
||||
f: EvalText(value='x^2+1', description='$f(x)=$', layout=Layout(max_width='41em'))
|
@ -141,12 +141,23 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-YdPnMsjXBm9ZRm6a8hH8rSynkrABjLoIzqwp3F/rKAw=";
|
||||
})
|
||||
|
||||
# https://github.com/sagemath/sage/pull/35336, merged in 10.0.beta8
|
||||
(fetchpatch {
|
||||
name = "ipywidgets-8.0.5-upgrade.patch";
|
||||
url = "https://github.com/sagemath/sage/commit/7ab3e3aa81d47a35d09161b965bba8ab16fd5c9e.diff";
|
||||
sha256 = "sha256-WjdsPTui6uv92RerlV0mqltmLaxADvz+3aqSvxBFmfU=";
|
||||
})
|
||||
|
||||
# https://github.com/sagemath/sage/pull/35499
|
||||
(fetchpatch {
|
||||
name = "ipywidgets-8.0.5-upgrade-part-deux.patch";
|
||||
url = "https://github.com/sagemath/sage/pull/35499.diff";
|
||||
sha256 = "sha256-uNCjLs9qrARTQNsq1+kTdvuV2A1M4xx5b1gWh5c55X0=";
|
||||
})
|
||||
|
||||
# rebased from https://github.com/sagemath/sage/pull/34994, merged in sage 10.0.beta2
|
||||
./patches/numpy-1.24-upgrade.patch
|
||||
|
||||
# temporarily paper over https://github.com/jupyter-widgets/ipywidgets/issues/3669
|
||||
./patches/ipywidgets-on_submit-deprecationwarning.patch
|
||||
|
||||
# Sage uses mixed integer programs (MIPs) to find edge disjoint
|
||||
# spanning trees. For some reason, aarch64 glpk takes much longer
|
||||
# than x86_64 glpk to solve such MIPs. Since the MIP formulation
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
let
|
||||
pname = "comm";
|
||||
version = "0.1.2";
|
||||
version = "0.1.3";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
@ -17,8 +17,8 @@ buildPythonPackage {
|
||||
src = fetchFromGitHub {
|
||||
owner = "ipython";
|
||||
repo = "comm";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Ve6tCvu89P5wUOj+vlzXItRR5RjJNKxItKnWP2fVk9U=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5IUE2g00GT231hjuM7mLPst0QTk2Y+Re302FRDq65C8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -13,12 +13,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipywidgets";
|
||||
version = "8.0.4";
|
||||
version = "8.0.6";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-wABad6R9d4icr+2JK1jjO0oqlnEhVEBMZUjsIicoEeo=";
|
||||
hash = "sha256-3n13nyBF1g3p9sJfZT/a4tuleJjmoShElLO6ILaJO7g=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -33,11 +33,6 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/jupyter-widgets/ipywidgets/issues/3711
|
||||
"test_append_display_data"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "IPython HTML widgets for Jupyter";
|
||||
homepage = "https://ipython.org/";
|
||||
|
@ -4,12 +4,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab-widgets";
|
||||
version = "3.0.5";
|
||||
version = "3.0.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "jupyterlab_widgets";
|
||||
inherit version;
|
||||
hash = "sha256-7q7N6vbAOvyWDdriAc7YjVl5tMqcOJG8uPZjGvcF9e8=";
|
||||
hash = "sha256-w6UO1b9Sigx6hpCWUDr1RwL4bdodtGmu4cktwMAbQ8o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -8,12 +8,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "widgetsnbextension";
|
||||
version = "4.0.5";
|
||||
version = "4.0.7";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-AD9xbZMNOFvj/Z3kLdm/AI4wBT9zvd3iNdFPvq7/Ga8=";
|
||||
hash = "sha256-6mfBenzUrjWPj0bDswTEBpi8BCNzLj8nMyHuFBIyyL4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user