-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Poetry 1.5.0 removes category field. #26
Comments
Thank you @real-yfprojects for your notice. It looks like that poetry 1.5.0 relies on poetry-core 1.6.0 that deprecates I'm not using the newer versions of Poetry on a daily basis. AFAIU from the doc, now there's no way to infer whether the dependency is a "dev dependency" or not from the lock file. Now, this kind of info is managed by dependency groups in the toml file (I guess this holds since poetry 1.2.0). As per the doc of poetry 1.5.0:
I'm open to discussions (and contributions) about it. |
Why do you need that in the first place? |
There's no hard need. It is just the current way used by |
I mean why do you differentiate between dev and non dev dependencies? If it is used in |
Oh, I'm sorry, I didn't get your question. I introduced the You are right, the quickest fix could by simply considering poetry.lock as a whole, without caring anymore about the package type. |
New release brach tracked in #27. |
👍 Thanks. I can do a quick review later this week if you like. |
It’s anything. Sure, thank you!
|
Ok, the fix is ready to ship, baked in version 1.0.0. |
With v1.5.0 poetry no longer writes a
category
field topoetry.lock
.This results in the following error:
The text was updated successfully, but these errors were encountered: