Skip to content

Commit

Permalink
Updating git:// to https:// since github is removing support
Browse files Browse the repository at this point in the history
  • Loading branch information
richafrank committed Nov 5, 2021
1 parent 830304c commit 1551e25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions tests/test_cli_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def test_editable_package_in_constraints(pip_conf, runner, req_editable):
@pytest.mark.network
def test_editable_package_vcs(runner):
vcs_package = (
"git+git://github.com/jazzband/pip-tools@"
"git+https://github.com/jazzband/pip-tools@"
"f97e62ecb0d9b70965c8eff952c001d8e2722e94"
"#egg=pip-tools"
)
Expand Down Expand Up @@ -525,7 +525,7 @@ def test_locally_available_editable_package_is_not_archived_in_cache_dir(
id="Zip URL",
),
pytest.param(
"git+git://github.com/jazzband/pip-tools@"
"git+https://github.com/jazzband/pip-tools@"
"7d86c8d3ecd1faa6be11c7ddc6b29a30ffd1dae3",
"\nclick==",
id="VCS URL",
Expand All @@ -538,10 +538,10 @@ def test_locally_available_editable_package_is_not_archived_in_cache_dir(
id="Wheel URL",
),
pytest.param(
"pytest-django @ git+git://github.com/pytest-dev/pytest-django"
"pytest-django @ git+https://github.com/pytest-dev/pytest-django"
"@21492afc88a19d4ca01cd0ac392a5325b14f95c7"
"#egg=pytest-django",
"pytest-django @ git+git://github.com/pytest-dev/pytest-django"
"pytest-django @ git+https://github.com/pytest-dev/pytest-django"
"@21492afc88a19d4ca01cd0ac392a5325b14f95c7",
id="VCS with direct reference and egg",
),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def test_is_pinned_requirement_editable(from_editable):
("file:///example.zip", True),
("https://example.com/example.zip", True),
("https://example.com/example.zip#egg=example", True),
("git+git://github.com/jazzband/pip-tools@master", True),
("git+https://github.com/jazzband/pip-tools@master", True),
),
)
def test_is_url_requirement(caplog, from_line, line, expected):
Expand Down

0 comments on commit 1551e25

Please sign in to comment.