From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4193413835C for ; Sun, 18 Apr 2021 07:06:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80099E0827; Sun, 18 Apr 2021 07:06:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33EB1E0826 for ; Sun, 18 Apr 2021 07:06:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2F8E7335D47 for ; Sun, 18 Apr 2021 07:06:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CBA0722 for ; Sun, 18 Apr 2021 07:05:57 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1618729538.dcd217e469283bbd40b4cd9d3b8f65333962502e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jupyter_console/, dev-python/jupyter_console/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jupyter_console/Manifest dev-python/jupyter_console/files/jupyter_console-6.1.0-increase-test-timeout.patch dev-python/jupyter_console/files/jupyter_console-6.1.0-py39.patch dev-python/jupyter_console/jupyter_console-6.1.0-r2.ebuild X-VCS-Directories: dev-python/jupyter_console/files/ dev-python/jupyter_console/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: dcd217e469283bbd40b4cd9d3b8f65333962502e X-VCS-Branch: master Date: Sun, 18 Apr 2021 07:05:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7db6456a-b826-49bc-82cc-fb2cd54f3b5d X-Archives-Hash: bcfded18f99b759c465f2e7bed69129a commit: dcd217e469283bbd40b4cd9d3b8f65333962502e Author: Michał Górny gentoo org> AuthorDate: Sun Apr 18 06:49:23 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Apr 18 07:05:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd217e4 dev-python/jupyter_console: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/jupyter_console/Manifest | 1 - ...pyter_console-6.1.0-increase-test-timeout.patch | 15 ------- .../files/jupyter_console-6.1.0-py39.patch | 51 ---------------------- .../jupyter_console-6.1.0-r2.ebuild | 49 --------------------- 4 files changed, 116 deletions(-) diff --git a/dev-python/jupyter_console/Manifest b/dev-python/jupyter_console/Manifest index 219360b6e4c..1dcf9942d4f 100644 --- a/dev-python/jupyter_console/Manifest +++ b/dev-python/jupyter_console/Manifest @@ -1,3 +1,2 @@ -DIST jupyter_console-6.1.0.tar.gz 28468 BLAKE2B 08ef158de6a0eb8fe741dac00b74e11f7e577b5097f54aa16c47ae9e39607231e19a1fcd0a96cbae41d41fad891fefdb532d0f66bc03aa66ff99a8d3ff3cb28c SHA512 abb5457a90d109457e91071cd8b592a14bec7ead75fd667d656f9180a457e39bf470877b2e17c81ff512d1cc69b62a8f700996492f6164eb05a1581db82abbf7 DIST jupyter_console-6.3.0.tar.gz 35313 BLAKE2B 980eac57de949654bf99d99eb74d8600d73d0699ab394e0ad4c5e937fdc278477442e0e95887c95f631ba1bc2b2469c36cc6e4bca8d5f11f97c4943c2f312c4f SHA512 777d9cf8b842eccea108a1857c421fec1bcdf8c226a6947d7ff4ee5d5da4bdbb50096e9e63638053d8eb200e55c093c753010ffb1460dae5579de16aad4e64a6 DIST jupyter_console-6.4.0.tar.gz 35765 BLAKE2B 48278110338184dbcae242a059c3ba7e0c642d24eaac828786ff9f3c588747f447727a8da1d366ed305eeb5d003d4fabd9b9eea063e8fd5178774108cbef77da SHA512 e2b301cfd3a56ee4cf33d5cfb297726d0f4478562167ed0f0a9320d389118fa661a85b6a5ef24db60673a76d84545bcdb9741bfdd9f8d13ccdbbc5c5e52d7227 diff --git a/dev-python/jupyter_console/files/jupyter_console-6.1.0-increase-test-timeout.patch b/dev-python/jupyter_console/files/jupyter_console-6.1.0-increase-test-timeout.patch deleted file mode 100644 index 684ecfc0a84..00000000000 --- a/dev-python/jupyter_console/files/jupyter_console-6.1.0-increase-test-timeout.patch +++ /dev/null @@ -1,15 +0,0 @@ -Very slow CIs take longer on this test - ---- a/jupyter_console/tests/test_console.py -+++ b/jupyter_console/tests/test_console.py -@@ -65,8 +65,8 @@ - except IOError: - raise SkipTest("Couldn't find command %s" % cmd) - -- # timeout after one minute -- t = 60 -+ # timeout after 5 minutes -+ t = 300 - idx = p.expect(r'In \[\d+\]', timeout=t) - return p, pexpect, t - diff --git a/dev-python/jupyter_console/files/jupyter_console-6.1.0-py39.patch b/dev-python/jupyter_console/files/jupyter_console-6.1.0-py39.patch deleted file mode 100644 index 92d3532649e..00000000000 --- a/dev-python/jupyter_console/files/jupyter_console-6.1.0-py39.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 3b648aab9ce731beab1f02d714a97905ab0e42e1 Mon Sep 17 00:00:00 2001 -From: Karthikeyan Singaravelan -Date: Thu, 2 Jan 2020 18:30:41 +0530 -Subject: [PATCH] Fix deprecation warning in base64 - ---- - jupyter_console/ptshell.py | 6 +++--- - jupyter_console/tests/test_image_handler.py | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/jupyter_console/ptshell.py b/jupyter_console/ptshell.py -index 84af32f..6a55fe1 100644 ---- a/jupyter_console/ptshell.py -+++ b/jupyter_console/ptshell.py -@@ -818,12 +818,12 @@ def handle_image_PIL(self, data, mime): - from PIL import Image, ImageShow - except ImportError: - return False -- raw = base64.decodestring(data[mime].encode('ascii')) -+ raw = base64.decodebytes(data[mime].encode('ascii')) - img = Image.open(BytesIO(raw)) - return ImageShow.show(img) - - def handle_image_stream(self, data, mime): -- raw = base64.decodestring(data[mime].encode('ascii')) -+ raw = base64.decodebytes(data[mime].encode('ascii')) - imageformat = self._imagemime[mime] - fmt = dict(format=imageformat) - args = [s.format(**fmt) for s in self.stream_image_handler] -@@ -835,7 +835,7 @@ def handle_image_stream(self, data, mime): - return (proc.returncode == 0) - - def handle_image_tempfile(self, data, mime): -- raw = base64.decodestring(data[mime].encode('ascii')) -+ raw = base64.decodebytes(data[mime].encode('ascii')) - imageformat = self._imagemime[mime] - filename = 'tmp.{0}'.format(imageformat) - with NamedFileInTemporaryDirectory(filename) as f, \ -diff --git a/jupyter_console/tests/test_image_handler.py b/jupyter_console/tests/test_image_handler.py -index 5296635..b2a5ea9 100644 ---- a/jupyter_console/tests/test_image_handler.py -+++ b/jupyter_console/tests/test_image_handler.py -@@ -32,7 +32,7 @@ def setUp(self): - self.shell = NonCommunicatingShell() - self.raw = b'dummy data' - self.mime = 'image/png' -- self.data = {self.mime: base64.encodestring(self.raw).decode('ascii')} -+ self.data = {self.mime: base64.encodebytes(self.raw).decode('ascii')} - - def test_call_pil_by_default(self): - pil_called_with = [] diff --git a/dev-python/jupyter_console/jupyter_console-6.1.0-r2.ebuild b/dev-python/jupyter_console/jupyter_console-6.1.0-r2.ebuild deleted file mode 100644 index bf212386341..00000000000 --- a/dev-python/jupyter_console/jupyter_console-6.1.0-r2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit distutils-r1 - -DESCRIPTION="A terminal-based console frontend for Jupyter kernels" -HOMEPAGE="https://jupyter.org" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" - -RDEPEND=" - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/ipykernel[${PYTHON_USEDEP}] - dev-python/jupyter_client[${PYTHON_USEDEP}] -