From nobody Mon Feb 6 07:14:15 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P9HZ00JYKz3ndTq for ; Mon, 6 Feb 2023 07:14:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P9HYz5FCRz3DFq for ; Mon, 6 Feb 2023 07:14:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675667655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=l1Z/tYQYVJOBP5O06hoI+XsXmX7GvM8OYvtxvnYVFIs=; b=oBC74j9FdosCWUQiTqPBiAVvzo1CuFHZ0LcVNcutlmr/WLVwhMrDdtquWdLW3mXq7z/ZFK EBqh1Kj0eOlrEaKqiGSunCoektAIN+9Th5vmnYCln2F4V1ZuEhBkc7iBs5DzEubDEkMVpw paxpQYvmlRAxy+EoQGi6P9gDxz3Z8uVXKxIKJnUoWuWAcLfn7dDQqCijuvGVIdQf7O/8mj nvhIgZ7JPfFj6nvIJRCMyQ+XrICbXZgh32z6QXqwT2vNbOCXa/64FR2GJDYJCg3YQ7CzUK C5W6WtL91+RLLWPCiKf7vB9t8bRoAxypJ890SoKLyohPm1BCF0Q6cZFcN+fDlw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675667655; a=rsa-sha256; cv=none; b=Zu+b6bx6FRIhw1Zw5W//qPU/zyGcFCGMItnoYrrKadmzBJUtrRXlgRSrJI2HIfzD2iY/rE LH0R9fd3DodwUr34Gzyt3WKwyYRvJVYLls6QwVzbGjwXurNf0jbCGil4GcztLsRHmhanKQ RvNVjPfUnihT/fVc24ZCKGUjgsGPtDBbU62uiyLf6KY2670x143cu3g/mWZOonpNPOY7Wm EIFu5f/GZHCjUNVmmyVJ4JgBB6AqR1DVVWm2CYPzOZq9PEFqUQ6xPe3jEVB92tWFDsFU0m V2GHqCfjQfz7tjNDziTWctJwf05KOoinbAN9KAPJVKq4HuJtyZfHFW3S29TSkA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P9HYz4HgczQds for ; Mon, 6 Feb 2023 07:14:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3167EFxI008050 for ; Mon, 6 Feb 2023 07:14:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3167EF3t008049 for ports-bugs@FreeBSD.org; Mon, 6 Feb 2023 07:14:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269325] textproc/py-pyphen: 0.3.0 does not work print/py-weasyprint 51 Date: Mon, 06 Feb 2023 07:14:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: grahamperrin@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc bug_status bug_file_loc bug_severity cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269325 Graham Perrin changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|print/py-weasyprint: fails |textproc/py-pyphen: 0.3.0 |to work, fails to find |does not work |pyphen even if installed |print/py-weasyprint 51 Status|New |Open URL| |https://www.freshports.org/ | |textproc/py-pyphen/ Severity|Affects Only Me |Affects Some People CC| |grahamperrin@freebsd.org Assignee|ports-bugs@FreeBSD.org |yuri@freebsd.org --- Comment #1 from Graham Perrin --- Workaround and reproduction =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D After installing the port of WeasyPrint:=20 pip install weasyprint =E2=80=93 pip installs a slightly superior version of Pyphen, which does wo= rk with the port of WeasyPrint.=20 Then:=20 pip uninstall Pyphen =E2=80=93 leaves the port of Pyphen not working with the port of WeasyPrint= .=20 ---- % pip install weasyprint Defaulting to user installation because normal site-packages is not writeab= le Requirement already satisfied: weasyprint in /usr/local/lib/python3.9/site-packages (51) Requirement already satisfied: setuptools>=3D39.2.0 in ./.local/lib/python3.9/site-packages (from weasyprint) (67.1.0) Requirement already satisfied: cffi>=3D0.6 in ./.local/lib/python3.9/site-packages (from weasyprint) (1.15.1) Requirement already satisfied: html5lib>=3D0.999999999 in ./.local/lib/python3.9/site-packages (from weasyprint) (1.1) Requirement already satisfied: cairocffi>=3D0.9.0 in /usr/local/lib/python3.9/site-packages (from weasyprint) (1.4.0) Requirement already satisfied: tinycss2>=3D1.0.0 in /usr/local/lib/python3.9/site-packages (from weasyprint) (1.2.1) Requirement already satisfied: cssselect2>=3D0.1 in /usr/local/lib/python3.9/site-packages (from weasyprint) (0.7.0) Requirement already satisfied: CairoSVG>=3D2.4.0 in /usr/local/lib/python3.9/site-packages (from weasyprint) (2.6.0) Collecting Pyphen>=3D0.9.1 Downloading pyphen-0.13.2-py3-none-any.whl (2.0 MB) =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94= =81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81= =E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2= =94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94= =81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81=E2=94=81 2.0/2.0 = MB 785.0 kB/s eta 0:00:00 Requirement already satisfied: defusedxml in /usr/local/lib/python3.9/site-packages (from CairoSVG>=3D2.4.0->weasyprint) (0.7.1) Requirement already satisfied: pillow in ./.local/lib/python3.9/site-packag= es (from CairoSVG>=3D2.4.0->weasyprint) (9.4.0) Requirement already satisfied: pycparser in /usr/local/lib/python3.9/site-packages (from cffi>=3D0.6->weasyprint) (2.21) Requirement already satisfied: webencodings in /usr/local/lib/python3.9/site-packages (from cssselect2>=3D0.1->weasyprint) (0.5.1) Requirement already satisfied: six>=3D1.9 in /usr/local/lib/python3.9/site-packages (from html5lib>=3D0.999999999->weasy= print) (1.16.0) Installing collected packages: Pyphen Successfully installed Pyphen-0.13.2 % man weasyprint No manual entry for weasyprint % weasyprint usage: weasyprint [-h] [--version] [-i] [-e ENCODING] [-f {pdf,png}] [-s STYLESHEET] [-m MEDIA_TYPE] [-r RESOLUTION] [-u BASE_URL] [-a ATTACHMENT] [= -p] [-v] [-d] [-q] input output weasyprint: error: the following arguments are required: input, output % which weasyprint /usr/local/bin/weasyprint % pkg provides /usr/local/bin/weasyprint Name : py39-weasyprint-51 Comment : Converts HTML/CSS documents to PDF Repo : FreeBSD Filename: usr/local/bin/weasyprint % weasyprint --version WeasyPrint version 51 % pip uninstall Pyphen Found existing installation: pyphen 0.13.2 Uninstalling pyphen-0.13.2: Would remove: =20=20=20 /usr/home/grahamperrin/.local/lib/python3.9/site-packages/pyphen-0.13.2.dis= t-info/* /usr/home/grahamperrin/.local/lib/python3.9/site-packages/pyphen/* Proceed (Y/n)? Y Successfully uninstalled pyphen-0.13.2 % weasyprint --version Traceback (most recent call last): File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 617, in _build_master ws.require(__requires__) File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 956, in require needed =3D self.resolve(parse_requirements(requirements)) File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 815, in resolve dist =3D self._resolve_dist( File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 861, in _resolve_dist raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (pyphen 0.0.0 (/usr/local/lib/python3.9/site-packages), Requirement.parse('Pyphen>=3D0.9.= 1'), {'WeasyPrint'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/weasyprint", line 33, in sys.exit(load_entry_point('WeasyPrint=3D=3D51', 'console_scripts', 'weasyprint')()) File "/usr/local/bin/weasyprint", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load module =3D import_module(match.group('module')) File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 972, in _find_and_load_unlocked File "", line 228, in _call_with_frames_remo= ved File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_remo= ved File "/usr/local/lib/python3.9/site-packages/weasyprint/__init__.py", line 440, in from .css import preprocess_stylesheet # noqa isort:skip File "/usr/local/lib/python3.9/site-packages/weasyprint/css/__init__.py", line 30, in from . import computed_values, media_queries File "/usr/local/lib/python3.9/site-packages/weasyprint/css/computed_values.py", line 18, in from .. import text File "/usr/local/lib/python3.9/site-packages/weasyprint/text.py", line 16= , in import pyphen File "/usr/local/lib/python3.9/site-packages/pyphen/__init__.py", line 25= , in from pkg_resources import resource_filename File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 3249, in def _initialize_master_working_set(): File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 3223, in _call_aside f(*args, **kwargs) File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 3261, in _initialize_master_working_set working_set =3D WorkingSet._build_master() File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 619, in _build_master return cls._build_from_requirements(__requires__) File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 632, in _build_from_requirements dists =3D ws.resolve(reqs, Environment()) File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 815, in resolve dist =3D self._resolve_dist( File "/home/grahamperrin/.local/lib/python3.9/site-packages/pkg_resources/__init= __.py", line 856, in _resolve_dist raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'Pyphen>=3D0.9.1' distribution was = not found and is required by WeasyPrint % pkg info -x pyphen py39-pyphen-0.13.0 % --=20 You are receiving this mail because: You are the assignee for the bug.=