Skip to content

python-barcode breaking change #123

@blaisegarant

Description

@blaisegarant

python-barcode made a breaking change in it's API but versionned this as a minor rather than a major.

The signature of the BaseWriter no longer has default values.

Reverting back to 0.15.1 does the trick. I don't think I have the rights to make a PR but this is all that is needed while you investigate further

diff --git a/pyproject.toml b/pyproject.toml
index 1074abd..b7d32ac 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,7 @@ dependencies = [
     "platformdirs",
     "Pillow>=8.1.2,<11",
     "PyQRCode>=1.2.1,<2",
-    "python-barcode>=0.13.1,<1",
+    "python-barcode>=0.13.1,<0.16",
     "pyusb",
     "PyQt6",
     "darkdetect",

Otherwise, labelle cannot print barcodes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions