@@ -107,7 +107,7 @@ def test_git_gone(wd: WorkDir, monkeypatch: pytest.MonkeyPatch) -> None:
107
107
assert wd .get_version (fallback_version = "1.0" ) == "1.0"
108
108
109
109
110
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/298" )
110
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/298" )
111
111
@pytest .mark .issue (403 )
112
112
def test_file_finder_no_history (wd : WorkDir , caplog : pytest .LogCaptureFixture ) -> None :
113
113
file_list = git_find_files (str (wd .cwd ))
@@ -116,7 +116,7 @@ def test_file_finder_no_history(wd: WorkDir, caplog: pytest.LogCaptureFixture) -
116
116
assert "listing git files failed - pretending there aren't any" in caplog .text
117
117
118
118
119
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/281" )
119
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/281" )
120
120
def test_parse_call_order (wd : WorkDir ) -> None :
121
121
git .parse (str (wd .cwd ), Configuration (), git .DEFAULT_DESCRIBE )
122
122
@@ -153,7 +153,7 @@ def break_folder_permissions(path: Path) -> Generator[None, None, None]:
153
153
sudo_devnull (["chgrp" , "-R" , str (original_stat .st_gid ), path ], check = True )
154
154
155
155
156
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/707" )
156
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/707" )
157
157
def test_not_owner (wd : WorkDir ) -> None :
158
158
with break_folder_permissions (wd .cwd ):
159
159
assert git .parse (str (wd .cwd ), Configuration ())
@@ -401,7 +401,7 @@ def test_git_archive_run_from_subdirectory(
401
401
assert setuptools_scm ._file_finders .find_files ("." ) == [opj ("." , "test1.txt" )]
402
402
403
403
404
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/728" )
404
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/728" )
405
405
def test_git_branch_names_correct (wd : WorkDir ) -> None :
406
406
wd .commit_testfile ()
407
407
wd ("git checkout -b test/fun" )
@@ -419,7 +419,7 @@ def test_git_feature_branch_increments_major(wd: WorkDir) -> None:
419
419
assert wd .get_version (version_scheme = "python-simplified-semver" ).startswith ("1.1.0" )
420
420
421
421
422
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/303" )
422
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/303" )
423
423
def test_not_matching_tags (wd : WorkDir ) -> None :
424
424
wd .commit_testfile ()
425
425
wd ("git tag apache-arrow-0.11.1" )
@@ -432,7 +432,7 @@ def test_not_matching_tags(wd: WorkDir) -> None:
432
432
).startswith ("0.11.2" )
433
433
434
434
435
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/411" )
435
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/411" )
436
436
def test_non_dotted_version (wd : WorkDir ) -> None :
437
437
wd .commit_testfile ()
438
438
wd ("git tag apache-arrow-1" )
@@ -456,12 +456,12 @@ def test_non_dotted_tag_no_version_match(wd: WorkDir) -> None:
456
456
assert wd .get_version ().startswith ("0.11.2.dev2" )
457
457
458
458
459
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/381" )
459
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/381" )
460
460
def test_gitdir (monkeypatch : pytest .MonkeyPatch , wd : WorkDir ) -> None :
461
461
""" """
462
462
wd .commit_testfile ()
463
463
normal = wd .get_version ()
464
- # git hooks set this and break subsequent setuptools_scm unless we clean
464
+ # git hooks set this and break subsequent setuptools-scm unless we clean
465
465
monkeypatch .setenv ("GIT_DIR" , __file__ )
466
466
assert wd .get_version () == normal
467
467
@@ -540,7 +540,7 @@ def signed_commit_wd(monkeypatch: pytest.MonkeyPatch, wd: WorkDir) -> WorkDir:
540
540
return wd
541
541
542
542
543
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/548" )
543
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/548" )
544
544
def test_git_getdate_signed_commit (signed_commit_wd : WorkDir ) -> None :
545
545
today = datetime .now (timezone .utc ).date ()
546
546
signed_commit_wd .commit_testfile (signed = True )
@@ -578,7 +578,7 @@ def test_git_archival_to_version(expected: str, from_data: dict[str, str]) -> No
578
578
assert format_version (version ) == expected
579
579
580
580
581
- @pytest .mark .issue ("https://github.com/pypa/setuptools_scm /issues/727" )
581
+ @pytest .mark .issue ("https://github.com/pypa/setuptools-scm /issues/727" )
582
582
def test_git_archival_node_missing_no_version () -> None :
583
583
config = Configuration ()
584
584
version = archival_to_version ({}, config = config )
0 commit comments