Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use gi.require_version before import and make pygobject the last import #138

Merged
merged 3 commits into from
Sep 14, 2024

Conversation

bbhtt
Copy link
Contributor

@bbhtt bbhtt commented Sep 14, 2024

Otherwise this raises a warning when running flat-manager-client.

/usr/sbin/flat-manager-client:36: PyGIWarning: OSTree was imported without specifying a version first. Use gi.require_version('OSTree', '1.0') before import to ensure that the right version gets loaded.

Fixes regression in 9689a6f

@bbhtt bbhtt force-pushed the bbhtt/fix-ostree-import branch 2 times, most recently from 5c7122e to 5e6ef9b Compare September 14, 2024 02:15
Otherwise this raises a warning when running flat-manager-client.

Fixes regression in 9689a6f
@bbhtt bbhtt changed the title Use gi.require_version before import Use gi.require_version before import and make pygobject the last import Sep 14, 2024
@barthalion barthalion merged commit 7eb09a1 into flatpak:master Sep 14, 2024
8 checks passed
@bbhtt bbhtt deleted the bbhtt/fix-ostree-import branch September 14, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants