Skip to content

Drop Python 2 support #518

Closed
Closed
@sblondon

Description

@sblondon

According to pypi page, the python2 support has been dropped with release 1.0.
The main branch in the repository is currently v.1.0.4 release (https://github.com/msgpack/msgpack-python/blob/main/msgpack/__init__.py#L9).

However, there is python2 specific code in the repository. For example:

  • setup.py checks for python2
  • msgpack/fallback.py could be simplified
  • python2 is checked in tox.ini
  • test/test_timestamp.py skip some tests with python2 (@pytest.mark.skipif(sys.version_info[0] == 2) ; test/test_extension.py has also a conditional

Are you interested by a PR to remove them?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions