Bug 2033816 - Review Request: monkeytype - Generating Python type annotations from sampled production types
Summary: Review Request: monkeytype - Generating Python type annotations from sampled ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-17 22:50 UTC by Michel Lind
Modified: 2022-12-10 16:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-10 16:54:08 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Description Michel Lind 2021-12-17 22:50:11 UTC
Spec URL: https://salimma.fedorapeople.org/specs/meta/python-monkeytype.spec
SRPM URL: https://salimma.fedorapeople.org/specs/meta/python-monkeytype-21.5.0-1.fc35.src.rpm
Description: 
MonkeyType collects runtime types of function arguments and return values, and
can automatically generate stub files or even add draft type annotations
directly to your Python code based on the types collected at runtime.

Fedora Account System Username: salimma

Comment 1 Miro Hrončok 2021-12-20 13:09:52 UTC
> Provides:       python%{python3_pkgversion}-%{modname} = %{version}-%{release}

Use this instead:

  %py_provides python%{python3_pkgversion}-%{modname}

See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides_for_importable_modules


Also, I'd suggest keeping the component name just "monkeytype", if that is the built package name.

Comment 3 Neal Gompa 2021-12-21 19:52:27 UTC
Review notes:

[x]: Package follows Fedora Python Packaging Guidelines
[x]: Package builds and installs
[x]: No serious issues from rpmlint
[x]: License is correctly identified and installed

PACKAGE APPROVED.

Comment 4 Michel Lind 2021-12-21 20:01:12 UTC
Thanks!

❯ fedpkg request-repo monkeytype 2033816              
https://pagure.io/releng/fedora-scm-requests/issue/39988

Comment 5 Gwyn Ciesla 2021-12-21 20:45:35 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/monkeytype

Comment 6 Package Review 2022-12-10 16:54:08 UTC
Package is now in repositories, closing review.


Note You need to log in before you can comment on or make changes to this bug.