Skip to content

Make pandas dependency optional #290

Closed

Description

@DifferentialOrange

There are a lot of projects with Tarantool+Python which are not interested in using datetimes (for example, all projects with Tarantool 2.8 and older). They are still obliged to install pandas and pytz, both are rather heavy. Users ask to make this dependency optional.

It seems that Python package mechanism for providing optional dependencies is "extras". We also shouldn't forget to make deb and rpm package dependencies optional.

This change is a breaking one, since user would need to change their setup process if they want to work with datetimes.

We may start throwing errors for datetimes in msgpack if we cannot parse them or return some dictionaries/tuples with raw binary data.

Activity

  1. added and removed on Apr 11, 2023
  2. LeonidVas commented on Apr 11, 2023

    @LeonidVas

    Talked, it looks like it makes sense to do a split into 2 packages and the default should be a package with support for all types on board.
    But there's a lot to think about.

  3. added 3 commits that reference this issue on Apr 17, 2023
    3f7a145
    7a42b5b
    f0f3054
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions