question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Move msgpack and pyyaml to extras

See original GitHub issue

I want to use the library for conversion to and from dict only. So, I don’t like that when I install the library msgpack and pyyaml are installed.

Here is the relevant part of documentation: https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Fatal1tycommented, Feb 1, 2022

Hi @rominf @anthrotype

msgpack and pyyaml are going to be extra requirements in the next 3.0 version.

The existing mixins will be imported from mashumaro.mixins.msgpack and mashumaro.mixins.yaml.

0reactions
Fatal1tycommented, Feb 9, 2022

And finally these two packages are optional in 3.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PyYAML Documentation
PyYAML is a YAML parser and emitter for Python. Installation. Simple install: pip install pyyaml. To install from source, download the source package...
Read more >
Serialization and Deserialization of Python Objects: Part 2
MessagePack is another popular serialization format. It is also binary and efficient, but unlike Protobuf it doesn't require a schema.
Read more >
Api - Neovim docs
1. Connect to a running Nvim instance and call nvim_get_api_info() via msgpack-RPC. This is best for clients written in dynamic languages which can...
Read more >
What Are Python Wheels and Why Should You Care?
Wheels make the end-to-end installation of Python packages faster for two reasons: All else being equal, wheels are typically smaller in size than...
Read more >
A Comparison Of Serialization Formats - mbedded.ninja
HOCON: A serialization format that seems popular in Java. MessagePack. This looks similar to protobuf (uses binary encoding). Has libraries for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found