Skip to content

How to handle dependecies? #114

Answered by DavidVujic
anentropic asked this question in Q&A
Sep 25, 2023 · 4 comments · 12 replies
Discussion options

You must be logged in to vote

The poetry poly sync would need an entry point defined in the project-specific toml files. You could add your base in the project-specific toml and then run the command. If the base is importing a component, it will add it to the project toml if it is missing.

poetry add is for the third-party dependencies, such as django or requests. You can add the dependencies to the root workspace pyproject.toml for development, and add the needed third-party dependencies to each project in the workspace. The poetry poly check and poetry poly libs commands will highlight any missing libraries, helping developers catch any missing dependencies.

All commands support the --directory option (coming from P…

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@DavidVujic
Comment options

Answer selected by anentropic
@anentropic
Comment options

Comment options

You must be logged in to vote
1 reply
@DavidVujic
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@DavidVujic
Comment options

@DavidVujic
Comment options

@anentropic
Comment options

@DavidVujic
Comment options

@BeRT2me
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #113 on September 25, 2023 19:53.