You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix test monkeypatching and get_version() positional argument
- Updated assert_root() to patch vcs_versioning._get_version_impl instead of setuptools_scm
- Added root parameter to get_version() to support positional arguments (issue #669)
- Support PathLike in get_version() root parameter for type compatibility
- Updated test_basic_api.py to patch at the correct module level
Test improvements:
- test_root_parameter_pass_by now passes (was failing due to monkeypatch)
- 3/21 tests passing in test_basic_api
- test_parentdir_prefix now failing on output format (unrelated to refactoring)
0 commit comments