My FeedDiscussionsHashnode Enterprise
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Kamran Ali

2 likes

·

202 reads

4 comments

Vivek Singh
Vivek Singh
Jun 24, 2024

This article is super helpful for anyone looking to begin their journey with poetry. However, as I was reading through it, a couple of questions arose:

  1. Could you provide practical scenarios in which Dependency Groups (referenced in Step 6) might be necessary?
  2. Is it possible to eliminate the need for virtual environments entirely when utilizing poetry?
2
·
·1 reply
Kamran Ali
Kamran Ali
Author
·Jun 24, 2024

Thanks for the feedback

  1. Yes, that way we can segregate (or group) dependencies for specific tasks e.g. grouping tests dependencies, grouping dependencies for generating docs etc

  2. Yes, if a virtual environment is already activated inside that project. Poetry will acknowledge that and will use that environment (instead of creating a new one)

·
Avigyan Das
Avigyan Das
Jun 24, 2024

Good read

1
·
·1 reply
Kamran Ali
Kamran Ali
Author
·Jun 24, 2024

Thanks

·