commit:     06ad8727b9a3514e3f03c659517834d9d1aa87c2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  1 12:45:09 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul  1 14:44:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06ad8727

dev-python/ipyparallel: Port to py3.10

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

 dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild 
b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild
index 0bef8279f49..127af46a1d9 100644
--- a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild
+++ b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild
@@ -3,10 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 PYTHON_REQ_USE="threads(+)"
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
 inherit distutils-r1 optfeature
 
 DESCRIPTION="Interactive Parallel Computing with IPython"
@@ -16,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
 
 # About tests and tornado
 # Upstreams claims to work fine with tornado 5, and it's indeed possible to
@@ -40,7 +36,6 @@ BDEPEND="${RDEPEND}
        test? (
                dev-python/ipython[test]
                dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
                dev-python/testpath[${PYTHON_USEDEP}]
        )
        "
@@ -60,6 +55,11 @@ python_test() {
                ipyparallel/tests/test_view.py::TestView::test_unicode_execute
                
ipyparallel/tests/test_view.py::TestView::test_sync_imports_quiet
        )
+       [[ ${EPYTHON} == python3.10 ]] && deselect+=(
+               # failing due to irrelevant warnings
+               
ipyparallel/tests/test_client.py::TestClient::test_local_ip_true_doesnt_trigger_warning
+               
ipyparallel/tests/test_client.py::TestClient::test_warning_on_hostname_match
+       )
        epytest ${deselect[@]/#/--deselect }
 }
 

Reply via email to