Re: [gtk-osx-users] High Sierra issues

Op 03-06-18 om 02:31 schreef John Ralls:
On Jun 2, 2018, at 1:24 PM, Christoph Reiter<reiter christoph gmail com>  wrote:

On Sat, Jun 2, 2018 at 9:56 PM, John Ralls<jralls ceridwen us>  wrote:

Well, I can easily add your pixman patch if you'll do a PR. I've hit the "six" issue but with gtk-doc rather 
than glib. I'm not sure why I didn't hit it this time, maybe PyPI is installing it somewhere global instead of into 
$PREFIX. The problem with it is that I haven't figured out a good way to handle PyPI in jhbuild. I've experimentally 
added a couple of modules by tarball reference in unstable, but it's a PITA because they have ugly URIs and PyPI 
doesn't keep old releases so it breaks every time there's a new package.
It's a bit hidden, but you can access pypi releases by package/filename:
That's not much help, they still take the old versions down as soon as a new one goes up, breaking the module.
Chiming in here. It should be fine in my experience. You can browse the release history to get the correct links:

Here's an example moduleset to install six from PyPI. Six 1.11.0 is the latest version, below it's set to 1.10.0 to test the fixed/older version.

<?xml version="1.0"?>
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
    <metamodule id="python-deps">
            <dep package="six"/>
    <repository type="tarball" name="pypi"
    <distutils id="six">
        <branch repo="pypi" version="1.10.0"

Used with:

$ jhbuild -m pypi.modules build six

Rerun install phase of Glib and no problems.

For others who come here through Google, a quick manual way to install six without downloading and moving files like OP is the following:

Drop to the jhbuild shell when glib installation fails
$ curl -o
$ python
$ pip install six
$ exit
Rerun phase install


John Ralls

Gtk-osx-users-list mailing list
Gtk-osx-users-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]