Skip to content

Package as PEP 561 compatible #537

Closed

Description

@juandg

The problem

Even though the Appium python-client now supports PEP 484 and is typed, for client code using mypy or any other type checker the type information is not accessible since the library is not being packaged as PEP 561 compatible

There's more info on the PEP and here:
https://mypy.readthedocs.io/en/latest/installed_packages.html#installed-packages

Environment

  • Appium python-client 0.52

Activity

  1. KazuCocoa commented on May 9, 2020

    @KazuCocoa
    Member

    Thanks :)
    The new version which includes the type stuff hasn't pushed yet.
    Will take a look at the link.

  2. juandg commented on May 9, 2020

    @juandg
    Author

    I was looking at master thinking this was the code for 0.52 😞

    I guess I just too excited to see these changes to check which branch I was on 😄Looking forward to the new version 🎉

  3. KazuCocoa commented on May 9, 2020

    @KazuCocoa
    Member

    I've added py.typed in the package.
    Next release (will be 1.0.0) has it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions