Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836699 - dev-python/kiwisolver-1.4.1: configuration error: `project` must contain ['version'] properties
Summary: dev-python/kiwisolver-1.4.1: configuration error: `project` must contain ['ve...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 836676
  Show dependency tree
 
Reported: 2022-04-03 15:19 UTC by Piotr Karbowski (RETIRED)
Modified: 2022-04-04 10:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2022-04-03 15:19:28 UTC
The dev-python/kiwisolver-1.4.1 does not build setuptools-61, with version 60 it does work.

>>> Compiling source in /var/portage/tmp/portage/dev-python/kiwisolver-1.4.1/work/kiwi-1.4.1 ...
 * python3_8: running distutils-r1_run_phase distutils-r1_python_compile
python3.8 setup.py build -j 32
/usr/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py:102: _ExperimentalProjectMetadata: Support for project metadata in `pyproject.toml` is still experimental and may be removed (or change) in future releases.
  warnings.warn(msg, _ExperimentalProjectMetadata)
configuration error: `project` must contain ['version'] properties
DESCRIPTION:
    version should be statically defined in the ``version`` field

GIVEN VALUE:
    {
        "name": "kiwisolver",
        "description": "A fast implementation of the Cassowary constraint solver",
        "readme": "README.rst",
        "requires-python": ">=3.7",
        "license": {
            "file": "LICENSE"
        },
        "authors": [
            {
                "name": "The Nucleic Development Team",
                "email": "sccolbert@gmail.com"
            }
        ],
        "maintainers": [
            {
                "name": "Matthieu C. Dartiailh",
                "email": "m.dartiailh@gmail.com"
            }
        ],
        "classifiers": [
            "License :: OSI Approved :: BSD License",
            "Programming Language :: Python",
            "Programming Language :: Python :: 3",
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: 3.8",
            "Programming Language :: Python :: 3.9",
            "Programming Language :: Python :: 3.10",
            "Programming Language :: Python :: Implementation :: CPython",
            "Programming Language :: Python :: Implementation :: PyPy"
        ],
        "urls": {
            "homepage": "https://github.com/nucleic/kiwi",
            "documentation": "https://kiwisolver.readthedocs.io/en/latest/",
            "repository": "https://github.com/nucleic/kiwi",
            "changelog": "https://github.com/nucleic/kiwi/blob/main/releasenotes.rst"
        }
    }

OFFENDING RULE: 'required'

DEFINITION:
    {
        "required": [
            "version"
        ]
    }
Traceback (most recent call last):
  File "setup.py", line 46, in <module>
    setup(
  File "/usr/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 122, in setup
    dist.parse_config_files()
  File "/usr/lib/python3.8/site-packages/setuptools/dist.py", line 854, in parse_config_files
    pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
  File "/usr/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 54, in apply_configuration
    config = read_configuration(filepath, True, ignore_option_errors, dist)
  File "/usr/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 120, in read_configuration
    validate(subset, filepath)
  File "/usr/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 43, in validate
    raise error from None
ValueError: invalid pyproject.toml config: `project`
 * ERROR: dev-python/kiwisolver-1.4.1::gentoo failed (compile phase):
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-03 15:20:46 UTC
Bump to 1.4.2 will sort it: https://github.com/nucleic/kiwi/commit/503a8784dfca722994dd32bf524d28d5ae671d37
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2022-04-03 15:24:16 UTC
@sam: race conditon. Will bump in tree.
Comment 3 Larry the Git Cow gentoo-dev 2022-04-03 15:47:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568cb2787fdf3e25cbfc632e7b0516d10e6e5a46

commit 568cb2787fdf3e25cbfc632e7b0516d10e6e5a46
Author:     Piotr Karbowski <slashbeast@gentoo.org>
AuthorDate: 2022-04-03 15:46:32 +0000
Commit:     Piotr Karbowski <slashbeast@gentoo.org>
CommitDate: 2022-04-03 15:46:32 +0000

    dev-python/kiwisolver: 1.4.2 version bump.
    
    Closes: https://bugs.gentoo.org/836699
    Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>

 dev-python/kiwisolver/Manifest                |  1 +
 dev-python/kiwisolver/kiwisolver-1.4.2.ebuild | 32 +++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)