poetry icon indicating copy to clipboard operation
poetry copied to clipboard

Improve handling of extras

Open maksbotan opened this issue 3 years ago • 0 comments

Pull Request Check List

This changeset improves caching of dependencies with extras in two ways:

  • foo[extra] -> foo dependency preserves information about foo's source. If it comes from secondary repo, poetry will not look for it on PyPI

  • Do not resolve optional

  • [ ] Added tests for changed code.

  • [ ] Updated documentation for changed code.

I'm all in for adding tests, but I'd need guidance how to proceed.

When this PR is merged, I'll backport it to 1.1 branch as well.

maksbotan avatar Aug 07 '22 20:08 maksbotan