lp:pygobject

Created by Jelmer Vernooij and last modified
Get this branch:
bzr branch lp:pygobject

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
pygobject
Status:
Development

Import details

Import Status: Failed

This branch is an import of the HEAD branch of the Git repository at https://gitlab.gnome.org/GNOME/pygobject.git.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 5 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 10 seconds — see the log

Recent revisions

3614. By Mathieu Duponchelle <email address hidden>

gimodule: fix floating state of python objects created with g_object_new

If C code calls g_object_new() for a GInitiallyUnowned subclass
implemented in python, the expectation is to receive a floating
reference.

The solution is used is the same picked for
5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4, this is simply a special
case that was omitted at the time.

3613. By Christoph Reiter

Add .venv to .gitignore

3612. By Arjan Molenaar

Use quark variable for class on gtype

3611. By Arjan Molenaar

replace gpointer by more specific types

3610. By Emmanuele Bassi <email address hidden>

Do not error out for unknown scopes

If gobject-introspection adds a new scope that we do not handle, we
should definitely not error out. Printing out a critical warning and
asking to file an issue should be enough.

3609. By Miro HronĨok

Implement DynamicImporter.find_spec()

On Python 3.10, the code raised an ImportWarning:

    ImportWarning: DynamicImporter.find_spec() not found; falling back to find_module()

See https://docs.python.org/3.10/whatsnew/3.10.html#deprecated

> Starting in this release, there will be a concerted effort to begin cleaning
> up old import semantics that were kept for Python 2.7 compatibility.
> Specifically, find_loader()/find_module() (superseded by find_spec()),
> load_module() (superseded by exec_module()), module_repr()
> (which the import system takes care of for you),
> the __package__ attribute (superseded by __spec__.parent),
> the __loader__ attribute (superseded by __spec__.loader),
> and the __cached__ attribute (superseded by __spec__.cached)
> will slowly be removed (as well as other classes and methods in importlib).
> ImportWarning and/or DeprecationWarning will be raised as appropriate to help
> identify code which needs updating during this transition.

Fixes https://gitlab.gnome.org/GNOME/pygobject/-/issues/473

3608. By Christoph Reiter

gtk overrides: restore Gtk.ListStore.insert_with_valuesv with newer gtk4

It got renamed in gtk 4.1.0, see https://gitlab.gnome.org/GNOME/gtk/-/commit/a1216599ff6b39bca3e936fbf
To avoid an API break and make porting easier provide both versions for
all users.

Fixes #467

3607. By Christoph Reiter

tests: silence a deprecation warning with newer glib

3606. By Christoph Reiter

poetry: add support for sphinx v4 and sphinx-rtd-theme v1

Tested with 4.2 and 1.0 and things loog good

3605. By Christoph Reiter

Drop support for Python 3.6

It will be EOL before the next release.
This means Ubuntu 18.04 (without backports) is no longer supported,
we will move to Debian Buster as the new oldest tested target.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.