Round coordinates on getFaceIdAtPosition, to fix crash with Python 3.10+

Fixes https://bugzilla.redhat.com/2021157

Patch by Elia Devito <eliadevito@gmail.com>
This commit is contained in:
Miro Hrončok 2021-11-08 14:50:29 +01:00
commit fe5b0b0d94
2 changed files with 39 additions and 1 deletions

View file

@ -1,11 +1,16 @@
Name: python-uranium
Version: 4.11.0
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 on getFaceIdAtPosition, to fix crash with Python 3.10+
# Merged upstream
# Fixes https://bugzilla.redhat.com/2021157
Patch1: %{url}/pull/750.patch
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: /usr/bin/doxygen
@ -109,6 +114,11 @@ popd
%changelog
* Mon Nov 08 2021 Miro Hrončok <mhroncok@redhat.com> - 4.11.0-2
- Round coordinates on getFaceIdAtPosition, to fix crash with Python 3.10+
- Fixes a crash when using "Select face to align to the build plate" tool
- Fixes rhbz#2021157
* Wed Sep 15 2021 Gabriel Féron <feron.gabriel@gmail.com> - 4.11.0-1
- Update to 4.11.0