mirror of
https://github.com/not-kennethreitz/pipenvlib.git
synced 2026-06-05 15:10:18 +00:00
skip pipfile.lock is latest
Signed-off-by: Kenneth Reitz <me@kennethreitz.org> Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
+2
-8
@@ -21,6 +21,7 @@ class Dependency(object):
|
||||
|
||||
class LockedDependency(object):
|
||||
"""A Locked Dependency"""
|
||||
|
||||
def __init__(self, name, constraint, hashes):
|
||||
self.name = name
|
||||
self.constraint = constraint
|
||||
@@ -31,6 +32,7 @@ class LockedDependency(object):
|
||||
self.name, self.constraint
|
||||
)
|
||||
|
||||
|
||||
class Requirement(object):
|
||||
"""A Requirement."""
|
||||
|
||||
@@ -76,10 +78,6 @@ class PipenvProject(object):
|
||||
"""Asserts that the Pipfile.lock exists."""
|
||||
assert os.path.isfile(self._pipfile_path)
|
||||
|
||||
@property
|
||||
def lockfile_is_latest(self):
|
||||
pass
|
||||
|
||||
def _get_section_of_pipfile(self, section, target):
|
||||
def gen():
|
||||
pipfile = toml.load(self._pipfile_path)
|
||||
@@ -196,7 +194,3 @@ class PipenvProject(object):
|
||||
@property
|
||||
def virtualenv_location(self):
|
||||
return self._run('--venv').out.strip()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user