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

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

Commit ddccc04dc62a9fddfc30fb3eab6156b93cf82cc6 in avro's branch 
refs/heads/master from Kaisen Chen
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=ddccc04dc ]

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 <[email protected]>

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>

> 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)

Reply via email to