From nobody Mon Oct 10 16:10:46 2022 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 4MmP613TYrz4fj2h for ; Mon, 10 Oct 2022 16:10:49 +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 4MmP612J5lz4CWM for ; Mon, 10 Oct 2022 16:10:49 +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 4MmP611MBRzgZP for ; Mon, 10 Oct 2022 16:10:49 +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 29AGAnPN093410 for ; Mon, 10 Oct 2022 16:10:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29AGAn7H093393 for ports-bugs@FreeBSD.org; Mon, 10 Oct 2022 16:10:49 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 266944] devel/py-black cannot configure, project.license is in invalid format OFFENDING RULE: 'oneOf' Date: Mon, 10 Oct 2022 16:10:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: alt2600@icloud.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665418249; 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; bh=fFewH4iZT8CUFtVfPCu2864Z4pFfEtsDvvzY/ei5fK4=; b=CGL8iymlwz0grsiybLOEfAKbW2ew8dzh6LJ8MZfRfQBjEyLiAkranZAOzUt29t5FWqJHgh ub2tIHAbkEquqF1+bZRFfK6NrOWW93wAfh07e2Lj7ipwc/RKv6gR8JY8ySN9ZrT1JKcKD/ V3qtaaJUPrVoeeR9jhUKsa3oxsQh0wdFmg436yCZkXHAtTHetM2xBCte1MVUNyCsY6nyoN dc5dnhOaFqINcD1Jo9UKKxJ8+z+FxQUCh/zonA9R6xRMrQrvKPkrBwBvbsqG5NN/ceaupV xJGtNBoyCOHifvjc/XMklkD/fHf8zQmBvhLAYFDsfFobX2WdcISmn8+pYikX1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665418249; a=rsa-sha256; cv=none; b=WRHBbiDLzccf1WpYHZLHWD+hwnqsbyghGa2nV1BWXh0gQcwj5gBbvfSha11WQbSL6AvJ6G nLli9a4mEv9jieo0CVQNLm5tb46KXrfgca8wkoVzlxinv+bAWw75bLK+aA5hrwI2J4RFo7 H9xSpGpk5Y6gtHpjDqo6EDNz+K861IKpvd0OnO737Rh8uVTiJvxchFKL+82wZU6oQNOhzG Mg8bRgy5bC2r1lfsuyUEPMzowc04d+6Wf7BMMqJDuuG+uDI83BjGqBLFGMOSN7p908cLJq yAafZdWU/ts42bbpCq82J1Vc+ASXFLKpfGKqIuqsqr0pLATvAl7f2E44OTQjpg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266944 Bug ID: 266944 Summary: devel/py-black cannot configure, project.license is in invalid format OFFENDING RULE: 'oneOf' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: alt2600@icloud.com Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org trying to update this, and it is throwing this error about the license being not in the right format. I tried reinstalling my py-setuptools, py-toml, and py-tomli packages just to make sure they somehow were out of date. amd64 13= .1p2 =3D=3D=3D> Cleaning for py39-black-22.10.0 =3D=3D=3D> License MIT accepted by the user =3D=3D=3D> py39-black-22.10.0 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by py39-black-22.10.0 for buildi= ng =3D=3D=3D> Extracting for py39-black-22.10.0 =3D> SHA256 Checksum OK for black-22.10.0.tar.gz. =3D=3D=3D> Patching for py39-black-22.10.0 =3D=3D=3D> py39-black-22.10.0 depends on package: py39-setuptools_scm>=3D= 6.3.1 - found =3D=3D=3D> py39-black-22.10.0 depends on package: py39-setuptools>=3D63.1= .0 - found =3D=3D=3D> py39-black-22.10.0 depends on file: /usr/local/bin/python3.9 -= found =3D=3D=3D> Configuring for py39-black-22.10.0 configuration error: `project.license` must be valid exactly by one definit= ion (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] DESCRIPTION: `Project license `_. GIVEN VALUE: "MIT" OFFENDING RULE: 'oneOf' DEFINITION: { "oneOf": [ { "properties": { "file": { "type": "string", "$$description": [ "Relative path to the file (UTF-8) which contai= ns the license for the", "project." ] } }, "required": [ "file" ] }, { "properties": { "text": { "type": "string", "$$description": [ "The license of the project whose meaning is th= at of the", "`License field from the core metadata", =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 "`_." ] } }, "required": [ "text" ] } ] } Traceback (most recent call last): File "", line 1, in File "setup.py", line 4, in setup( File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.p= y", line 151, in setup dist.parse_config_files() File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 86= 8, in parse_config_files pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) File "/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 58, in apply_configuration config =3D read_configuration(filepath, True, ignore_option_errors, dis= t) File "/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 122, in read_configuration validate(subset, filepath) File "/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 47, in validate raise error from None ValueError: invalid pyproject.toml config: `project.license` *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-black --=20 You are receiving this mail because: You are the assignee for the bug.=