Skip to content

Commit

Permalink
FIX: add setuptools to rpc venv
Browse files Browse the repository at this point in the history
Closes #2033 

Required for py312 but should be safe on any version of Pyhon (setuptools was previously a transitive dependency).
  • Loading branch information
tacaswell authored Nov 24, 2023
1 parent 7ff8ffa commit d3d2085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elpy-rpc.el
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ needed packages from `elpy-rpc--get-package-list'."
(let ((rpc-python-version (elpy-rpc--get-python-version)))
(if (version< rpc-python-version "3.6.0")
'("jedi" "flake8" "autopep8" "yapf")
'("jedi" "flake8" "autopep8" "yapf" "black"))))
'("jedi" "flake8" "autopep8" "yapf" "black" "setuptools"))))

(defun elpy-rpc--get-python-version ()
"Return the RPC python version."
Expand Down

0 comments on commit d3d2085

Please sign in to comment.