public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-jupyter-kernel-test] epel10: Add patch for upstream issue #42
Date: Sat, 11 Jul 2026 15:45:29 GMT [thread overview]
Message-ID: <178378472979.1.6827544569954196247.rpms-python-jupyter-kernel-test-1b516a265579@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-jupyter-kernel-test
Branch : epel10
Commit : 1b516a2655794bf916a6a07d590252b068e1487e
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2018-07-02T22:34:36+02:00
Stats : +27/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-jupyter-kernel-test/c/1b516a2655794bf916a6a07d590252b068e1487e?branch=epel10
Log:
Add patch for upstream issue #42
---
diff --git a/0b78c2835fad5df3be182ddd5013a73a63c4f81e.patch b/0b78c2835fad5df3be182ddd5013a73a63c4f81e.patch
new file mode 100644
index 0000000..3a81086
--- /dev/null
+++ b/0b78c2835fad5df3be182ddd5013a73a63c4f81e.patch
@@ -0,0 +1,23 @@
+From 0b78c2835fad5df3be182ddd5013a73a63c4f81e Mon Sep 17 00:00:00 2001
+From: Thomas Kluyver <thomas@kluyver.me.uk>
+Date: Mon, 2 Jul 2018 22:27:09 +0200
+Subject: [PATCH] Fix test for changed IPython behaviour
+
+Closes gh-42
+---
+ test_ipykernel.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test_ipykernel.py b/test_ipykernel.py
+index 8abe86a..fe85aff 100644
+--- a/test_ipykernel.py
++++ b/test_ipykernel.py
+@@ -46,7 +46,7 @@ class IPyKernelTests(jkt.KernelTests):
+ # these samples should respectively be unambigiously complete statements
+ # (which should be executed on <enter>), incomplete statements or code
+ # which should be identified as invalid
+- complete_code_samples = ['1', "print('hello, world')", "def f(x):\n return x*2\n\n"]
++ complete_code_samples = ['1', "print('hello, world')", "def f(x):\n return x*2\n\n\n"]
+ incomplete_code_samples = ["print('''hello", "def f(x):\n x*2"]
+ invalid_code_samples = ['import = 7q']
+
diff --git a/python-jupyter-kernel-test.spec b/python-jupyter-kernel-test.spec
index 4cd6420..3bf64a4 100644
--- a/python-jupyter-kernel-test.spec
+++ b/python-jupyter-kernel-test.spec
@@ -10,6 +10,9 @@ License: BSD
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://github.com/jupyter/%{srcname_}/archive/%{version}/%{srcname}-%{version}.tar.gz
+# https://github.com/jupyter/jupyter_kernel_test/issues/42
+Patch0: https://github.com/jupyter/jupyter_kernel_test/commit/0b78c2835fad5df3be182ddd5013a73a63c4f81e.patch
+
BuildArch: noarch
# No support for Python 2.
@@ -43,7 +46,7 @@ successful code execution and conformance with the Jupyter Messaging Protocol
%prep
-%autosetup -n %{srcname_}-%{version}
+%autosetup -n %{srcname_}-%{version} -p1
%build
reply other threads:[~2026-07-11 15:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178378472979.1.6827544569954196247.rpms-python-jupyter-kernel-test-1b516a265579@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox