Accepting request 1072944 from devel:languages:python:jupyter

- 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/request/show/1072944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-qtconsole?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2023-03-21 16:40:20 +00:00 committed by Git OBS Bridge
commit 7c7242817d
4 changed files with 18 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 19 15:57:44 UTC 2023 - Ben Greiner <code@bnavigator.de>
- 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 <arun@gmx.de>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57748ea2fd26320a0b77adba20131cfbb13818c7c96d83fafcb110ff55f58b35
size 431119

3
qtconsole-5.4.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f67a03f40f722e13261791280f73068dbaf9dafcc335cbba644ccc8f892640e5
size 436651