Skip to content

Files in nested folders don't get excluded along with upstream folders #784

@TOffergeld

Description

@TOffergeld
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Win10 64bin
  • Poetry version: 0.12
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

Maybe this is a feature request rather than a bug, but here goes:
I would expect there to be a way to exclude nested folders and their contents by excluding the root (not necessarily project root, but root of the nested folders instead) folder (possibly with trailing wildcard characters), however this doesn't seem possible at the moment.

Perhaps either Builder.find_excluded_files() should return an exhaustive list of files within nested subfolders, or the files within nested subfolders need to be excluded somewhere down the line in the build process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/build-systemRelated to PEP 517 packaging (see poetry-core)kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions