Re: [Rpm-maint] [rpm-software-management/rpm] Add type hints to the Python interface (#1615)

2021-04-01 Thread Jerry James
Great. Here is my thinking on the mypy errors noted above. For the `hdr.__getattr__` case, I think those declarations should be replaced with a comment noting that an `rpmTag` or `AnyStr` value can be passed as an argument, and the corresponding `int` or `AnyStr` value will be the result. I

Re: [Rpm-maint] [rpm-software-management/rpm] Run each Lua chunk in an inherited, private environment (#1593)

2021-04-01 Thread ニール・ゴンパ
Wouldn't this entirely break the forge macros and Go macros in Fedora, as well as the Python and Ruby macros in openSUSE? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Add type hints to the Python interface (#1615)

2021-04-01 Thread ニール・ゴンパ
We only support Python 3.6 and up, so I don't think this would be a problem for us. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Installation / verification should not pass if the (sub)key(s) has been revoked or expired (#1598)

2021-04-01 Thread Demi Marie Obenour
> I'll investigate how to dig for fingerprints; here is the version with key > IDs. Thanks! In addition to the fingerprint vs key ID issue, this still needs a cryptographic signature check. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or

Re: [Rpm-maint] [rpm-software-management/rpm] Installation / verification should not pass if the (sub)key(s) has been revoked or expired (#1598)

2021-04-01 Thread Dmitry Antipov
I'll investigate how to dig for fingerprints; here is the version with key IDs. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Translations update from Weblate (#1569)

2021-04-01 Thread Weblate (bot)
@weblate pushed 5 commits. 93be1cb4ed7508e2987dc7e500f3a08bbd86a482 Translated using Weblate (Finnish) 73c468f2de95055aaadc3c71dbd3377cd55ec318 Translated using Weblate (Korean) 4b8a22208b5f77d6b62a0eda1b634df85a90d98d Translated using Weblate (French) 015bcf096c8c0aa61d09a2b1b34d6db5460f67a5

[Rpm-maint] [rpm-software-management/rpm] Add type hints to the Python interface (#1615)

2021-04-01 Thread Jerry James
I am working on a project that consumes the rpm python interface (https://pagure.io/depict for the curious). I would like to typecheck my project, so I have created some stubs for that purpose. Are you interested in having the rpm stubs? Note that, with this commit applied, mypy has several