Skip to content

Python 2 deprecation #468

Closed
Closed

Description

@mykola-mokhnach

January 1st of 2020 is the EOL for Python2. I would say it makes sense to start working on python client version 2 (for us this is going to be 1.0.0), which only supports python 3 (preferably Python 3.7+)

List of things I would like to see in the new major release (suggestion are highly welcome):

  • Explicit types declarations (use typing module) -> High priority
  • asyncio and async/await usage (for both network and file system i/o operations) -> Medium to Low priority, this might be a serious change and might require the users to update a lot of their code
  • Proper exceptions inheritance (use raise from) -> High priority
  • Ordered dictionaries usage -> High priority
  • Proper strings/bytearrays usage -> High priority
  • Proper super usage -> High priority
  • pytest usage -> Medium priority

Activity

  1. ki4070ma commented on Nov 9, 2019

    @ki4070ma
    Collaborator

    High priority

    Medium priority

    • pytest usage
    • asyncio and async/await usage (for both network and file system i/o operations) -> Medium to Low priority, this might be a serious change and might require the users to update a lot of their code

    As internal tasks

  2. manoj9788 commented on Nov 9, 2019

    @manoj9788
    Member

    Thanks @mykola-mokhnach Absolutely makes sense to start this work now!

  3. ki4070ma commented on Jan 11, 2020

    @ki4070ma
    Collaborator

    Action sequence for branch strategy

    #478 (comment)

  4. mykola-mokhnach commented on Feb 12, 2020

    @mykola-mokhnach
    ContributorAuthor

    One more useful thing which is present since Python 3.7 and which we could use:

  5. ki4070ma commented on Feb 18, 2020

    @ki4070ma
    Collaborator

    Might need to add py.typed file to repository. Will check later.

    https://www.python.org/dev/peps/pep-0561/

    -> Done by #508

  6. KazuCocoa commented on Apr 21, 2020

    @KazuCocoa
    Member

    Python 2.7.18 came out

  7. ki4070ma commented on Aug 14, 2020

    @ki4070ma
    Collaborator

    Done

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions