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

[tool.poetry.scripts] section remove an ability to download dependencies from private repository #4255

Open
3 tasks done
Virviil opened this issue Jul 5, 2021 · 2 comments
Labels
area/scripts Related tool.poetry.scripts kind/bug Something isn't working as expected status/triage This issue needs to be triaged

Comments

@Virviil
Copy link

Virviil commented Jul 5, 2021

  • 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).
  • macos bigsur 11.4:
  • 1.1.7:
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

Trying to call

poetry add private_package

works only if [tool.poetry.scripts] section is removed from pyproject.toml

With this section command returns:

ValueError

Could not find a matching version of package private_package
@Virviil Virviil added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jul 5, 2021
@Virviil
Copy link
Author

Virviil commented Aug 18, 2021

Any updates?

@jony89
Copy link

jony89 commented Aug 3, 2022

WA for now -> you can move the tool.poetry.scripts to the top of the file and it will work.

see #3474

@finswimmer finswimmer added the area/scripts Related tool.poetry.scripts label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/scripts Related tool.poetry.scripts kind/bug Something isn't working as expected status/triage This issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

3 participants