mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Remove version from VCS lock keys
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
This commit is contained in:
@@ -97,8 +97,6 @@ setup(
|
||||
c = pipenv_instance.pipenv("install -v -e .")
|
||||
assert c.return_code == 0
|
||||
assert "test-private-dependency" in pipenv_instance.lockfile["default"]
|
||||
assert "version" in pipenv_instance.lockfile["default"]["test-private-dependency"]
|
||||
assert "0.1" in pipenv_instance.lockfile["default"]["test-private-dependency"]["version"]
|
||||
|
||||
def test_https_dependency_links_install(self, PipenvInstance):
|
||||
"""Ensure dependency_links are parsed and installed (needed for private repo dependencies).
|
||||
|
||||
@@ -13,7 +13,7 @@ from pipenv._compat import Path
|
||||
@pytest.mark.vcs
|
||||
@pytest.mark.install
|
||||
@pytest.mark.needs_internet
|
||||
def test_basic_vcs_install(PipenvInstance): # ! This is failing
|
||||
def test_basic_vcs_install(PipenvInstance):
|
||||
with PipenvInstance(chdir=True) as p:
|
||||
c = p.pipenv("install git+https://github.com/benjaminp/six.git@1.11.0#egg=six")
|
||||
assert c.return_code == 0
|
||||
@@ -25,7 +25,6 @@ def test_basic_vcs_install(PipenvInstance): # ! This is failing
|
||||
assert p.lockfile["default"]["six"] == {
|
||||
"git": "https://github.com/benjaminp/six.git",
|
||||
"ref": "15e31431af97e5e64b80af0a3f598d382bcdd49a",
|
||||
"version": "==1.11.0"
|
||||
}
|
||||
assert "gitdb2" in p.lockfile["default"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user