Skip to content
Snippets Groups Projects
Drei Eck's avatar
commented on issue #98 "Namcap run on some python package results in outputs `<unknown>:50: SyntaxWarning: invalid escape sequence '\d'` and similar." at Pacman / Namcap

Invalid escape sequences like \d are now deprecated in Python....

Chih-Hsuan Yen's avatar
commented on issue #98 "Namcap run on some python package results in outputs `<unknown>:50: SyntaxWarning: invalid escape sequence '\d'` and similar." at Pacman / Namcap

Invalid escape sequences like \d are now deprecated in Python. You may want to report it to upstream for getting rid of those patterns. What namcap...

Drei Eck's avatar
opened issue #98 "Namcap run on some python package results in outputs `<unknown>:50: SyntaxWarning: invalid escape sequence '\d'` and similar." at Pacman / Namcap
Chih-Hsuan Yen's avatar
commented on issue #97 "Doesn't properly detect python depends in .pyi files (cython)" at Pacman / Namcap

For this issue, a more reliable way can be requesting python-av developers to define optional dependencies numpy and pillow in setup.py or pyprojec...

Chih-Hsuan Yen's avatar
commented on merge request !71 "fix(rules): detect unrequired Python packages" at Pacman / Namcap

Is this MR mostly good (just a simple change as I proposed above & rebase), or more major changes are needed?

Chih-Hsuan Yen's avatar
commented on merge request !71 "fix(rules): detect unrequired Python packages" at Pacman / Namcap

Instead of simple replace, how do you think about a lookup table? The table can be maintained in namcap for now. In the future, it can be auto gene...

Chih-Hsuan Yen's avatar
commented on issue #97 "Doesn't properly detect python depends in .pyi files (cython)" at Pacman / Namcap

pyi often contain imports needed for type hints but not actual codes (typing_extensions, etc.). Benefits of using imports may not overweigh issues ...

Michał Wojdyła's avatar
commented on issue #97 "Doesn't properly detect python depends in .pyi files (cython)" at Pacman / Namcap

If the imports are correctly (at least in this case) specified in .pyi isn't it okay(ish) to add this extension to check for pydeps? Obviously I do...

Chih-Hsuan Yen's avatar
commented on issue #97 "Doesn't properly detect python depends in .pyi files (cython)" at Pacman / Namcap

pyi files contain type hints, not actual codes. Cython uses pyx files as shown in the error message. I'm not sure if there is a way to identify dep...

Michał Wojdyła's avatar
commented on issue #95 "Unsolvable git makedepends warning" at Pacman / Namcap

Duplicate of #14

Michał Wojdyła's avatar
opened issue #97 "Doesn't properly detect python depends in .pyi files (cython)" at Pacman / Namcap
Jakub Klinkovský's avatar
commented on merge request !81 "Remove six from test packages" at Pacman / Namcap

This is already done in !78 but it seems stuck 😓

Bert Peters's avatar
opened merge request !81 "Remove six from test packages" at Pacman / Namcap
Jelle van der Waa's avatar
commented on merge request !59 "Namcap: enable ruff's isort rule" at Pacman / Namcap

Rebased :)

Jakub Klinkovský's avatar
commented on merge request !59 "Namcap: enable ruff's isort rule" at Pacman / Namcap

Looks like this can be unblocked now (all the merge requests mentioned are done).

Gesh's avatar
opened issue #96 "Warn when PKGBUILD provides an unversioned package" at Pacman / Namcap
kpcyrd's avatar
opened issue #95 "Unsolvable git makedepends warning" at Pacman / Namcap
Michał Wojdyła's avatar
commented on issue #38 "Doesn't detect perl library" at Pacman / Namcap

@alerque Could this issue name be changed to a more generic? Such as "namcap doesn't support rpath" or something along the lines.

Christian Heusel's avatar
opened issue #94 "Lint sysusers file for fully locked system accounts" at Pacman / Namcap
Jakub Klinkovský's avatar
opened merge request !80 "feat: Load from .SRCINFO" at Pacman / Namcap