Skip to content

deps: replace deprecated ujson with orjson#701

Open
nuglifeleoji wants to merge 1 commit intopython-lsp:developfrom
nuglifeleoji:deps/replace-ujson-with-orjson
Open

deps: replace deprecated ujson with orjson#701
nuglifeleoji wants to merge 1 commit intopython-lsp:developfrom
nuglifeleoji:deps/replace-ujson-with-orjson

Conversation

@nuglifeleoji
Copy link
Copy Markdown

Replace deprecated ujson with orjson as recommended.

UJSON is no longer recommended. The suggested replacement is orjson.

Changes:

  • pyproject.toml: update dependency
  • pylsp/main.py: import orjson
  • pylsp/plugins/pylint_lint.py: import orjson
  • pylsp/python_lsp.py: import orjson

Fixes #673

UJSON is deprecated and no longer recommended. Replace with orjson,
which is the recommended alternative.

Changes:
- pyproject.toml: update dependency from ujson to orjson
- pylsp/__main__.py: import orjson instead of ujson
- pylsp/plugins/pylint_lint.py: import orjson instead of ujson
- pylsp/python_lsp.py: import orjson instead of ujson

Fixes python-lsp#673
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.

UJSON is deprecated

1 participant