Skip to content

Make pandas dependency optional #290

Closed
@DifferentialOrange

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions