Skip to content

Commit 5bcaf6c

Browse files
authored
deps: bump to libvcs 0.41.0 - for vcs_gitconfig rename (#548)
Bump minimum libvcs from 0.40.0 to 0.41.0 to pick up the upstream pytest plugin fixture rename. libvcs renamed `gitconfig` to `vcs_gitconfig` and `hgconfig` to `vcs_hgconfig` to deconflict with the third-party `pytest-gitconfig` plugin (vcs-python/libvcs#528, vcs-python/libvcs#529). vcspull's autouse setup fixture and pytester-isolated test fixtures now request the renamed `vcs_gitconfig` parameter. No public API surface changes. Breaking changes: Minimum libvcs version raised from 0.40.x to 0.41.x; downstream consumers tracking vcspull's pin must accept libvcs 0.41.x. See also: vcs-python/libvcs#529
2 parents b6f9d71 + 93e5151 commit 5bcaf6c

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ $ uvx --from 'vcspull' --prerelease allow vcspull
3737
_Notes on upcoming releases will be added here_
3838
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->
3939

40+
### Breaking changes
41+
42+
- Bump minimum libvcs from 0.40.0 to 0.41.0 (#548)
43+
4044
### Documentation
4145

4246
- Bump gp-sphinx docs stack to v0.0.1a16 — docs site now renders

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def add_doctest_fixtures(
3838
def setup(
3939
request: pytest.FixtureRequest,
4040
monkeypatch: pytest.MonkeyPatch,
41-
gitconfig: pathlib.Path,
41+
vcs_gitconfig: pathlib.Path,
4242
set_home: pathlib.Path,
4343
xdg_config_path: pathlib.Path,
4444
git_commit_envvars: dict[str, str],

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ keywords = [
5353
]
5454
homepage = "https://vcspull.git-pull.com"
5555
dependencies = [
56-
"libvcs>=0.40.0,<0.41.0",
56+
"libvcs>=0.41.0,<0.42.0",
5757
"colorama>=0.3.9",
5858
"PyYAML>=6.0"
5959
]

tests/test_fixtures.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_git_commit_envvars_in_environment(
3737

3838
def test_home_contains_gitconfig(
3939
set_home: pathlib.Path,
40-
gitconfig: pathlib.Path,
40+
vcs_gitconfig: pathlib.Path,
4141
) -> None:
4242
"""HOME should point to a directory containing .gitconfig."""
4343
home = os.environ.get("HOME", "")
@@ -136,7 +136,7 @@ def test_pytester_git_commit_in_isolated_run(
136136
def setup(
137137
request: pytest.FixtureRequest,
138138
monkeypatch: pytest.MonkeyPatch,
139-
gitconfig: pathlib.Path,
139+
vcs_gitconfig: pathlib.Path,
140140
set_home: pathlib.Path,
141141
git_commit_envvars: dict[str, str],
142142
) -> None:

uv.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)