Skip to content

Allow ujson 6 - #132

Open
itzzdev09 wants to merge 1 commit into
explosion:masterfrom
itzzdev09:allow-ujson-6
Open

itzzdev09 wants to merge 1 commit into
explosion:masterfrom
itzzdev09:allow-ujson-6

Conversation

@itzzdev09

Copy link
Copy Markdown

setup.cfg pins ujson >=5.11.0,<6, which excludes ujson 6.x (6.1.0 is on PyPI), so srsly (and therefore spaCy) can't be installed next to anything that needs ujson 6.

srsly only calls ujson.dumps(..., indent=..., escape_forward_slashes=False), ujson.loads and ujson.load in srsly/_json_api.py. The cap is now <7. pytest srsly/tests on Python 3.12: 102 passed with ujson 5.11.0 and 102 passed with ujson 6.1.0.

This branch has not been deployed

No deployments
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.

1 participant