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
Vacate the `gitconfig` / `hgconfig` pytest fixture names that
collided with the third-party `pytest-gitconfig` plugin. When both
plugins auto-loaded (e.g. via Arch's python-copier package using a
system-site-packages venv), downstream tests crashed with
`AttributeError: 'PosixPath' object has no attribute 'set'`.
Renames adopt the `vcs_` prefix already used by `vcs_name`,
`vcs_email`, and `vcs_user`:
- `gitconfig` → `vcs_gitconfig`
- `set_gitconfig` → `set_vcs_gitconfig`
- `hgconfig` → `vcs_hgconfig`
- `set_hgconfig` → `set_vcs_hgconfig`
**Breaking changes:** No deprecation alias is provided — registering
the old names would still occupy the shared namespace and defeat
the deconfliction. Downstream test suites that referenced the old
fixture names must update their parameter names.
Internal callers across the pytest plugin, root conftest, and
libvcs's own test suite are updated. `docs/api/pytest-plugin.md`,
`CHANGES`, `MIGRATION`, and `AGENTS.md` are kept in sync.
Fixes#528
See also: vcs-python/vcspull#548 (downstream coordination)
0 commit comments