Skip to content

Releases: damnever/pigar

v2.0.5

12 Jan 11:34
Compare
Choose a tag to compare

pip install pigar==2.0.5

See what’s changed between v2.0.4 and v2.0.5.

v2.0.4

22 Dec 06:47
9488952
Compare
Choose a tag to compare

pip install pigar==2.0.4

See what’s changed between v2.0.3 and v2.0.4.

v2.0.3

15 Dec 07:58
Compare
Choose a tag to compare

pip install pigar==2.0.3

See what’s changed between v2.0.2 and v2.0.3.

v2.0.2

04 Dec 02:01
Compare
Choose a tag to compare

pip install pigar==2.0.2

  • Ignore absolute path in distributions' installed files.
  • Ignore vcs exception when parsing information for EggInfoDistribution.
  • Sort searched results, print unknown if version not found.
  • Fix dirty records in the index database.

v2.0.1

03 Dec 01:49
fcbffad
Compare
Choose a tag to compare
Version: 2.0.1

v2.0.0

02 Dec 12:54
Compare
Choose a tag to compare

Thanks for all the feedback and contributions, try the v2: pip install pigar==2.0.0.

This version has changed a lot of things, most of them are BREAKING CHANGEs!

  • Dropped support for Python versions older than 3.7.
  • Redesigned the command line interface.
    • pigar generate to generate requirements.txt.
    • pigar search to search packages/distributions by the top level module names.
    • pigar check to check the latest versions of requirements.
    • pigar -h to explore more.
    • pigar accepts a prefix for a command, such as pigar gen, pigar c.
  • Refactored a lot of code and interfaces.
  • Vendoring the pip to access more sophisticated utilities(pip named it's module as _internal so vendoring technology is introduced).
    • Fixed a lot of issues when parsing the requirements file, e.g. #113.
    • Fixed the issues for editable requirements, e.g. #60.
  • Tweaked some default actions and introduced more options for better user experience.
    • pigar will ask user to choose the right packages/distributions if pigar has found multiple packages/distributions for the same module names. With --auto-select enabled, pigar will guess the best matched one or choose all possible packages/distributions automatically.
    • Added an option --dry-run which allows pigar to not write a requirements.txt file, just print it.
    • Added an option --follow-symbolic-links/--dont-follow-symbolic-links to let user decide whether to follow the symbolic links, fixed #89.
    • Added an option -i/--index-url to allow the custom URL of the Python Package Index, fixed #52.
    • Removed the spaces from requirements specifier, fixed #86.
    • Added an option --show-differences/--dont-show-differences to enable or disable showing the differences when the requirements file is overwritten.
  • Introduced asyncio to synchronize distributions' metadata with the PyPI, the process is much faster now.
  • Refactored the code to make the index database more reliable.
    • Add unique contstraints to avoid duplicate records, fixed #119.
    • Store versions in the database to do incremental index synchronization.

v1.0.2

13 Nov 04:40
Compare
Choose a tag to compare

v1.0.1 is a bad release, and I am hoping there is no one using it.. sorry for the inconvenience.

NOTE

Version 1.x will be the last version that supports Python2.7

News

Now, we can search Python package distributions by the top-level import name on https://damnever.github.io/pigar/

Bug fixes

  • Support *.ipynb magics and shell command, fixed #87. See #102, #117, #118 for details.
  • Parse requirements file with the more sophisticated utility, fixed #48, #113. See #115 for details.
  • Fixed #99, continue if a local package isn't exists. See #107 for details.
  • Fixed too many values to unpack error when parsing git config. See #97 for details.

Thanks to @dsimmie, @yashafromrussia and @mdmmn378 for their contributions to this release.

v1.0.1 [NSFW]

13 Nov 04:11
Compare
Choose a tag to compare

This is a bad release, see v1.0.2.

v1.0.0

22 Jun 15:12
4540cc0
Compare
Choose a tag to compare
  • BREAKING CHANGE: Disable the comments which contain filenames and line numbers by default, use --with-referenced-comments to enable this feature.
  • Skip if local package (edit-mode project) not found, fixed #99.

v0.10.0

14 Mar 12:43
0674dce
Compare
Choose a tag to compare

See v0.10.0rc0 for details.