Package Details: labelle 1.3.2-2

Git Clone URL: https://aur.archlinux.org/labelle.git (read-only, click to copy)
Package Base: labelle
Description: Linux Software to print with LabelManager PnP from Dymo
Upstream URL: https://github.com/labelle-org/labelle
Licenses: Apache-2.0
Replaces: dymoprint
Submitter: Auerhuhn
Maintainer: Auerhuhn
Last Packager: Auerhuhn
Votes: 1
Popularity: 0.83
First Submitted: 2024-04-29 17:56 (UTC)
Last Updated: 2024-12-22 17:27 (UTC)

Latest Comments

1 2 3 Next › Last »

simona commented on 2025-01-04 12:04 (UTC)

Thx. Tried –rebuildtree but no change. Thanks for trying.

Auerhuhn commented on 2025-01-04 11:40 (UTC)

you can't have to fumble with updating a single aur package specifically. it's fine for testing, but in the end a simple "yay -Syu" has to work

@simona There seems to be a misunderstanding of what yay can do and what it can’t do. One would expect that yay should be smart enough to always do the right thing and always rebuild your Python packages properly, but in reality AUR helpers are nowhere near that smart. (The fact that most PKGBUILD maintainers never bother doing annual courtesy pkgrel bumps is also not exactly helpful.)

That’s why your expectation is unrealistic, and you’re going to have to either a) rebuild your dependency hierarchy yourself, or b) use the --rebuildtree option to have yay do it for you.

But there’s absolutely no way for yay -Syu to always work reliably in the face of a minor Python version upgrade.

And there’s nothing the labelle PKGBUILD can possibly do about it.

AUR helpers are not nearly as smart as you think they are. That’s why I suggested to install checkrebuild, because checkrebuild is that smart, and will warn you about the issue every time it happens.

simona commented on 2025-01-04 10:31 (UTC)

you can't have to fumble with updating a single aur package specifically. it's fine for testing, but in the end a simple "yay -Syu" has to work

Auerhuhn commented on 2025-01-04 10:25 (UTC)

@spease I tried several times both on my development machine and in a clean chroot, but I can’t reproduce.

Does the build work in a clean chroot for you?

spease commented on 2025-01-02 07:21 (UTC) (edited on 2025-01-02 07:22 (UTC) by spease)

Getting the following error:

========================================== FAILURES ===========================================
______________________________________ test_main_window _______________________________________

qtbot = <pytestqt.qtbot.QtBot object at 0x7282f7125be0>

    def test_main_window(qtbot: QtBot):
        widget = LabelleWindow()
        qtbot.addWidget(widget)

>       assert not widget._actions.isEnabled()
E       assert not True
E        +  where True = <built-in method isEnabled of QActions object at 0x7282f702a5d0>()
E        +    where <built-in method isEnabled of QActions object at 0x7282f702a5d0> = <labelle.gui.q_actions.QActions object at 0x7282f702a5d0>.isEnabled
E        +      where <labelle.gui.q_actions.QActions object at 0x7282f702a5d0> = <labelle.gui.gui.LabelleWindow object at 0x7282f71f8690>._actions

src/labelle/gui/tests/test_gui.py:13: AssertionError
=================================== short test summary info ===================================
FAILED src/labelle/gui/tests/test_gui.py::test_main_window - assert not True
================================ 1 failed, 48 passed in 1.05s =================================

I have attempted running checkrebuild and updated all the dependencies it recommended.

Auerhuhn commented on 2024-12-26 00:04 (UTC)

@simona You need to rebuild your dependencies. This phenomenon is to be expected. It occurs once a year on the AUR because of the Python upgrade. There is no fix other than rebuilding your AUR packages.

Suggestion: Install the rebuild-detector package and run the checkrebuild -v command. Rebuild all packages that come up in the results, especially python-pytest-image-diff, which is a dependency of labelle. Then rebuild labelle.

simona commented on 2024-12-25 23:36 (UTC)

=========================================================== ERRORS ===========================================================
_____ ERROR at setup of test_barcode_with_text_render_engine_alignment[left] _______
file /home/simona/.cache/yay/labelle/src/labelle-1.3.2/src/labelle/lib/render_engines/tests/test_render_engines.py, line 58 @pytest.mark.parametrize("align", Direction) def test_barcode_with_text_render_engine_alignment(request, image_diff, align):
E fixture 'image_diff' not found

  available fixtures: _session_faker, add_doctest_fixtures, anyio_backend, anyio_backend_name, anyio_backend_options, benchmark, benchmark_weave, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, check_completer, class_mocker, clear_env, completer_obj, completion_context_parse, config_file, cov, create_git_remote_repo, create_hg_remote_repo, create_svn_remote_repo, doctest_namespace, env, faker, git_remote_repo, git_repo, gitconfig, hg_remote_repo, hg_repo, hgconfig, home_path, home_user_name, load_xontrib, mock_executables_in, mock_xonsh_session, mocker, module_mocker, monkeypatch, monkeypatch_stderr, no_cover, os_env, package_mocker, patch_locate_binary, projects_path, ptk_shell, pytestconfig, qapp, qapp_args, qapp_cls, qtbot, qtlog, qtmodeltester, readline_shell, record_property, record_testsuite_property, record_xml_attribute, recwarn, remote_repos_path, server, session, session_env, session_execer, session_mocker, session_os_env, session_params, set_home, source_path, subtests, svn_remote_repo, svn_repo, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, user_path, xession, xonsh_events, xonsh_execer, xonsh_execer_exec, xonsh_execer_parse, xonsh_session, xsh_with_aliases, xsh_with_env, zshrc<br>
  use 'pytest --fixtures [testpath]' for help on them.<br>


/home/simona/.cache/yay/labelle/src/labelle-1.3.2/src/labelle/lib/render_engines/tests/test_render_engines.py:58
================================================== short test summary info ===================================================
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_alignment[left] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================== 48 deselected, 1 error in 0.77s ========================================

Auerhuhn commented on 2024-12-25 23:08 (UTC)

@simona According to the log you already posted, you’ve been using yay, so your PKGBUILD should be in /home/simona/.cache/yay/labelle.

simona commented on 2024-12-25 23:03 (UTC)

I downloaded package in https://github.com/labelle-org/labelle, where is PKGBUILD?

Auerhuhn commented on 2024-12-25 23:01 (UTC)

@simona Please run the command line from the directory where the PKGBUILD file is located.