Bug 32591 - mercurial 5.9.2 update request
Summary: mercurial 5.9.2 update request
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2023-12-03 20:54 CET by R Ghetta
Modified: 2023-12-07 14:00 CET (History)
5 users (show)

See Also:
Source RPM: mercurial-5.9.2-1.1.mga9, tortoisehg
CVE:
Status comment:


Attachments
Diff with change from the current spec (1.14 KB, patch)
2023-12-05 06:58 CET, katnatek
Details | Diff
Patch for Use gi.require_version('Gtk', '4.0') warning (523 bytes, patch)
2023-12-05 06:59 CET, katnatek
Details | Diff

Description R Ghetta 2023-12-03 20:54:33 CET
Description of problem:
mercurial 5.9.2 as carried by mga9 is over two years old. Latest is 6.5.1

Version-Release number of selected component (if applicable):
5.9.2-1.1.mga9
Comment 1 Morgan Leijström 2023-12-03 21:54:00 CET
Thank you for the heads up.

Assigning to the registered maintainer.

Assignee: bugsquad => makowski.mageia
CC: (none) => fri
Summary: mercurial 5.9.2 is obsolete => mercurial 5.9.2 update request

Comment 2 David GEIGER 2023-12-04 17:27:47 CET
Assigning to QA,


Packages in 9/Core/Updates_testing:
======================
mercurial-6.5.1-1.mga9
tortoisehg-caja-6.5.1-1.mga9.noarch.rpm
tortoisehg-6.5.1-1.mga9.noarch.rpm
tortoisehg-nautilus-6.5.1-1.mga9.noarch.rpm

From SRPMS:
mercurial-6.5.1-1.mga9.src.rpm
tortoisehg-6.5.1-1.mga9.src.rpm

CC: (none) => geiger.david68210
Assignee: makowski.mageia => qa-bugs

Comment 3 Morgan Leijström 2023-12-04 18:18:04 CET
Thank you David.

@ R Ghetta please test and report here.

Probably not many else here use it.
Comment 4 R Ghetta 2023-12-04 20:27:58 CET
Hi,
first, many thanks for a lightning fast update, very much appreciated!

Tests:
mercurial:  ok
hg-git:     ok
tortoisehg: ok
tortoisehg-caja: seems ok

I've tried also tortoisehg-nautilus, but both the previous 6.2.2 and this build fail to load with
(org.gnome.Nautilus:110120): Gtk-WARNING **: 18:44:20.235: Unknown key gtk-modules in /opt/home/svil/.config/gtk-4.0/settings.ini
/usr/share/nautilus-python/extensions/nautilus-thg.py:16: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import (  # pytype: disable=import-error
Traceback (most recent call last):
  File "/usr/share/nautilus-python/extensions/nautilus-thg.py", line 416, in <module>
    class HgExtension(HgExtensionIcons, Nautilus.MenuProvider, Nautilus.ColumnProvider, Nautilus.PropertyPageProvider, Nautilus.InfoProvider):
  File "/usr/lib64/python3.10/site-packages/gi/module.py", line 126, in __getattr__
    raise AttributeError("%r object has no attribute %r" % (
AttributeError: 'gi.repository.Nautilus' object has no attribute 'PropertyPageProvider'. Did you mean: 'PropertiesModelProvider'?
Comment 5 katnatek 2023-12-05 06:55:10 CET
(In reply to R Ghetta from comment #4)
> Hi,
> first, many thanks for a lightning fast update, very much appreciated!
> 
> Tests:
> mercurial:  ok
> hg-git:     ok
> tortoisehg: ok
> tortoisehg-caja: seems ok
> 
> I've tried also tortoisehg-nautilus, but both the previous 6.2.2 and this
> build fail to load with
> (org.gnome.Nautilus:110120): Gtk-WARNING **: 18:44:20.235: Unknown key
> gtk-modules in /opt/home/svil/.config/gtk-4.0/settings.ini
> /usr/share/nautilus-python/extensions/nautilus-thg.py:16: PyGIWarning: Gtk
> was imported without specifying a version first. Use
> gi.require_version('Gtk', '4.0') before import to ensure that the right
> version gets loaded.

I fix the previous error but not the follow:
>   from gi.repository import (  # pytype: disable=import-error
> Traceback (most recent call last):
>   File "/usr/share/nautilus-python/extensions/nautilus-thg.py", line 416, in
> <module>
>     class HgExtension(HgExtensionIcons, Nautilus.MenuProvider,
> Nautilus.ColumnProvider, Nautilus.PropertyPageProvider,
> Nautilus.InfoProvider):
>   File "/usr/lib64/python3.10/site-packages/gi/module.py", line 126, in
> __getattr__
>     raise AttributeError("%r object has no attribute %r" % (
> AttributeError: 'gi.repository.Nautilus' object has no attribute
> 'PropertyPageProvider'. Did you mean: 'PropertiesModelProvider'?
Comment 6 katnatek 2023-12-05 06:58:09 CET
Created attachment 14196 [details]
Diff with change from the current spec
Comment 7 katnatek 2023-12-05 06:59:18 CET
Created attachment 14197 [details]
Patch for Use gi.require_version('Gtk', '4.0') warning
Comment 8 David GEIGER 2023-12-05 07:45:21 CET
> AttributeError: 'gi.repository.Nautilus' object has no attribute
> 'PropertyPageProvider'. Did you mean: 'PropertiesModelProvider'?

This should be reported upstream at https://foss.heptapod.net/mercurial/tortoisehg/thg/-/issues

Seems they have not ported this python extension to nautilus-4.
Comment 9 Marja Van Waes 2023-12-05 12:38:35 CET

Here https://tortoisehg.bitbucket.io/ it says;

News

<skip>

The hg-git extension has not yet been updated to work with 6.5.


Should that be added to the advisory?

CC: (none) => marja11
Source RPM: mercurial-5.9.2-1.1.mga9.src.rpm => mercurial-5.9.2-1.1.mga9, tortoisehg

Comment 10 Marja Van Waes 2023-12-05 15:14:49 CET
(In reply to Marja Van Waes from comment #9)
> 
> Here https://tortoisehg.bitbucket.io/ it says;
> 
> News
> 
> <skip>
> 
> The hg-git extension has not yet been updated to work with 6.5.
> 
> 
> Should that be added to the advisory?

Advisry without that remard uploaded to SVN:

type: bugfix
subject: Updated mercurial and tortoisehg packages fix many bugs
src:
  9:
   core:
     - mercurial-6.5.1-1.mga9
     - tortoisehg-6.5.1-1.mga9
description: |
  With this update, many upstream bugfixes and improvements are imported.
references:
 - https://bugs.mageia.org/show_bug.cgi?id=32591
 - https://wiki.mercurial-scm.org/WhatsNew
 - https://tortoisehg.bitbucket.io/

That remark can be added, if desired.

Keywords: (none) => advisory

Comment 11 katnatek 2023-12-05 19:34:39 CET
I update from the current to the proposed packages without issues
As the errors in tortoisehg-nautilus need to be reported upstream
I give the OK to this

Whiteboard: (none) => MGA9-64-OK

Comment 12 Thomas Andrews 2023-12-06 04:09:24 CET
Thank you, everyone. Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 13 Mageia Robot 2023-12-07 14:00:18 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0136.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.