Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831181 - dev-embedded/platformio-5.2.4 requires dev-python/zeroconf-0.37
Summary: dev-embedded/platformio-5.2.4 requires dev-python/zeroconf-0.37
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-01-14 10:28 UTC by Matthew Smith
Modified: 2022-01-28 08:02 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 Matthew Smith gentoo-dev 2022-01-14 10:28:52 UTC
platformio seems to require zeroconf-0.37 which we no longer have in tree:

  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'zeroconf==0.37.*' distribution was not found and is required by platformio

Upstream now require 0.38 (which we have in ::gentoo): https://github.com/platformio/platformio-core/commit/84a0a6a4184d75500a8bcbea009afe529e7ab937

Maybe it's worth removing the exact version constraint from the setup.py?
Comment 1 Larry the Git Cow gentoo-dev 2022-01-28 08:02:12 UTC
The bug has been closed via the following commit(s):

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

commit e5b43e9c3b5083981a76f8f5a02e48763e7d756c
Author:     Matthew Smith <matt@offtopica.uk>
AuthorDate: 2022-01-14 10:36:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-28 08:00:52 +0000

    dev-embedded/platformio: Relax zeroconf requirement
    
    Closes: https://bugs.gentoo.org/831181
    Signed-off-by: Matthew Smith <matt@offtopica.uk>
    Closes: https://github.com/gentoo/gentoo/pull/23788
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-embedded/platformio/platformio-5.2.4-r1.ebuild | 80 ++++++++++++++++++++++
 1 file changed, 80 insertions(+)