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
why: The unprefixed `gitconfig`/`hgconfig` fixture names in libvcs's
pytest plugin collided with the third-party pytest-gitconfig plugin,
which exposes a `gitconfig` fixture returning a GitConfig helper
rather than a pathlib.Path. When both plugins auto-loaded, downstream
tests (e.g. python-copier on AUR) crashed with
`AttributeError: 'PosixPath' object has no attribute 'set'`.
what:
- Rename `gitconfig` → `vcs_gitconfig`, `set_gitconfig` → `set_vcs_gitconfig`
- Rename `hgconfig` → `vcs_hgconfig`, `set_hgconfig` → `set_vcs_hgconfig`
- Update internal callers: git_repo, hg_repo, git_remote_repo,
create_hg_remote_repo, hg_remote_repo, doctest fixture harness
- Update root conftest.py autouse setup
- Update libvcs's own test suite (test_pytest_plugin, test_git submodule,
test_hg url + sync autouse aliases)
- Update docs/api/pytest-plugin.md
- CHANGES entry under 0.41.x as a Breaking change
No deprecation alias is provided -- registering the old names as
aliases would still occupy the shared namespace and defeat the
deconfliction with pytest-gitconfig. Downstreams must update parameter
names.
0 commit comments