Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78500 - [python] add "python-argparse" to "provides" and "conflicts" arrays.

Attached to Project: Arch Linux
Opened by Oid Maps (dreieck) - Friday, 12 May 2023, 17:52 GMT
Last edited by Toolybird (Toolybird) - Saturday, 16 September 2023, 01:22 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Felix Yan (felixonmars)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

the python module "argparse" is part of python since Python 3.2.

There are packages that need argparse, and there is a deprecated package "python-argparse" in the "community" repository.

So I hereby request that "python-argparse" is added to the "provides" and "conflicts" (and maybe "replaces") array of the package "python".

For more background, see https://bugs.archlinux.org/task/78484.
This task depends upon

Closed by  Toolybird (Toolybird)
Saturday, 16 September 2023, 01:22 GMT
Reason for closing:  Won't implement
Additional comments about closing:  See comments from PM. python-argparse also now dropped from the repos
Comment by Toolybird (Toolybird) - Friday, 12 May 2023, 23:40 GMT
I agree with linked comment from @arojas...it seems unnecessary. Just fix the pkgs depending on it and move on.
Comment by Felix Yan (felixonmars) - Sunday, 04 June 2023, 20:37 GMT
Adding "python-argparse" to "provides" is actually wrong. The python package doesn't contain the corresponding egg-info/dist-info and thus fails a dependency check:

>>> distribution("argparse")
Traceback (most recent call last):
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for argparse


Loading...