Skip to content

v0.6.0

Latest

Choose a tag to compare

@cvas22 cvas22 released this 05 Dec 02:27
0e17f7b

First release in a while, with a lot of fixes from contributors.

  • Python 3.9 to 3.14 and PyPy 3.11 are supported, 3.8 is dropped
  • Installed packages are found through importlib.metadata, including wheels without top_level.txt, and only from the active environment
  • Mapped names with hyphens or different case pick up the installed version
  • When a package isn't installed, the newest release that supports your Python is pinned
  • PyPI lookups time out after 30 seconds instead of hanging, and --pypi-server accepts simple index URLs
  • New --mapping-file option to add or override import-to-package mappings
  • Extensionless scripts with a python shebang are scanned
  • Empty or unrelated folders named like a package no longer hide that import, and tool caches are skipped
  • Source files are read with their PEP 263 encoding, requirements files as UTF-8
  • --clean and --diff fixes, python -m pipreqs works
  • Lots of new and corrected mappings

Full list in HISTORY.rst. Thx to everyone who sent PRs!