From nobody Sun Jun 5 16:35:30 2022 X-Original-To: python@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 774731BDBD40 for ; Sun, 5 Jun 2022 16:35:31 +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 4LGMg66VKDz4mTR for ; Sun, 5 Jun 2022 16:35:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 A41C91536A for ; Sun, 5 Jun 2022 16:35:30 +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 255GZUUx089788 for ; Sun, 5 Jun 2022 16:35:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 255GZUpw089787 for python@FreeBSD.org; Sun, 5 Jun 2022 16:35:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 264452] devel/py-jsonschema: Include schemas in build Date: Sun, 05 Jun 2022 16:35:30 +0000 X-Bugzilla-Reason: CC 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: needs-qa, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bofh@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654446931; 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=M51IDn0MRv/bEXgSV14p3iQSg6ggojcp4dNKEkJvIFU=; b=v1i/e/bxBiXgetaAkln5+BPCUtlp0w3KIlbAXGtrJGpw+gtBiD0cSyxGZVXnNlphsXXQfr IASYTPXH3Xo0jptXxbsDXRRxp+93KrE47YPNtMrE1YvYqFmfxd9XaYTaJwqTLpHj7t7URm kBqS4XozpMtdhTsVGVjTFIa1lqw1Hf8LbMRE3aL1NsbS5ahSOsQj3bgvFp0LRrBmcxMutv VKhqHF2G8a6G+mbeSoNA70HrNNV5NV5QMlsxaXBxkOBVV7yxEm18WGjoBeY0QU/WThfQ4B mv2dQyM2JOEHU9pJfDoQlaFI7ChkJF4fX40PLVKAMXwA0pdeUOrKisa0VvRv4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654446931; a=rsa-sha256; cv=none; b=rowewUGhTU4ZpQIKh60oLt7TfbAUteebW6Fe1crHZjz+65CQKF6/ZRteAml069XwISxSJQ AsHHumrtkWH8jVEJiFddJ5wvTOBHnl2BigX3O+34G6bngqjIM1M/XeOFoTU26zKitEB3YF lsutugZIHchsWftdoVh8ESITjY6qJBZcVA26sX8NMLKHsa4SGwAX/7DcuJhnDEP2x36VT6 lWR9SHA85zZsKhlf+H79Fwhna7Qj3CiAgoFqBC/PkyE572XLT3+/xPDnfMa8jyjBuZN7mt D5wDU4NFf+9ETLU1HKViHk89H0W0m01D9/LkyMA8AolHuUyuDi/0XDZklzapbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264452 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D924f4e5dfca078753a3b12db278625b= 7d5377857 commit 924f4e5dfca078753a3b12db278625b7d5377857 Author: Sascha Biberhofer AuthorDate: 2022-06-05 16:27:04 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-06-05 16:34:00 +0000 devel/py-jsonschema: Include schemas After the latest upgrade to 4.6.0 the pkg was missing the schemas file as the new hatch build system which doesn't create the full files as our building procedure requires dependency on a stub setup.py file. For future reference: The method I used for obtaining the setup.py file is to add [tool.hatch.build.targets.sdist] support-legacy =3D true to pyproject.toml. Afterwards, building an sdist with `python3 -m build -s` yields a corresponding archive in dist/jsonschema-4.6.0.tar.gz, from which the setup.py file can be extracted. The latter build still doesn't contain the subdirectory in MANIFEST.in though, so it didn't fix the issue entirely. While there are lots of dependent ports for now I am committing this but will look into a better solution to adapt the situation. PR: 264452 Reported by: stefan.haemmerl@gmx.de devel/py-jsonschema/Makefile | 1 + devel/py-jsonschema/files/patch-MANIFEST.in (new) | 7 +++ devel/py-jsonschema/files/patch-setup.py | 76 +++++++++++++++++++= +--- 3 files changed, 74 insertions(+), 10 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=