python-rootpath icon indicating copy to clipboard operation
python-rootpath copied to clipboard

Poetry install error

Open hute37 opened this issue 3 years ago • 1 comments

Problem appears after upgrading from Python 3.9 to 3.10 (probably related to setuptools upgrade) I'm trying to fix it in my fork. If resolved, I'll propose a pull-request


With poetry, installing package for forked repository:

[tool.poetry.dependencies.rootpath]                                                             
git = "https://github.com/hute37/python-rootpath"                                               
branch = "stable"                                                                               

raises this error:

$ poetry install

Installing dependencies from lock file
Package operations: 1 install, 0 updates, 0 removals
  • Installing rootpath (0.1.1 96ed35b): Failed
...
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'error'
    error: subprocess-exited-with-error  
    × Getting requirements to build wheel did not run successfully.

The current environment is (Linux: Ubuntu 20.04):

$ poetry env info

Virtualenv
Python:         3.10.5
Implementation: CPython
Path:           /home/user/.cache/pypoetry/virtualenvs/dve-sample-py-1sUhEi8s-py3.10
Executable:     /home/user/.cache/pypoetry/virtualenvs/dve-sample-py-1sUhEi8s-py3.10/bin/python
Valid:          True

System
Platform:   linux
OS:         posix
Python:     3.10.5
Path:       /home/user/.pyenv/versions/3.10.5
Executable: /home/user/.pyenv/versions/3.10.5/bin/python3.10

hute37 avatar Sep 09 '22 10:09 hute37

Submitted a pull-request:

  • PR #13

hute37 avatar Sep 09 '22 11:09 hute37