Sujet : Re: Specifying local dependency with Poetry
De : loris.bennett (at) *nospam* fu-berlin.de (Loris Bennett)
Groupes : comp.lang.pythonDate : 06. Nov 2024, 08:57:09
Autres entêtes
Organisation : FUB-IT, Freie Universität Berlin
Message-ID : <87cyj8x322.fsf@zedat.fu-berlin.de>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Greg Ewing <
greg.ewing@canterbury.ac.nz> writes:
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.
The first package has the version number 1.6.0.
-- This signature is currently under constuction.