From 95d1e0db26c89fe3462817eb4335a4ec79e062b44167d2aa3af4357c3128ccaf Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 19 Mar 2023 16:05:51 +0000 Subject: [PATCH] - Update to 5.4.1 * Fix crash at startup with PySide6. * Cast images width and height to int when trying to insert them. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-qtconsole?expand=0&rev=52 --- python-qtconsole.changes | 7 +++++++ python-qtconsole.spec | 14 ++++++++------ qtconsole-5.4.0.tar.gz | 3 --- qtconsole-5.4.1.tar.gz | 3 +++ 4 files changed, 18 insertions(+), 9 deletions(-) delete mode 100644 qtconsole-5.4.0.tar.gz create mode 100644 qtconsole-5.4.1.tar.gz diff --git a/python-qtconsole.changes b/python-qtconsole.changes index 2798554..d98b39f 100644 --- a/python-qtconsole.changes +++ b/python-qtconsole.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun Mar 19 15:57:44 UTC 2023 - Ben Greiner + +- Update to 5.4.1 + * Fix crash at startup with PySide6. + * Cast images width and height to int when trying to insert them. + ------------------------------------------------------------------- Sat Nov 5 19:52:20 UTC 2022 - Arun Persaud diff --git a/python-qtconsole.spec b/python-qtconsole.spec index 0a055c2..f1e0c2d 100644 --- a/python-qtconsole.spec +++ b/python-qtconsole.spec @@ -1,7 +1,7 @@ # # spec file for package python-qtconsole # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,13 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 %if 0%{?suse_version} > 1500 %bcond_without libalternatives %else %bcond_with libalternatives %endif Name: python-qtconsole -Version: 5.4.0 +Version: 5.4.1 Release: 0 Summary: Jupyter Qt console License: BSD-3-Clause @@ -33,7 +31,9 @@ URL: https://github.com/jupyter/qtconsole Source0: https://files.pythonhosted.org/packages/source/q/qtconsole/qtconsole-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module jupyter-core} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gdb @@ -49,6 +49,7 @@ Requires: python-ipykernel >= 4.1 Requires: python-ipython_genutils Requires: python-jupyter-client >= 4.1 Requires: python-jupyter-core +Requires: python-packaging Requires: python-pyzmq >= 17.1 Requires: python-traitlets Conflicts: python-traitlets = 5.2.1 @@ -74,6 +75,7 @@ BuildRequires: %{python_module flaky} BuildRequires: %{python_module ipykernel >= 4.1} BuildRequires: %{python_module ipython_genutils} BuildRequires: %{python_module jupyter-client >= 4.1} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module pytest-qt} BuildRequires: %{python_module pytest-xvfb} BuildRequires: %{python_module pytest} @@ -91,11 +93,11 @@ supporting rich media output, session export, and more. %setup -q -n qtconsole-%{version} %build -%python_build +%pyproject_wheel %install export LANG=en_US.UTF-8 -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/jupyter-qtconsole diff --git a/qtconsole-5.4.0.tar.gz b/qtconsole-5.4.0.tar.gz deleted file mode 100644 index 43d81fa..0000000 --- a/qtconsole-5.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57748ea2fd26320a0b77adba20131cfbb13818c7c96d83fafcb110ff55f58b35 -size 431119 diff --git a/qtconsole-5.4.1.tar.gz b/qtconsole-5.4.1.tar.gz new file mode 100644 index 0000000..d30d5ed --- /dev/null +++ b/qtconsole-5.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f67a03f40f722e13261791280f73068dbaf9dafcc335cbba644ccc8f892640e5 +size 436651