Control: retitle -1 unable to set up jediepcserver, permission denied

Hi,

I've uploaded 0.2.8+git20220410.81c5a42-1, which contains all upstream
changes. Now emacs-jedi is compatible with jedi in Debian (the API was
updated to jedi 0.18).

Unfortunately, there's another problem, now due to permissions. Namely,
as follows:

Running: pip install --upgrade 
/usr/share/emacs/site-lisp/elpa/jedi-core-0.3.0/...Done
deferred error : (error "Deferred process exited abnormally:
  command: /home/dogsleg/.emacs.d/.python-environments/default/bin/pip
  exit status: exit 1
  event: exited abnormally with code 1
  buffer contents: \"Processing /usr/share/emacs/site-lisp/elpa/jedi-core-0.3.0
  Preparing metadata (setup.py) ... [?25l- \\\\ done
[?25hCollecting argparse (from jediepcserver==0.3.0)
  Using cached argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Requirement already satisfied: epc>=0.0.4 in /usr/lib/python3/dist-packages 
(from jediepcserver==0.3.0) (0.0.5)
Requirement already satisfied: jedi>=0.11.0 in /usr/lib/python3/dist-packages 
(from jediepcserver==0.3.0) (0.18.2)
Requirement already satisfied: setuptools in 
./.emacs.d/.python-environments/default/lib/python3.11/site-packages (from 
jediepcserver==0.3.0) (68.0.0)
Building wheels for collected packages: jediepcserver
  Building wheel for jediepcserver (setup.py) ... [?25l- \\\\ error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      error: could not create 'build': Permission denied
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem 
with pip.
  ERROR: Failed building wheel for jediepcserver
[?25h  Running setup.py clean for jediepcserver
Failed to build jediepcserver
ERROR: Could not build wheels for jediepcserver, which is required to install 
pyproject.toml-based projects
\"")

Looks like it tries to set up the Python environment in some system's
drectory, not in user's HOME. Currently, I don't have time to invest
into this, patches are welcome.

The severity is still grave, because the package is not usable, but I'm
retitling the bug report (instead of closing and submitting a new one)
to reflect this new problem.

Regards,
Lev

Reply via email to