mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 06:46:15 +00:00
update vendored list
This commit is contained in:
Vendored
+1
-3
@@ -36,7 +36,6 @@ requirementslib==1.5.16
|
||||
shellingham==1.3.2
|
||||
six==1.15.0
|
||||
semver==2.13.0
|
||||
toml==0.10.2
|
||||
cached-property==1.5.2
|
||||
vistir==0.5.2
|
||||
pip-shims==0.5.3
|
||||
@@ -45,7 +44,6 @@ pip-shims==0.5.3
|
||||
enum34==1.1.10
|
||||
yaspin==1.2.0
|
||||
cerberus==1.3.2
|
||||
resolvelib==0.5.2
|
||||
backports.functools-lru-cache==1.6.1
|
||||
pep517==0.9.1
|
||||
zipp==1.2.0
|
||||
@@ -55,4 +53,4 @@ pep517==0.9.1
|
||||
orderedmultidict==1.0.1
|
||||
dparse==0.5.0
|
||||
python-dateutil==2.8.1
|
||||
packaging
|
||||
packaging
|
||||
|
||||
@@ -822,7 +822,7 @@ def unpin_file(contents):
|
||||
|
||||
|
||||
def unpin_and_copy_requirements(ctx, requirement_file, name="requirements.txt"):
|
||||
tempdir = TemporaryDirectory(dir="D:/Workspace/tempdir")
|
||||
tempdir = TemporaryDirectory()
|
||||
target = Path(tempdir.name).joinpath("requirements.txt")
|
||||
contents = unpin_file(requirement_file.read_text())
|
||||
target.write_text(contents)
|
||||
@@ -834,7 +834,7 @@ def unpin_and_copy_requirements(ctx, requirement_file, name="requirements.txt"):
|
||||
with ctx.cd(tempdir.name):
|
||||
ctx.run("pipenv install -r {0}".format(target.as_posix()), env=env, hide=True)
|
||||
result = ctx.run("pipenv lock -r", env=env, hide=True).stdout.strip()
|
||||
# ctx.run("pipenv --rm", env=env, hide=True)
|
||||
ctx.run("pipenv --rm", env=env, hide=True)
|
||||
result = list(sorted([line.strip() for line in result.splitlines()[1:]]))
|
||||
new_requirements = requirement_file.parent.joinpath(name)
|
||||
requirement_file.rename(
|
||||
|
||||
Reference in New Issue
Block a user