public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/ipywidgets/files/, dev-python/ipywidgets/
@ 2021-07-01 17:53 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2021-07-01 17:53 UTC (permalink / raw
  To: gentoo-commits

commit:     3f32924fe148da774d897f66a2ff25302de21115
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  1 16:46:12 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul  1 17:53:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f32924f

dev-python/ipywidgets: Port to py3.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../ipywidgets/files/ipywidgets-7.6.3-py310.patch  | 37 ++++++++++++++++++++++
 dev-python/ipywidgets/ipywidgets-7.6.3.ebuild      |  8 +++--
 2 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch b/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch
new file mode 100644
index 00000000000..f3d82d0a8ec
--- /dev/null
+++ b/dev-python/ipywidgets/files/ipywidgets-7.6.3-py310.patch
@@ -0,0 +1,37 @@
+From f9a13dbb3b8f1ffefef483bdb4c14f04f7743ff1 Mon Sep 17 00:00:00 2001
+From: Jason Grout <jgrout6@bloomberg.net>
+Date: Tue, 31 Dec 2019 12:57:52 -0800
+Subject: [PATCH] Fix more python 3 deprecations
+
+---
+ ipywidgets/widgets/interaction.py            | 2 +-
+ ipywidgets/widgets/tests/test_interaction.py | 3 ++-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/ipywidgets/widgets/interaction.py b/ipywidgets/widgets/interaction.py
+index 3dd7272047..6e3b9fc955 100644
+--- a/ipywidgets/widgets/interaction.py
++++ b/ipywidgets/widgets/interaction.py
+@@ -246,7 +246,7 @@ def update(self, *args):
+         except Exception as e:
+             ip = get_ipython()
+             if ip is None:
+-                self.log.warn("Exception in interact callback: %s", e, exc_info=True)
++                self.log.warning("Exception in interact callback: %s", e, exc_info=True)
+             else:
+                 ip.showtraceback()
+         finally:
+diff --git a/ipywidgets/widgets/tests/test_interaction.py b/ipywidgets/widgets/tests/test_interaction.py
+index 1ee946744e..c792c5377a 100644
+--- a/ipywidgets/widgets/tests/test_interaction.py
++++ b/ipywidgets/widgets/tests/test_interaction.py
+@@ -249,7 +249,8 @@ def test_iterable_tuple():
+     check_widgets(c, lis=d)
+ 
+ def test_mapping():
+-    from collections import Mapping, OrderedDict
++    from collections.abc import Mapping
++    from collections import OrderedDict
+     class TestMapping(Mapping):
+         def __init__(self, values):
+             self.values = values

diff --git a/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild b/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild
index a8791123ada..21b3e27415a 100644
--- a/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild
+++ b/dev-python/ipywidgets/ipywidgets-7.6.3.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1
@@ -25,3 +25,7 @@ RDEPEND="
 "
 
 distutils_enable_tests pytest
+
+PATCHES=(
+	"${FILESDIR}/${P}-py310.patch"
+)


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/ipywidgets/files/, dev-python/ipywidgets/
@ 2024-07-12  9:39 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2024-07-12  9:39 UTC (permalink / raw
  To: gentoo-commits

commit:     4207a8789138c1eb04f05d08406a9fc2cf0a75d2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 09:39:18 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 09:39:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4207a878

dev-python/ipywidgets: Add a pytest-8 fix

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../files/ipywidgets-8.1.3-pytest-8.patch          | 91 ++++++++++++++++++++++
 dev-python/ipywidgets/ipywidgets-8.1.3.ebuild      |  6 +-
 2 files changed, 96 insertions(+), 1 deletion(-)

diff --git a/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch b/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch
new file mode 100644
index 000000000000..0294ec1ce604
--- /dev/null
+++ b/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch
@@ -0,0 +1,91 @@
+From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
+From: Lumir Balhar <lbalhar@redhat.com>
+Date: Thu, 11 Apr 2024 11:40:15 +0200
+Subject: [PATCH] Fix compatibility with pytest 8
+
+Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
+---
+ .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
+ python/ipywidgets/ipywidgets/widgets/tests/test_link.py     | 1 -
+ .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py  | 2 +-
+ .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py   | 2 +-
+ python/ipywidgets/ipywidgets/widgets/tests/utils.py         | 6 +++---
+ 5 files changed, 5 insertions(+), 8 deletions(-)
+
+diff --git a/ipywidgets/widgets/tests/test_interaction.py b/ipywidgets/widgets/tests/test_interaction.py
+index 0dc7e5fcfc..feb1afe50c 100644
+--- a/ipywidgets/widgets/tests/test_interaction.py
++++ b/ipywidgets/widgets/tests/test_interaction.py
+@@ -19,8 +19,6 @@
+ # Utility stuff
+ #-----------------------------------------------------------------------------
+ 
+-from .utils import setup, teardown
+-
+ def f(**kwargs):
+     pass
+ 
+diff --git a/ipywidgets/widgets/tests/test_link.py b/ipywidgets/widgets/tests/test_link.py
+index 0c92dfdcb2..9301764d40 100644
+--- a/ipywidgets/widgets/tests/test_link.py
++++ b/ipywidgets/widgets/tests/test_link.py
+@@ -4,7 +4,6 @@
+ import pytest
+ 
+ from .. import jslink, jsdlink, ToggleButton
+-from .utils import setup, teardown
+ 
+ def test_jslink_args():
+     with pytest.raises(TypeError):
+diff --git a/ipywidgets/widgets/tests/test_send_state.py b/ipywidgets/widgets/tests/test_send_state.py
+index ec18ae4af1..98465b9b7d 100644
+--- a/ipywidgets/widgets/tests/test_send_state.py
++++ b/ipywidgets/widgets/tests/test_send_state.py
+@@ -3,7 +3,7 @@
+ 
+ from traitlets import Bool, Tuple, List
+ 
+-from .utils import setup, teardown, DummyComm
++from .utils import setup
+ 
+ from ..widget import Widget
+ 
+diff --git a/ipywidgets/widgets/tests/test_set_state.py b/ipywidgets/widgets/tests/test_set_state.py
+index 82ecbd9311..22ec54d90f 100644
+--- a/ipywidgets/widgets/tests/test_set_state.py
++++ b/ipywidgets/widgets/tests/test_set_state.py
+@@ -6,7 +6,7 @@
+ 
+ from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
+ 
+-from .utils import setup, teardown
++from .utils import setup
+ 
+ import ipywidgets
+ from ipywidgets import Widget
+diff --git a/ipywidgets/widgets/tests/utils.py b/ipywidgets/widgets/tests/utils.py
+index 260485e3f8..8dbbcb355b 100644
+--- a/ipywidgets/widgets/tests/utils.py
++++ b/ipywidgets/widgets/tests/utils.py
+@@ -12,7 +12,7 @@
+     NEW_COMM_PACKAGE = False
+ 
+ import ipykernel.comm
+-
++import pytest
+ 
+ class DummyComm():
+     comm_id = 'a-b-c-d'
+@@ -87,10 +87,10 @@ def teardown_test_comm():
+             setattr(Widget, attr, value)
+     _widget_attrs.clear()
+ 
++@pytest.fixture(autouse=True)
+ def setup():
+     setup_test_comm()
+-
+-def teardown():
++    yield
+     teardown_test_comm()
+ 
+ def call_method(method, *args, **kwargs):

diff --git a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild
index 9d099f8b07ae..cbbddfa905e2 100644
--- a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild
+++ b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild
@@ -31,7 +31,6 @@ BDEPEND="
 	test? (
 		dev-python/ipykernel[${PYTHON_USEDEP}]
 		dev-python/jsonschema[${PYTHON_USEDEP}]
-		<dev-python/pytest-8.1[${PYTHON_USEDEP}]
 		dev-python/pytz[${PYTHON_USEDEP}]
 	)
 "
@@ -41,6 +40,11 @@ PDEPEND="
 
 distutils_enable_tests pytest
 
+PATCHES=(
+	# https://github.com/jupyter-widgets/ipywidgets/pull/3903
+	"${FILESDIR}/${P}-pytest-8.patch"
+)
+
 python_test() {
 	local EPYTEST_DESELECT=()
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/ipywidgets/files/, dev-python/ipywidgets/
@ 2024-07-12 10:36 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2024-07-12 10:36 UTC (permalink / raw
  To: gentoo-commits

commit:     b5649922c49d7f24fbffde70a793c1af9afd3f8e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 10:12:49 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 10:36:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5649922

dev-python/ipywidgets: Enable py3.13

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../ipywidgets/files/ipywidgets-8.1.3-py313.patch  | 30 ++++++++++++++++++++++
 dev-python/ipywidgets/ipywidgets-8.1.3.ebuild      |  4 ++-
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch b/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch
new file mode 100644
index 000000000000..c8bd3e22a8a6
--- /dev/null
+++ b/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch
@@ -0,0 +1,30 @@
+From acfa9a3539648a04b11331ad07cab4393069f87f Mon Sep 17 00:00:00 2001
+From: Lumir Balhar <lbalhar@redhat.com>
+Date: Tue, 18 Jun 2024 11:58:07 +0200
+Subject: [PATCH] Make tests compatible with Python 3.13
+
+Python compiler newly removes indent from docstrings
+https://github.com/python/cpython/issues/81283
+---
+ python/ipywidgets/ipywidgets/widgets/tests/test_docutils.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/ipywidgets/widgets/tests/test_docutils.py b/ipywidgets/widgets/tests/test_docutils.py
+index 1f8b09aa34..462293326c 100644
+--- a/ipywidgets/widgets/tests/test_docutils.py
++++ b/ipywidgets/widgets/tests/test_docutils.py
+@@ -15,7 +15,7 @@ def test_substitution(self):
+         def f():
+             """ Docstring with value {key} """
+ 
+-        assert f.__doc__ == " Docstring with value 62 "
++        assert "Docstring with value 62" in f.__doc__
+ 
+     def test_unused_keys(self):
+         snippets = {'key': '62', 'other-key': 'unused'}
+@@ -24,4 +24,4 @@ def test_unused_keys(self):
+         def f():
+             """ Docstring with value {key} """
+ 
+-        assert f.__doc__ == " Docstring with value 62 "
++        assert "Docstring with value 62" in f.__doc__

diff --git a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild
index fc8deb46de9b..2d8b2a1677c2 100644
--- a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild
+++ b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1 pypi
@@ -43,6 +43,8 @@ distutils_enable_tests pytest
 PATCHES=(
 	# https://github.com/jupyter-widgets/ipywidgets/pull/3903
 	"${FILESDIR}/${P}-pytest-8.patch"
+	# https://github.com/jupyter-widgets/ipywidgets/pull/3924
+	"${FILESDIR}/${P}-py313.patch"
 )
 
 python_test() {


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/ipywidgets/files/, dev-python/ipywidgets/
@ 2024-09-07 13:06 Michał Górny
  0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2024-09-07 13:06 UTC (permalink / raw
  To: gentoo-commits

commit:     8a9aef22eb4690302ed8318ea47243e8b8a16f91
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  7 12:35:16 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep  7 12:35:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a9aef22

dev-python/ipywidgets: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/ipywidgets/Manifest                     |  1 -
 .../ipywidgets/files/ipywidgets-8.1.3-py313.patch  | 30 -------
 .../files/ipywidgets-8.1.3-pytest-8.patch          | 91 ----------------------
 dev-python/ipywidgets/ipywidgets-8.1.3.ebuild      | 64 ---------------
 4 files changed, 186 deletions(-)

diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest
index ec5fae9994da..885650768ae2 100644
--- a/dev-python/ipywidgets/Manifest
+++ b/dev-python/ipywidgets/Manifest
@@ -1,2 +1 @@
-DIST ipywidgets-8.1.3.tar.gz 116515 BLAKE2B b7a11e7078ddbd99b8713fc3aa63c78118bf00b64c376412c608a622fda1e7d0430accb0959a56a474d2eeba4b5ce531255b52bba591f2806833644e47f2a7bd SHA512 3722e3716f367c6dce88c6ec401d23240c214793672ae76a12b672f77c7c801775d3253e1202749e54832d9dc13e4bb5984ec57e21607f12c22aced8874538db
 DIST ipywidgets-8.1.5.tar.gz 116723 BLAKE2B fb616c368e75efd6a88dc1c586f16a33a0a725193e0765b0b0ec4a24764b1e8eb33e85b439a33716806e6eda4038674be8059f450695c87a88c5283d425d80b6 SHA512 b4030cc511f759db75417139575f85a797588fe48e17e7ac7debe7bff3f62ebe14dca86a21599be52b7cc6622fe7bb8e8a3dc41d0fffcabe7f77f15735cd5629

diff --git a/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch b/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch
deleted file mode 100644
index c8bd3e22a8a6..000000000000
--- a/dev-python/ipywidgets/files/ipywidgets-8.1.3-py313.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From acfa9a3539648a04b11331ad07cab4393069f87f Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Tue, 18 Jun 2024 11:58:07 +0200
-Subject: [PATCH] Make tests compatible with Python 3.13
-
-Python compiler newly removes indent from docstrings
-https://github.com/python/cpython/issues/81283
----
- python/ipywidgets/ipywidgets/widgets/tests/test_docutils.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/ipywidgets/widgets/tests/test_docutils.py b/ipywidgets/widgets/tests/test_docutils.py
-index 1f8b09aa34..462293326c 100644
---- a/ipywidgets/widgets/tests/test_docutils.py
-+++ b/ipywidgets/widgets/tests/test_docutils.py
-@@ -15,7 +15,7 @@ def test_substitution(self):
-         def f():
-             """ Docstring with value {key} """
- 
--        assert f.__doc__ == " Docstring with value 62 "
-+        assert "Docstring with value 62" in f.__doc__
- 
-     def test_unused_keys(self):
-         snippets = {'key': '62', 'other-key': 'unused'}
-@@ -24,4 +24,4 @@ def test_unused_keys(self):
-         def f():
-             """ Docstring with value {key} """
- 
--        assert f.__doc__ == " Docstring with value 62 "
-+        assert "Docstring with value 62" in f.__doc__

diff --git a/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch b/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch
deleted file mode 100644
index 0294ec1ce604..000000000000
--- a/dev-python/ipywidgets/files/ipywidgets-8.1.3-pytest-8.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-From bbc6c064aa797eb21bd5a9b441dbbc76925a72db Mon Sep 17 00:00:00 2001
-From: Lumir Balhar <lbalhar@redhat.com>
-Date: Thu, 11 Apr 2024 11:40:15 +0200
-Subject: [PATCH] Fix compatibility with pytest 8
-
-Resolves: https://github.com/jupyter-widgets/ipywidgets/issues/3883
----
- .../ipywidgets/ipywidgets/widgets/tests/test_interaction.py | 2 --
- python/ipywidgets/ipywidgets/widgets/tests/test_link.py     | 1 -
- .../ipywidgets/ipywidgets/widgets/tests/test_send_state.py  | 2 +-
- .../ipywidgets/ipywidgets/widgets/tests/test_set_state.py   | 2 +-
- python/ipywidgets/ipywidgets/widgets/tests/utils.py         | 6 +++---
- 5 files changed, 5 insertions(+), 8 deletions(-)
-
-diff --git a/ipywidgets/widgets/tests/test_interaction.py b/ipywidgets/widgets/tests/test_interaction.py
-index 0dc7e5fcfc..feb1afe50c 100644
---- a/ipywidgets/widgets/tests/test_interaction.py
-+++ b/ipywidgets/widgets/tests/test_interaction.py
-@@ -19,8 +19,6 @@
- # Utility stuff
- #-----------------------------------------------------------------------------
- 
--from .utils import setup, teardown
--
- def f(**kwargs):
-     pass
- 
-diff --git a/ipywidgets/widgets/tests/test_link.py b/ipywidgets/widgets/tests/test_link.py
-index 0c92dfdcb2..9301764d40 100644
---- a/ipywidgets/widgets/tests/test_link.py
-+++ b/ipywidgets/widgets/tests/test_link.py
-@@ -4,7 +4,6 @@
- import pytest
- 
- from .. import jslink, jsdlink, ToggleButton
--from .utils import setup, teardown
- 
- def test_jslink_args():
-     with pytest.raises(TypeError):
-diff --git a/ipywidgets/widgets/tests/test_send_state.py b/ipywidgets/widgets/tests/test_send_state.py
-index ec18ae4af1..98465b9b7d 100644
---- a/ipywidgets/widgets/tests/test_send_state.py
-+++ b/ipywidgets/widgets/tests/test_send_state.py
-@@ -3,7 +3,7 @@
- 
- from traitlets import Bool, Tuple, List
- 
--from .utils import setup, teardown, DummyComm
-+from .utils import setup
- 
- from ..widget import Widget
- 
-diff --git a/ipywidgets/widgets/tests/test_set_state.py b/ipywidgets/widgets/tests/test_set_state.py
-index 82ecbd9311..22ec54d90f 100644
---- a/ipywidgets/widgets/tests/test_set_state.py
-+++ b/ipywidgets/widgets/tests/test_set_state.py
-@@ -6,7 +6,7 @@
- 
- from traitlets import Bool, Tuple, List, Instance, CFloat, CInt, Float, Int, TraitError, observe
- 
--from .utils import setup, teardown
-+from .utils import setup
- 
- import ipywidgets
- from ipywidgets import Widget
-diff --git a/ipywidgets/widgets/tests/utils.py b/ipywidgets/widgets/tests/utils.py
-index 260485e3f8..8dbbcb355b 100644
---- a/ipywidgets/widgets/tests/utils.py
-+++ b/ipywidgets/widgets/tests/utils.py
-@@ -12,7 +12,7 @@
-     NEW_COMM_PACKAGE = False
- 
- import ipykernel.comm
--
-+import pytest
- 
- class DummyComm():
-     comm_id = 'a-b-c-d'
-@@ -87,10 +87,10 @@ def teardown_test_comm():
-             setattr(Widget, attr, value)
-     _widget_attrs.clear()
- 
-+@pytest.fixture(autouse=True)
- def setup():
-     setup_test_comm()
--
--def teardown():
-+    yield
-     teardown_test_comm()
- 
- def call_method(method, *args, **kwargs):

diff --git a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild b/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild
deleted file mode 100644
index 2d8b2a1677c2..000000000000
--- a/dev-python/ipywidgets/ipywidgets-8.1.3.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="IPython HTML widgets for Jupyter"
-HOMEPAGE="
-	https://ipywidgets.readthedocs.io/
-	https://github.com/jupyter-widgets/ipywidgets/
-	https://pypi.org/project/ipywidgets/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
-
-RDEPEND="
-	>=dev-python/comm-0.1.3[${PYTHON_USEDEP}]
-	>=dev-python/ipython_genutils-0.2.0[${PYTHON_USEDEP}]
-	>=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}]
-	>=dev-python/widgetsnbextension-4.0.11[${PYTHON_USEDEP}]
-	>=dev-python/jupyterlab-widgets-3.0.11[${PYTHON_USEDEP}]
-"
-BDEPEND="
-	test? (
-		dev-python/ipykernel[${PYTHON_USEDEP}]
-		dev-python/jsonschema[${PYTHON_USEDEP}]
-		dev-python/pytz[${PYTHON_USEDEP}]
-	)
-"
-PDEPEND="
-	>=dev-python/ipython-6.1.0[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-	# https://github.com/jupyter-widgets/ipywidgets/pull/3903
-	"${FILESDIR}/${P}-pytest-8.patch"
-	# https://github.com/jupyter-widgets/ipywidgets/pull/3924
-	"${FILESDIR}/${P}-py313.patch"
-)
-
-python_test() {
-	local EPYTEST_DESELECT=()
-
-	case ${EPYTHON} in
-		pypy3)
-			EPYTEST_DESELECT+=(
-				# https://github.com/pypy/pypy/issues/4892
-				ipywidgets/widgets/tests/test_interaction.py::test_interact_noinspect
-			)
-			;;
-	esac
-
-	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-	epytest
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-07 13:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-07 13:06 [gentoo-commits] repo/gentoo:master commit in: dev-python/ipywidgets/files/, dev-python/ipywidgets/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-07-12 10:36 Michał Górny
2024-07-12  9:39 Michał Górny
2021-07-01 17:53 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox