Skip to content
Snippets Groups Projects

Fix cmmnbuild-dep-manager stub generation, and add appropriate tests.

  • Adds a new _site_packages method on Manager (it could have been moved out of Manager, but I kept it there for consistency with _dir, _user_dir and _dist_dir.

  • Makes stubgen an optional package pip install cmmnbuild-dep-manager[stubgen]

  • I looked at enabling subgen by default if installed, but was concerned with what the implications would be given that it starts the JVM (prevents Manager('pyjapc') type resolve calls from having control of JVM startup). To be investigated further.

  • Fixes the breakage as a result of merging the move from Manager._registered_packages to Manager._registered_modules.

  • Adds CI testing for the stubgen integration (JPype 1.2 only)

Edited by Philip Elson

Merge request reports

Pipeline #2400916 passed

Pipeline passed for 22ca34c9 on pelson:feature/optional_auto_stubgen

Approved by

Merged by Michi HostettlerMichi Hostettler 4 years ago (Mar 15, 2021 11:50am UTC)

Loading

Pipeline #2400963 failed

Pipeline failed for 891751e2 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading