Specifying local dependency with Poetry
Loris Bennett
loris.bennett at fu-berlin.de
Wed Nov 6 01:57:09 EST 2024
Greg Ewing <greg.ewing at 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.
More information about the Python-list
mailing list