From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0B76F158094 for ; Mon, 10 Oct 2022 08:08:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A144E0882; Mon, 10 Oct 2022 08:08:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DBA30E0866 for ; Mon, 10 Oct 2022 08:08:22 +0000 (UTC) Received: by smtp.gentoo.org (Postfix, from userid 2212) id D3915341030; Mon, 10 Oct 2022 08:08:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D241A341019 for ; Mon, 10 Oct 2022 08:08:21 +0000 (UTC) Date: Mon, 10 Oct 2022 08:08:21 +0000 (UTC) From: Andrey Grozin To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] setuptools problem Message-ID: <2896a064-baff-469e-eb92-a8ba5dcab5bc@woodpecker.gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Archives-Salt: ba15b97d-70bb-4e95-8dfe-9b4a7737becc X-Archives-Hash: 944eef0d43c2e4e6d7a0ecd0f242bd35 Hello *, I'm trying to bump dev-python/rpyc to 5.2.3, and I get >>> Compiling source in /var/tmp/portage/dev-python/rpyc-5.2.3/work/rpyc-5.2.3 ... * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 -c from setuptools import setup; setup() build -j 6 configuration error: `project.license` must be valid exactly by one definition (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 contains the license for the", "project." ] } }, "required": [ "file" ] }, { "properties": { "text": { "type": "string", "$$description": [ "The license of the project whose meaning is that of the", "`License field from the core metadata", "`_." ] } }, "required": [ "text" ] } ] } Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/distutils/core.py", line 121, in setup dist.parse_config_files() File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 868, in parse_config_files pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) File "/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 62, in apply_configuration config = read_configuration(filepath, True, ignore_option_errors, dist) File "/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 126, in read_configuration validate(subset, filepath) File "/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 51, in validate raise ValueError(f"{error}\n{summary}") from None ValueError: invalid pyproject.toml config: `project.license`. configuration error: `project.license` must be valid exactly by one definition (2 matches found): - keys: 'file': {type: string} required: ['file'] - keys: 'text': {type: string} required: ['text'] Any idea what has gone wrong? By googling I've found https://github.com/vanheeringen-lab/seq2science/issues/851 https://bytemeta.vip/repo/jdtuck/fdasrsf_python/issues/23 which seem similar. Thanks in advance, Andrey