Fix a test failure with Python 3.10
This commit is contained in:
parent
97eeafa1da
commit
ebb4da4ab6
2 changed files with 34 additions and 1 deletions
|
|
@ -1,11 +1,15 @@
|
|||
Name: python-uranium
|
||||
Version: 4.7.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A Python framework for building desktop applications
|
||||
License: LGPLv3+
|
||||
URL: https://github.com/Ultimaker/Uranium
|
||||
Source0: %{url}/archive/%{version}.tar.gz#/Uranium-%{version}.tar.gz
|
||||
|
||||
# Round coordinates before creating QPoint
|
||||
# QPoint(self.x(), self.y()): argument 1 has unexpected type 'float'
|
||||
Patch1: %{url}/commit/095a7a6848.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: /usr/bin/doxygen
|
||||
|
|
@ -109,6 +113,10 @@ popd
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Nov 27 2020 Miro Hrončok <mhroncok@redhat.com> - 4.7.1-2
|
||||
- Round coordinates before creating QPoint
|
||||
- Fixes a test failure with Python 3.10
|
||||
|
||||
* Thu Sep 03 2020 Miro Hrončok <mhroncok@redhat.com> - 4.7.1-1
|
||||
- Update to 4.7.1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue