question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Poetry 1.3 dies when run with a TTY reporting size 0/0

See original GitHub issue
  • Poetry version: 1.3.1
  • Python version: 3.10
  • OS version and name: Ubuntu 20.04
  • pyproject.toml: pyproject.toml
  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Issue

Running as part of a circle ci workflow. Steps below. The command poetry install identifies the Package Operations and then exits with code 1. (output below) SSH into the box and running poetry install produces the normal expected behavior.

workflow steps

...
pyenv global 3.10.2
pip install poetry==1.2.2
export PATH="/home/circleci/.local/bin:$PATH"

poetry install -vvv
...

###Poetry Install Step

#!/bin/bash -eo pipefail
poetry install -vvv

Creating virtualenv fastapi-template-repository-3aSsmiER-py3.10 in /home/circleci/.cache/pypoetry/virtualenvs
Using virtualenv: /home/circleci/.cache/pypoetry/virtualenvs/fastapi-template-repository-3aSsmiER-py3.10
Installing dependencies from lock file

Finding the necessary packages for the current system

Package operations: 71 installs, 1 update, 0 removals


Exited with code exit status 1

Issue Analytics

  • State:open
  • Created 9 months ago
  • Reactions:17
  • Comments:22 (6 by maintainers)

github_iconTop GitHub Comments

17reactions
rlgomescommented, Dec 13, 2022

FYI a workaround is to run with --no-ansi as I stumbled upon this error and then while debugging used that option to clear up some of the output and things ran succesfully.

3reactions
qwertyuucommented, Dec 13, 2022

@rlgomes you’ve fixed our work deployment pipeline! Thanks. --no-ansi makes poetry install work as intended, on the cimg/python:3.8 docker image at least.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CRFM Benchmarking
which was dependent on the electrometer size and proportional to time, but ... This report analyzes UMD 's peer tutoring center tutor training...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/20 15 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >
Untitled
#diesel Vikatan talkies, Youtube alquimia contrafarsa, Malimath committee report 2008, Producent biologie. Housekeeping safety message, New mall in liberty ...
Read more >
The Yocto Project ® 4.0.3 documentation
This short document steps you through the process for a typical image build using the Yocto Project. The document also introduces how to...
Read more >
Bortezomib* - Aspirus Health Plan
I. Length of Authorization 1,2,6,9,15,26,27,36-42 ... Used in combination with dexamethasone in patients with a confirmed diagnosis of POEMS.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found