Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise a more explicit error when include is not a package #123

Closed
wants to merge 3 commits into from

Conversation

Arkelis
Copy link

@Arkelis Arkelis commented Jan 7, 2021

Related to: python-poetry#689

When an include is not a package, a ValueError is raised, which is not catched by Poetry's install command, resulting in a error (see issue). Raising a more specific exception (like NotAPackageError) could allow install command to catch it and silent it.

  • Added tests for changed code.
  • Updated documentation for changed code.

@Arkelis Arkelis changed the title Raise a mor explicit error when include is not a package Raise a more explicit error when include is not a package Jan 7, 2021
@Arkelis Arkelis closed this Jun 3, 2022
@Arkelis Arkelis deleted the patch-1 branch October 4, 2022 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant