Skip to content

Poetry install error #12

@hute37

Description

@hute37

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions