Package Details: system76-driver 24.04.14-3

Git Clone URL: https://aur.archlinux.org/system76-driver.git (read-only, click to copy)
Package Base: system76-driver
Description: Universal driver for System76 computers
Upstream URL: https://github.com/pop-os/system76-driver
Licenses: GPL-2.0-or-later
Submitter: ava1ar
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 23
Popularity: 0.000000
First Submitted: 2013-08-18 05:41 (UTC)
Last Updated: 2025-12-30 19:00 (UTC)

Latest Comments

1 2 3 4 5 6 .. 18 Next › Last »

yochananmarqos commented on 2025-12-30 19:01 (UTC)

@raxod502: Thanks, fixed.

raxod502 commented on 2025-12-30 02:40 (UTC)

How about applying the change mentioned in https://github.com/pop-os/system76-driver/issues/197#issuecomment-1192945587, to resolve the bug mentioned in https://wiki.archlinux.org/title/System76_Oryx_Pro#Modules_2?

yochananmarqos commented on 2025-02-12 02:08 (UTC)

@aujxn: The tests pass in a clean chroot. Either way, I've relaxed the test so it won't stop on failure.

aujxn commented on 2025-02-12 02:01 (UTC)

@yochananmarqos Even with 'not test_gtk' in the pkgbuild it still tries to run the test and fails for me

sanders41 commented on 2025-01-15 13:09 (UTC)

The program is crashing when opened with the error

Traceback (most recent call last):
  File "/usr/bin/system76-driver", line 28, in <module>
    import system76driver
ModuleNotFoundError: No module named 'system76driver'

sanders41 commented on 2024-11-21 15:53 (UTC)

The Gtk 4.0 check seems to be a hard error now.

system76driver/tests/test_gtk.py:32: in <module>
    from system76driver import gtk
system76driver/gtk.py:29: in <module>
    gi.require_version('Gtk', '3.0')
/usr/lib/python3.12/site-packages/gi/__init__.py:113: in require_version
    raise ValueError('Namespace %s is already loaded with version %s' %
E   ValueError: Namespace Gtk is already loaded with version 4.0
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'system76-driver-20.04.100-1':
error: packages failed to build: system76-driver-20.04.100-1

yochananmarqos commented on 2024-08-19 21:12 (UTC) (edited on 2024-08-19 21:13 (UTC) by yochananmarqos)

@nameless: I see. Gtk4 is not required by this package, therefore the tests get confused about it being present.

Either way, the tests failing will not stop the package from building.

EDIT: I made edits.

nameless commented on 2024-08-19 20:51 (UTC)

@yochananmarqos: Thanks for the correction. There's both a warning and an error. I should have been clearer that I had both.

The error I'm referring to is this one: ERROR system76driver/tests/test_gtk.py - ValueError: Namespace Gtk is already loaded with version 4.0. It's in the installation log output. It seems to only affect the tests.

yochananmarqos commented on 2024-08-19 19:26 (UTC)

@nameless: It's warning, not an error. The build completes in a clean chroot.

The warning is valid, however it doesn't really make any difference. If you know Python and Gtk well enough to create a comprehensive upstream issue, feel free.

nameless commented on 2024-08-19 18:56 (UTC) (edited on 2024-08-19 18:58 (UTC) by nameless)

I ran into an error in check(). It does look like the package builds, but there are failing tests. Should this be reported upstream?

Installation Log
==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.12/site-packages/setuptools/dist.py:318: InformationOnly: Normalizing '20.04.94' to '20.4.94'
  self.metadata.version = self._normalize_version(self.metadata.version)
* Building wheel...
/usr/lib/python3.12/site-packages/setuptools/dist.py:318: InformationOnly: Normalizing '20.04.94' to '20.4.94'
  self.metadata.version = self._normalize_version(self.metadata.version)
Successfully built system76driver-20.4.94-py3-none-any.whl
==> Starting check()...
======================================================== test session starts =========================================================
platform linux -- Python 3.12.4, pytest-8.3.2, pluggy-1.5.0
rootdir: /home/gxd/.cache/paru/clone/system76-driver/src/system76-driver
plugins: typeguard-4.3.0
collected 109 items / 1 error                                                                                                        

=============================================================== ERRORS ===============================================================
_________________________________________ ERROR collecting system76driver/tests/test_gtk.py __________________________________________
system76driver/tests/test_gtk.py:32: in <module>
    from system76driver import gtk
system76driver/gtk.py:29: in <module>
    gi.require_version('Gtk', '3.0')
/usr/lib/python3.12/site-packages/gi/__init__.py:113: in require_version
    raise ValueError('Namespace %s is already loaded with version %s' %
E   ValueError: Namespace Gtk is already loaded with version 4.0
========================================================== warnings summary ==========================================================
system76driver/tests/test_gtk.py:28
  /home/gxd/.cache/paru/clone/system76-driver/src/system76-driver/system76driver/tests/test_gtk.py:28: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================================================== short test summary info =======================================================
ERROR system76driver/tests/test_gtk.py - ValueError: Namespace Gtk is already loaded with version 4.0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================== 1 warning, 1 error in 0.67s =====================================================
==> Entering fakeroot environment...
==> Starting package()...