Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833894 - dev-embedded/platformio-5.2.4-r1: strict requirements not met
Summary: dev-embedded/platformio-5.2.4-r1: strict requirements not met
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:
Depends on:
Blocks:
 
Reported: 2022-02-22 15:00 UTC by Kobboi
Modified: 2022-03-21 10:03 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 Kobboi 2022-02-22 15:00:27 UTC
(Running as root, since that user does not have manually installed packages):

$ sudo pip check
platformio 5.2.4 has requirement semantic_version==2.8.*, but you have semantic-version 2.9.0.
platformio 5.2.4 has requirement starlette==0.17.*, but you have starlette 0.18.0.
platformio 5.2.4 has requirement uvicorn==0.16.*, but you have uvicorn 0.17.5.

Runtime:
pkg_resources.DistributionNotFound: The 'uvicorn==0.16.*' distribution was not found and is required by platformio




Reproducible: Always
Comment 1 Kobboi 2022-02-22 15:01:40 UTC
Traceback (most recent call last):
  File "/usr/bin/platformio", line 33, in <module>
    sys.exit(load_entry_point('platformio==5.2.4', 'console_scripts', 'platformio')())
  File "/usr/lib/python3.9/site-packages/platformio/__main__.py", line 128, in main
    from platformio import maintenance
  File "/usr/lib/python3.9/site-packages/platformio/maintenance.py", line 22, in <module>
    from platformio import __version__, app, exception, fs, telemetry
  File "/usr/lib/python3.9/site-packages/platformio/telemetry.py", line 27, in <module>
    import requests
  File "/usr/lib/python3.9/site-packages/requests/__init__.py", line 133, in <module>
    from . import utils
  File "/usr/lib/python3.9/site-packages/requests/utils.py", line 27, in <module>
    from . import certs
  File "/usr/lib/python3.9/site-packages/requests/certs.py", line 15, in <module>
    from certifi import where
  File "/usr/lib/python3.9/site-packages/certifi/__init__.py", line 1, in <module>
    from .core import contents, where
  File "/usr/lib/python3.9/site-packages/certifi/core.py", line 3, in <module>
    from certifi._patch import _verify_dist_info
  File "/usr/lib/python3.9/site-packages/certifi/_patch.py", line 4, in <module>
    import pkg_resources
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3247, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3221, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3259, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 581, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 594, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 783, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'uvicorn==0.16.*' distribution was not found and is required by platformio
Comment 2 Larry the Git Cow gentoo-dev 2022-03-21 10:03:45 UTC
The bug has been closed via the following commit(s):

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

commit b88c1cbbd674b9407ea2b8be131f03f8f7a3cc58
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2022-03-21 10:03:37 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2022-03-21 10:03:37 +0000

    dev-embedded/platformio: Version bump
    
    Closes: https://bugs.gentoo.org/833894
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 dev-embedded/platformio/Manifest                   |  2 +-
 dev-embedded/platformio/platformio-5.2.4.ebuild    | 74 ----------------------
 ...mio-5.2.4-r1.ebuild => platformio-5.2.5.ebuild} | 12 ++--
 3 files changed, 7 insertions(+), 81 deletions(-)