Issue
While looking up the links for the comment I left, I discovered why the OP is having an issue. I don't know how the OP forced python 3.6 to be used but according to the Meld Website, the minimum requirement is Python 3.4. That can be said like this:
3.4.x <= python <= 3.13.x
3.13 is the current version as of this answer.
The OP is confusing the soft dependency on python36 for Cygwin Package: Meld for a hard dependency, because unfortunately the now long gone maintainer packaged the file incorrectly by not using the meta python package as the dependency. The issue is further compounded by the dependency for Cygwin Package: python3-gi, which is a meta-package currently filled by Cygwin Package: python39-gi. <=== This was packaged correctly using the python meta-package as a dependency.
This error:
File "/usr/bin/meld", line 193, in check_requirements
gi.require_version("Gtk", "3.0")
is occurring because the minimum value for the gi bits is 3.9 which isn't the 3.6 in the dependency graph for meld Fix this by:
- Removing all versions of python using the Cygwin Installer
- Install the meta-package
python which will install the default Cygwin Python which is currently 3.9
- This should perform version matching for all packages required by
python39, one of which may be GTK-3.x. I can't tell if gi is failing because the minimum Python is 3.9 or if GTK is failing because the version is < 3.
- Reinstall
meld
- Per comment below:
cd /usr/lib/python3.6/ && mv -Rv ./site-packages/* /usr/lib/python3.9/site-packages/
Marcus and I both agree that 3.9 is a bit old for Python, but that's the trade-off when using a toolset (Cygwin) that is just a DLL bridge for Windows.