Skip to content

1.4.0 doesn't support python 3.5.2 and below #360

Closed

Description

@vedran

Since cloudpickle 1.4.0 uses ClassVar from this commit, which is only supported by Python 3.5.3 and above.

I'm amateur python developer, so I'm not sure of the best way to address / announce this. But this may be worth fixing because Ubuntu 16.04 ships with python 3.5.1-2, so all users of that version of Ubuntu would be affected as well.

Thanks!

Activity

  1. pierreglaser commented on Apr 28, 2020

    @pierreglaser
    Member

    I was not aware of that, thanks for reporting this. We'll land a fix ASAP.

  2. vedran commented on Apr 28, 2020

    @vedran
    Author

    Thanks for the fast response!

  3. pierreglaser commented on Apr 28, 2020

    @pierreglaser
    Member

    Actually, there's more than ClassVar: running cloudpickle's test suite using Python 3.5.0 makes
    test_generic_type fail with:

    AttributeError: type object 'Generic' has no attribute '__args__'
  4. pierreglaser commented on Apr 29, 2020

    @pierreglaser
    Member

    @vedran I just released cloudpickle 1.4.1 which should be compatible with all Python 3.5 versions.

  5. vedran commented on Apr 29, 2020

    @vedran
    Author

    Thanks!

  6. added a commit that references this issue on Apr 4, 2022
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