Sujet : Re: Specifying local dependency with Poetry
De : greg.ewing (at) *nospam* canterbury.ac.nz (Greg Ewing)
Groupes : comp.lang.pythonDate : 06. Nov 2024, 07:35:47
Autres entêtes
Message-ID : <lp0dhmF6pnuU1@mid.individual.net>
References : 1
User-Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:91.0) Gecko/20100101 Thunderbird/91.3.2
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