Skip to content

v2.1.0

Compare
Choose a tag to compare
@damnever damnever released this 22 Jun 06:51
· 35 commits to main since this release

pip install pigar==2.1.0 includes an experimental feature called 'requirement-annotations' that allows you to declare implicit packages/distributions by using comments:

import foo # pigar: required-imports=import_name_bar,import_name_baz
import foo # pigar: required-packages=package-name-bar,package-name-baz # Extra comments are allowed.
foo(features=['bar', 'baz']) # pigar: required-distributions=package-name-bar,package-name-baz

See what’s changed between v2.0.8 and v2.1.0.