Package Details: tortoisehg 6.6.3-4

Git Clone URL: https://aur.archlinux.org/tortoisehg.git (read-only, click to copy)
Package Base: tortoisehg
Description: Graphical tools for Mercurial
Upstream URL: https://foss.heptapod.net/mercurial/tortoisehg/thg
Licenses: GPL
Submitter: bwalle
Maintainer: Misery
Last Packager: Misery
Votes: 126
Popularity: 0.188902
First Submitted: 2011-06-11 12:14 (UTC)
Last Updated: 2024-03-14 17:39 (UTC)

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 .. 23 Next › Last »

mjacob commented on 2019-11-14 22:21 (UTC)

I’ve sent many patches fixing py3-related bugs in TortoiseHg to the mailing list (https://groups.google.com/forum/#!forum/thg-dev) in the last days. Most of them are already in the repository (https://bitbucket.org/tortoisehg/thg/commits/).

This patch (not in the repository so far) fixes Python 3.8 support: https://groups.google.com/d/msg/thg-dev/kewSW0WK7jM/2yKL6DaGAwAJ

Surely, you will run into more crashes and bugs. You should report a bug to the TortoiseHg bug tracker (https://bitbucket.org/tortoisehg/thg/issues?status=new&status=open). If I have enough time and motivation (especially if I’m likely to also run into them), I might look into them.

chrisjbillington commented on 2019-11-14 16:56 (UTC) (edited on 2019-11-14 20:27 (UTC) by chrisjbillington)

Now that Python 3.8 is in [core], it's basically impossible to hold back the right packages to keep this tortoisehg package working.

My approach for the moment is using the mercurial-hg AUR package (which is Python3-based), and a PKGBUILD modified from the tortoisehg-hg AUR package to install tortoisehg with Python 3: https://pastebin.com/hp8vdHNy

Tortoisehg has many crashes and rough edges on Python 3, and you'll have to uninstall non-mainlined plugins you're using or find Python3 versions of them, but it is better than nothing...

(specifically thg doesn't work at all on Python3.8 due to a removed stdlib function, but that will be fixed v soon, I've patched it manually for now. Other than that it's only just usable)

chrisjbillington commented on 2019-11-09 17:11 (UTC)

python2-qscintilla-qt5 has been removed from the repositories, and python-qscintilla-qt5 has been restructured such that there is no longer a python-qscintilla-qt5-common that the python 2 and python 3 packages shared, so the existing PKGBUILD for the python2-qscintilla-qt5 package cannot simply be moved to the AUR. Getting this package working again will require making a restructured python2-qscintilla-qt5 on the AUR, potentially depending on python-qscintilla-qt5 for the components that were previously in the common package.

As usual with Qt, PyQt and mercurial, not having tortoisehg in the repositories to stay in sync with the changes in those packages means this package is temporarily broken again. I see tortoisehg has just made a feature freeze for the upcoming 5.2 release - I suspect it will be Python 3 compatible since the recently released mercurial 5.2 is Python 3 by default. So likely the fix to this issue is to get a working Python 3 tortoisehg AUR package, instead of trying to fix the python 2 Qt situation, which will only get worse as more Python 2 packages are removed from the repos.

chrisjbillington commented on 2019-09-15 16:36 (UTC)

python2-pyqt5 5.13.1 has been released with a fix for the issue leading to exceptions like:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 1-11: ordinal not in range(128)
...
ValueError: string of length 1 expected

So if you were holding back pyqt5 on account of this bug, you may now stop holding it back!

chrisjbillington commented on 2019-08-17 23:30 (UTC) (edited on 2019-08-17 23:31 (UTC) by chrisjbillington)

If you get this on system upgrade:

:: installing mercurial (5.1-1) breaks dependency 'mercurial<5.1' required by tortoisehg

You will need to hold back mercurial, and possibly anything you have installed that has mercurial as a dependency (I decided to hold back hg-evolve just in case), until tortoisehg comes out with a release supporting mercurial 5.1.

Last time tortoishg took a long time to release such a version and our gracious AUR packager updated this package to a snapshot to keep things working. Hopefully that won't be necessary this time!

abique commented on 2019-08-13 10:16 (UTC)

Same here, once I've started using it, I became "dependent" on it.

SeeLook commented on 2019-08-13 10:07 (UTC)

@Artalus Thank You a lot. I just realized I become depend on this GUI. Even I can do all its stuff by a finger I prefer to (or I used to) do this graphically. So definitely it should be in official Arch repos.

Artalus commented on 2019-08-13 09:04 (UTC)

@SeeLook sure, check Arch Linux Archive https://archive.archlinux.org/packages/p/python2-pyqt5/

SeeLook commented on 2019-08-13 08:37 (UTC)

Do you know maybe where I can get this old package. I updated system recently and forgot to mask this python2-pyqt5 version. In force of speed I cleaned old packages cache as well.