pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/msgpack-rpc/msgpack-rpc-python/pull/23

-0bd78641c0a1f3e0.css" /> Replace deprecated msgpack-python with msgpack + python3 compatibility by tbelhalfaoui · Pull Request #23 · msgpack-rpc/msgpack-rpc-python · GitHub
Skip to content

Replace deprecated msgpack-python with msgpack + python3 compatibility#23

Open
tbelhalfaoui wants to merge 1 commit intomsgpack-rpc:masterfrom
tbelhalfaoui:fix-msgpack-dep
Open

Replace deprecated msgpack-python with msgpack + python3 compatibility#23
tbelhalfaoui wants to merge 1 commit intomsgpack-rpc:masterfrom
tbelhalfaoui:fix-msgpack-dep

Conversation

@tbelhalfaoui
Copy link
Copy Markdown

@tbelhalfaoui tbelhalfaoui commented May 13, 2020

Hi @repeatedly!

I really like this lib, and I have found no equivalent of it: it is both very easy to use and very fast (the fastest Python lib I know of).
Sadly, there is one point that make it unusable for us: it depends on msgpack-python, which is deprecated, and incompatible with the new msgpack (which we use in the same code).

So I tried #22 (only replacing the package name in requirements), but it does not work, because the encoding parameter has been removed from Packer and Unpacker in msgpack==1.0.0 (since it now uses UTF-8 by default).

Hence this pull request, which ensures compatibility with msgpack 1.0.0 (tested only with python 3.6). I simply removed everything related to encodings.

Thanks!

* Ensure Python 3 compatibility
* Remove all encoding options (not needed with msgpack in Python 3)
@wangwwno1
Copy link
Copy Markdown

@repeatedly Hello, could you review this PR and merge it?

@stevenjackson121
Copy link
Copy Markdown

This project hasn't been updated in years; @tbelhalfaoui would you be able to publish your version as a new pypi module? The very old dependencies are an issue for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy