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#64272 - [pyalpm] scripts not all compatible pacman 5.2

Attached to Project: Arch Linux
Opened by patrick c (papajoke) - Saturday, 26 October 2019, 11:51 GMT
Last edited by David Runge (dvzrv) - Tuesday, 19 November 2019, 22:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

PYALPM version 0.9.0-1
PYTHON 3.7.4-2

all api not compatible pacman 5.2 ? or new python version ?

Steps to reproduce:

pycman-query -i pacman

Traceback (most recent call last):
File "/usr/bin/pycman-query", line 216, in <module>
ret = main(sys.argv[1:])
File "/usr/bin/pycman-query", line 211, in main
display_pkg(pkg, args)
File "/usr/bin/pycman-query", line 59, in display_pkg
pkginfo.display_pkginfo(pkg, level=options.info, style=displaystyle)
File "/usr/lib/python3.7/site-packages/pycman/pkginfo.py", line 107, in display_pkginfo
print(format_attr('Build Date', pkg.builddate, format='time'))
TypeError: format_attr() got an unexpected keyword argument 'format'
This task depends upon

Closed by  David Runge (dvzrv)
Tuesday, 19 November 2019, 22:44 GMT
Reason for closing:  Fixed
Comment by patrick c (papajoke) - Saturday, 26 October 2019, 12:03 GMT
ok

in all code format_attr('xxx', yyy, format='time') but format_attr() have now rename "format" to "format_str"

def format_attr(attrname, value, format_str=None):

Loading...