Deutsch   English   Français   Italiano  
<lp0dhmF6pnuU1@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Greg Ewing <greg.ewing@canterbury.ac.nz>
Newsgroups: comp.lang.python
Subject: Re: Specifying local dependency with Poetry
Date: Wed, 6 Nov 2024 18:35:47 +1300
Lines: 17
Message-ID: <lp0dhmF6pnuU1@mid.individual.net>
References: <87fro5k92a.fsf@zedat.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net buL40p7Bdgvwu/KAqkTr4w2TtPXLcD7kjDc+NY5PmKAPNLNJUg
Cancel-Lock: sha1:XzYZ4XSlZ2IH8m5KPqC0u1M3UQ4= sha256:Zb+uTIeBidqWWKq27Llx7dq3LT2aow1fxCgZplNh9lw=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:91.0)
 Gecko/20100101 Thunderbird/91.3.2
Content-Language: en-US
In-Reply-To: <87fro5k92a.fsf@zedat.fu-berlin.de>
Bytes: 1402

On 6/11/24 4:13 am, Loris Bennett wrote:
> [tool.poetry.dependencies]
> python = "^3.6"
> first-package = "^1.6.0"
> 
>    Could not find a version that satisfies the requirement first-package<2.0.0,>=1.6.0 (from second-package==0.5.0) (from versions: )
> No matching distribution found for first-package<2.0.0,>=1.6.0 (from second-package==0.5.0)

What version number does first-package have?

The caret in the specification "^1.6.0" restricts it to 1.x.x versions.

If you don't want that restriction, use ">=" instead.

-- 
Greg