Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 842348 - dev-embedded/platformio is blocking upgrade of dev-python/starlette
Summary: dev-embedded/platformio is blocking upgrade of dev-python/starlette
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 722500
  Show dependency tree
 
Reported: 2022-05-03 07:07 UTC by Michał Górny
Modified: 2022-11-03 07:51 UTC (History)
2 users (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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-03 07:07:28 UTC
NonsolvableDepsInDev: version 5.2.5-r1: nonsolvable depset(rdepend) keyword(~amd64) dev profile (default/linux/amd64/17.0/x32) (2 total): solutions: [ =dev-python/starlette-0.18*[python_targets_python3_10(-)], =dev-python/starlette-0.18*[python_targets_python3_8(-)], =dev-python/starlette-0.18*[python_targets_python3_9(-)] ]
Comment 1 Andreas Billmeier 2022-11-02 19:48:37 UTC
wrong RDEPEND in platformio-6.1.4:

should be (from https://github.com/platformio/platformio-core/blob/v6.1.4/setup.py):

RDEPEND="
    $(python_gen_cond_dep '
        <dev-python/aiofiles-0.9[${PYTHON_USEDEP}]
        dev-python/ajsonrpc[${PYTHON_USEDEP}]
        <dev-python/bottle-0.13[${PYTHON_USEDEP}]
        >=dev-python/click-8[${PYTHON_USEDEP}]
        <dev-python/click-9[${PYTHON_USEDEP}]
        dev-python/colorama[${PYTHON_USEDEP}]
        >=dev-python/pyserial-3.5[${PYTHON_USEDEP}]
        <dev-python/pyserial-4[${PYTHON_USEDEP}]
        >=dev-python/requests-2.4[${PYTHON_USEDEP}]
        <dev-python/requests-3[${PYTHON_USEDEP}]
        ~dev-python/semantic_version-2.10.0[${PYTHON_USEDEP}]
        <dev-python/semantic_version-3[${PYTHON_USEDEP}]
        >=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]
        <dev-python/tabulate-1[${PYTHON_USEDEP}]
        dev-python/twisted[${PYTHON_USEDEP}]
        >=dev-python/pyelftools-0.27[${PYTHON_USEDEP}]
        <dev-python/pyelftools-1[${PYTHON_USEDEP}]
        >=dev-python/python-zeroconf-0.37[${PYTHON_USEDEP}]
        >=dev-python/marshmallow-3[${PYTHON_USEDEP}]
        =dev-python/starlette-0.20*[${PYTHON_USEDEP}]
        =dev-python/uvicorn-0.18*[${PYTHON_USEDEP}]
        =dev-python/wsproto-1.1*[${PYTHON_USEDEP}]
    ')
    virtual/udev"
Comment 2 Andreas Billmeier 2022-11-02 19:51:12 UTC
6.0.2 working should look like (see https://github.com/platformio/platformio-core/blob/v6.0.2/setup.py):

RDEPEND="
	$(python_gen_cond_dep '
		<dev-python/aiofiles-0.9[${PYTHON_USEDEP}]
		dev-python/ajsonrpc[${PYTHON_USEDEP}]
		<dev-python/bottle-0.13[${PYTHON_USEDEP}]
		>=dev-python/click-8[${PYTHON_USEDEP}]
		<dev-python/click-9[${PYTHON_USEDEP}]
		dev-python/colorama[${PYTHON_USEDEP}]
		>=dev-python/pyserial-3[${PYTHON_USEDEP}]
		<dev-python/pyserial-4[${PYTHON_USEDEP}]
		>=dev-python/python-zeroconf-0.37[${PYTHON_USEDEP}]
		>=dev-python/requests-2.4[${PYTHON_USEDEP}]
		<dev-python/requests-3[${PYTHON_USEDEP}]
		>=dev-python/semantic_version-2.9[${PYTHON_USEDEP}]
		<dev-python/semantic_version-3[${PYTHON_USEDEP}]
		>=dev-python/tabulate-0.8.3[${PYTHON_USEDEP}]
		<dev-python/tabulate-1[${PYTHON_USEDEP}]
		dev-python/twisted[${PYTHON_USEDEP}]
		>=dev-python/pyelftools-0.27[${PYTHON_USEDEP}]
		<dev-python/pyelftools-1[${PYTHON_USEDEP}]
		>=dev-python/marshmallow-2.20.5[${PYTHON_USEDEP}]
		=dev-python/starlette-0.20*[${PYTHON_USEDEP}]
		=dev-python/uvicorn-0.17*[${PYTHON_USEDEP}]
		dev-python/wsproto[${PYTHON_USEDEP}]
	')
	virtual/udev"
Comment 3 Larry the Git Cow gentoo-dev 2022-11-02 23:34:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a336757b92b6e3f3b3baf2b5a07f2918b537819

commit 3a336757b92b6e3f3b3baf2b5a07f2918b537819
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-02 23:30:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-02 23:31:41 +0000

    dev-embedded/platformio: fixup deps
    
    Closes: https://bugs.gentoo.org/842348
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{platformio-6.0.2-r1.ebuild => platformio-6.0.2-r2.ebuild}      | 4 ++--
 .../{platformio-6.1.4.ebuild => platformio-6.1.4-r1.ebuild}         | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-02 23:35:11 UTC
Thanks!
Comment 5 Andreas Billmeier 2022-11-03 07:51:44 UTC
Thank you, too.