Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry install error #12

Open
hute37 opened this issue Sep 9, 2022 · 1 comment
Open

Poetry install error #12

hute37 opened this issue Sep 9, 2022 · 1 comment

Comments

@hute37
Copy link

hute37 commented Sep 9, 2022

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 pushed a commit to hute37/python-rootpath that referenced this issue Sep 9, 2022
@hute37
Copy link
Author

hute37 commented Sep 9, 2022

Submitted a pull-request:

@hute37 hute37 closed this as completed Sep 9, 2022
@hute37 hute37 reopened this Sep 9, 2022
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

No branches or pull requests

1 participant