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

Installation script fails #4442

Closed
1 of 3 tasks
luisacabs-out opened this issue Aug 26, 2021 · 2 comments
Closed
1 of 3 tasks

Installation script fails #4442

luisacabs-out opened this issue Aug 26, 2021 · 2 comments
Labels
kind/bug Something isn't working as expected

Comments

@luisacabs-out
Copy link

luisacabs-out commented Aug 26, 2021

  • NA: I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • Running in a python:3.6 container:
  • Poetry version:
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

Since the new changes in the installation script install-poetry.py, I am not able to install poetry as recommended.

I was trying to build an image with poetry in my CI pipeline and it just broke because of this issue.

I tried to run:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -

An got the following output:

Retrieving Poetry metadata

# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

/root/.local/bin

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.

Installing Poetry (1.1.8): Installing Poetry
Traceback (most recent call last):
  File "<stdin>", line 832, in <module>
  File "<stdin>", line 828, in main
  File "<stdin>", line 440, in run
  File "<stdin>", line 464, in install
  File "<stdin>", line 588, in install_poetry
  File "/usr/local/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'

pip install seems to work fine.

@luisacabs-out luisacabs-out added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Aug 26, 2021
@luisacabs-out
Copy link
Author

Replicate of issue #4441

@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants