Package Details: labelle 1.4.0-1

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.100170
First Submitted: 2024-04-29 17:56 (UTC)
Last Updated: 2025-03-18 23:15 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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.

simona commented on 2024-12-25 22:42 (UTC)

==> ERRORE: PKGBUILD non esiste.

Auerhuhn commented on 2024-12-25 21:55 (UTC)

@simona Thank you. Let’s look at one of the failing tests.

When you run the following command line from the directory where the PKGBUILD is, what is the exact error message that appears?

makepkg -s --nocheck --noarchive && (cd src/labelle-1.3.2 && rm -rf tmp_install && python -m installer --destdir=tmp_install dist/labelle-1.3.2-py3-none-any.whl && PYTHONPATH="${PWD}/tmp_install/usr/lib/python3.13/site-packages" dbus-run-session xvfb-run -s '-nolisten local' pytest -vvx -k 'test_barcode_with_text_render_engine_alignment[left]' src)

simona commented on 2024-12-25 18:45 (UTC)

/home/simona/.cache/yay/labelle/src/labelle-1.3.2/src/labelle/lib/render_engines/tests/test_render_engines.py:317
================================================== short test summary info ===================================================
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_alignment[left]
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_alignment[center]
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_alignment[right]
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_font_size_ratio[0.2]
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_font_size_ratio[0.4]
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_font_size_ratio[0.6]
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_font_size_ratio[0.8]
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_with_text_render_engine_font_size_ratio[1.0]
ERROR src/labelle/lib/render_engines/tests/test_render_engines.py::test_barcode_render_engine