Skip to content

Poetry Build not honouring .gitignore #1660

@SimonBiggs

Description

@SimonBiggs
  • 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).

Issue

It appears as though the following line within a .gitignore file is not being honoured by poetry build:

https://github.com/pymedphys/pymedphys/blob/9b24bad2520684793b35193191cdb470809b8b05/pymedphys/_app/.gitignore#L10

See the corresponding PyPI release which contains the build directory which should not have been included:

https://pypi.org/project/pymedphys/0.13.0.dev0/#files

image

Keen for any pointers on how to get this directory not included within the release artefact.

Cheers,
Simon

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions