poetry icon indicating copy to clipboard operation
poetry copied to clipboard

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

Open calebnorman opened this issue 3 years ago • 30 comments

  • Poetry version: 1.3.1
  • Python version: 3.10
  • OS version and name: Ubuntu 20.04
  • pyproject.toml: pyproject.toml
  • [X] I am on the latest stable Poetry version, installed using a recommended method.
  • [X] I have searched the issues of this repo and believe that this is not a duplicate.
  • [X] I have consulted the FAQ and blog for any relevant entries or release notes.
  • [X] 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

calebnorman avatar Dec 12 '22 17:12 calebnorman

/azp run

rmarinho avatar Mar 01 '23 13:03 rmarinho

Azure Pipelines successfully started running 2 pipeline(s).

azure-pipelines[bot] avatar Mar 01 '23 13:03 azure-pipelines[bot]

@jonathanpeppers is this a new package?

/Users/builder/azdo/_work/1/s/src/Core/src/Core.csproj : error NU1101: Unable to find package Xamarin.Google.ErrorProne.Annotations. No packages exist with this id in source(s): darc-pub-dotnet-emsdk-c3fc739, darc-pub-dotnet-runtime-1e1f688, dotnet-eng, dotnet-public, dotnet6, dotnet7, skiasharp [/Users/builder/azdo/_work/1/s/Microsoft.Maui.BuildTasks.slnf]

rmarinho avatar Mar 01 '23 14:03 rmarinho

@rmarinho just fyi @jpobst and @moljac are the ones to ask about these, thanks.

It does kind of look like something went wrong here? Or we need to just mirror this package on dotnet-public?

jonathanpeppers avatar Mar 01 '23 14:03 jonathanpeppers

@jonathanpeppers is this a new package?

/Users/builder/azdo/_work/1/s/src/Core/src/Core.csproj : error NU1101: Unable to find package Xamarin.Google.ErrorProne.Annotations. No packages exist with this id in source(s): darc-pub-dotnet-emsdk-c3fc739, darc-pub-dotnet-runtime-1e1f688, dotnet-eng, dotnet-public, dotnet6, dotnet7, skiasharp [/Users/builder/azdo/_work/1/s/Microsoft.Maui.BuildTasks.slnf]

I wouldn't say so:

https://www.nuget.org/packages/Xamarin.Google.ErrorProne.Annotations

Though 15 months could be called new.

moljac avatar Mar 01 '23 14:03 moljac

BTW

Material is 20 hrs old... Do you really want to bump?

Only 65 downloads...

moljac avatar Mar 01 '23 14:03 moljac

@moljac do you know if Xamarin.Google.ErrorProne.Annotations became a new dependency of Xamarin.Google.Android.Material?

jonathanpeppers avatar Mar 01 '23 14:03 jonathanpeppers

@jonathanpeppers

@moljac do you know if Xamarin.Google.ErrorProne.Annotations became a new dependency of Xamarin.Google.Android.Material?

Seems like it is new dependency in 1.8.0

moljac avatar Mar 01 '23 16:03 moljac

@dependabot rebase

rmarinho avatar Apr 11 '23 14:04 rmarinho