FS#66431 - [python-poetry] depends on an uncompatible version of python-tomlkit
Attached to Project:
Community Packages
Opened by morgoth_bauglir (morgoth_bauglir) - Monday, 27 April 2020, 01:42 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 28 April 2020, 02:15 GMT
Opened by morgoth_bauglir (morgoth_bauglir) - Monday, 27 April 2020, 01:42 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 28 April 2020, 02:15 GMT
|
Details
Description:
The package [url=https://www.archlinux.org/packages/community/any/python-poetry/]python-poetry[/url] depends on [url=https://www.archlinux.org/packages/community/any/python-tomlkit/]python-tomlkit[/url], but with a version constraint: [code] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master ws.require(__requires__) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 792, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (tomlkit 0.6.0 (/usr/lib/python3.8/site-packages), Requirement.parse('tomlkit<0.6.0,>=0.5.11'), {'poetry'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/poetry", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3259, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3242, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3271, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 586, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 599, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'tomlkit<0.6.0,>=0.5.11' distribution was not found and is required by poetry [/code] python-tomlkit was updated to 0.6.0, which renders python-poetry unusable. Additional info: * python-tomlkit 0.6.0 * python-poetry 1.0.5-1 Original post: https://bbs.archlinux.org/viewtopic.php?id=255123 Steps to reproduce: * Execute: pacman -S python-poetry * In a terminal, launch: poetry new new_package |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Tuesday, 28 April 2020, 02:15 GMT
Reason for closing: Fixed
Additional comments about closing: python-poetry 1.0.5-2
Tuesday, 28 April 2020, 02:15 GMT
Reason for closing: Fixed
Additional comments about closing: python-poetry 1.0.5-2
Note: poetry can still be run as-is without the version checks if you use `python -m poetry`.
A tip for the future: the bug tracker doesn't use bbcode.
@eschwartz: "the bug tracker doesn't use bbcode" : I understood it as soon as I submitted ;)