Skip to content

Poly sync not working properly for projects in sub-directories  #184

Description

@olafurnielsen

Describe the bug

  • I'd like to be able to organize projects in sub-directories under the projects folder
  • poetry poly info correctly finds all projects, even those in nested directories
  • I can run poetry poly sync to have bricks added to pyproject.toml
  • But the generated path is always ../../bases

To Reproduce
Steps to reproduce the behavior:

  1. Create a project in a sub-directory under projects
  2. Run poetry poly sync
  3. Run poetry build-project within the respective project

Expected behavior
Relative paths to components/bases should be correct – f.x. ../../../bases for a project residing in projects/sub-directory/project_a

Desktop (please complete the following information):

  • OS: Mac OS 14.3.1
  • Python version: 3.12.2
  • Poetry version: 1.8.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions