This PR introduces a way to filter out dev dependencies by reading the production dependencies from pyproject.toml file (if it exists) and resolving the transitive dependency of the production dependencies from poetry.lock.
I am attaching test files that can be used to manually test the new functionality. testfiles.tar.gz
package.category
section was removed in: https://github.com/python-poetry/poetry/pull/7637/filesThis means the current implementation in https://github.com/sonatype-nexus-community/vscode-iq-plugin/blob/main/ext-src/packages/poetry/PoetryUtils.ts#L33 will not filter dev dependencies anymore.
This PR introduces a way to filter out dev dependencies by reading the production dependencies from
pyproject.toml
file (if it exists) and resolving the transitive dependency of the production dependencies frompoetry.lock
.I am attaching test files that can be used to manually test the new functionality. testfiles.tar.gz
cc @bhamail / @DarthHater