Release history

2.3

  • Add modulegraph2.stdlib_module_names and add --exclude-stdlib to the standard interface to exclude the stdlib from the graph.

  • The graph builder now knows about mypyc and scan for dependencies for mypyc compiled extension modules, assuming the source for the python module is shipped in the distribution.

  • Fix missing edges in the graph when a package __init__ uses from . import sub_module.

  • Fix incompatibility with Python 3.11 when implict namespace packages are used.

2.2.1

  • Fix incompatibility with recent setuptools versions

  • Fix incompatibility with Python 3.11

2.2

  • Enhance the support for setuptools vendored packages to also work with pkg_resources (which uses the same mechanism).

  • Fix graphbuilding problem when using “setuptools”, “pkg_resources” or “six”.

  • Fix test failures with recent python versions, failures were due to imperfect test hygiene.

  • Add a code attribute to modulegraph2.Script and modulegraph2.Module, containing the compiled bytecode for the module (or None)

2.1

  • #11: ModuleGraph.add_script did not work reliably

  • Add support for the way setuptools locates vendored packages (setuptools.extern.VendorImporter)

2.0

  • No functional changes

  • Migrated to GitHub

2.0a2

Fixed a number of issues:

  • Test suite now passes on Windows

  • Test suite now passes on Linux

  • Test suite now passes with Python 3.6

  • Implemented automated tested on Windows and Linux using AppVeyor. MacOS is manually tested for now as that’s my main development platform.

2.0a1

Initial pre-release. This version should be functionally complete, but hasn’t been used by other code yet.