NiklasRosenstein / slap

Slap is a CLI to assist in the process for developing and releasing Python packages.
https://niklasrosenstein.github.io/slap/
Other
18 stars 11 forks source link

Support Poetry's table-format for dependency definition #52

Closed NiklasRosenstein closed 2 years ago

NiklasRosenstein commented 2 years ago

Poetry dependencies can be defined like

[tool.poetry.dependencies]
package1 = "^0.1.0"
package2 = { version = "^0.1.0" }

And currently, we only support the first format.

The second format comes with the additional complexity of support different types of dependencies, sources (PyPI indices) and marking dependencies as optional.

NiklasRosenstein commented 2 years ago

Done in latest develop, should be released as part of 1.5.0.