Loading pkgs/by-name/py/pympress/issue-330-gprops-iter-actually-iterable.patchdeleted 100644 → 0 +0 −11 Original line number Diff line number Diff line --- i/pympress/builder.py +++ w/pympress/builder.py @@ -76,7 +76,7 @@ class Builder(Gtk.Builder): Args: a_widget (:class:`~GObject.Object`): an object built by the builder, usually a widget """ - for str_prop in (prop.name for prop in a_widget.props if prop.value_type == GObject.TYPE_STRING): + for str_prop in (prop.name for prop in list(a_widget.props) if prop.value_type == GObject.TYPE_STRING): try: str_val = getattr(a_widget.props, str_prop) if str_val: pkgs/by-name/py/pympress/package.nix +0 −7 Original line number Diff line number Diff line Loading @@ -30,13 +30,6 @@ python3Packages.buildPythonApplication (finalAttrs: { babel ]; patches = [ # Workaround for a bug on Python >= 3.13+ and pygobject < 3.51. # This can go away once nixpkgs is using pygobject >= 3.51. # See <https://github.com/Cimbali/pympress/issues/330> for details. ./issue-330-gprops-iter-actually-iterable.patch ]; dependencies = with python3Packages; [ Loading Loading
pkgs/by-name/py/pympress/issue-330-gprops-iter-actually-iterable.patchdeleted 100644 → 0 +0 −11 Original line number Diff line number Diff line --- i/pympress/builder.py +++ w/pympress/builder.py @@ -76,7 +76,7 @@ class Builder(Gtk.Builder): Args: a_widget (:class:`~GObject.Object`): an object built by the builder, usually a widget """ - for str_prop in (prop.name for prop in a_widget.props if prop.value_type == GObject.TYPE_STRING): + for str_prop in (prop.name for prop in list(a_widget.props) if prop.value_type == GObject.TYPE_STRING): try: str_val = getattr(a_widget.props, str_prop) if str_val:
pkgs/by-name/py/pympress/package.nix +0 −7 Original line number Diff line number Diff line Loading @@ -30,13 +30,6 @@ python3Packages.buildPythonApplication (finalAttrs: { babel ]; patches = [ # Workaround for a bug on Python >= 3.13+ and pygobject < 3.51. # This can go away once nixpkgs is using pygobject >= 3.51. # See <https://github.com/Cimbali/pympress/issues/330> for details. ./issue-330-gprops-iter-actually-iterable.patch ]; dependencies = with python3Packages; [ Loading