Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow cbor2 versions above 5.0 #45

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KenwoodFox
Copy link

This is a fix for #44

Turns out the underlying issue in 44 comes from the older cbor2 version 4.9, i tested on python 3.10 with cbor2 version 5.4.2 and it seemed to work fine but im not sure if this would break older python versions.

Raise cbor2 limit, cbor2 5.2 seems to work well under python 3.10
but this could cause backwards compat issues?
@sidharthmrao
Copy link

Could someone please take a look at merging this PR? It works for me and is necessary for use in python3.10.

@PeterJohnson
Copy link
Member

Note that this repo/tool is not needed with NetworkTables 4, which is websockets based and can be used directly from JavaScript.

@sidharthmrao
Copy link

Oh that's perfect, thank you.

@KenwoodFox
Copy link
Author

Note that this repo/tool is not needed with NetworkTables 4, which is websockets based and can be used directly from JavaScript.

Oh that is great! I'll have to let my team know, atm if you do want to incude this change just drop the git link to this branch in your requirements or project pipfile or set the version back to 3.8 like this
https://github.com/FRC-1721/1721-RapidReact/blob/a8ba43fd3ed713b8fc7e0688153e1a2970b03d00/dashboard/Pipfile#L12

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