You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/11/14 08:01:00 UTC

[jira] [Commented] (AVRO-3669) Missing py.typed file

    [ https://issues.apache.org/jira/browse/AVRO-3669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17633575#comment-17633575 ] 

ASF subversion and git services commented on AVRO-3669:
-------------------------------------------------------

Commit 7f757cb07f3d55b83a4146cd7f02033b08bfbe19 in avro's branch refs/heads/branch-1.11 from Kaisen Chen
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=7f757cb07 ]

AVRO-3669: [python] Add py.typed marker file (PEP561 compliance) (#1952)

* AVRO-3669: Add py.typed marker file (PEP561 compliance)

* AVRO-3669: Fix formatting

Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>

Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
Co-authored-by: Martin Tzvetanov Grigorov <mg...@apache.org>
(cherry picked from commit ddccc04dc62a9fddfc30fb3eab6156b93cf82cc6)


> Missing py.typed file
> ---------------------
>
>                 Key: AVRO-3669
>                 URL: https://issues.apache.org/jira/browse/AVRO-3669
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Kaisen Chen
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The python avro package has type annotations but does not advertise itself as such because there is no py.typed marker file (see [PEP561|https://peps.python.org/pep-0561/#packaging-type-information]).
> Symptom:
> If python packages import avro and run mypy, error messages like this come up:
> {code:java}
> error: Skipping analyzing "avro": module is installed, but missing library stubs or py.typed marker {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)