mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +00:00
fix: Use == to define had pinned requirement
This allows one to add a dependency like `PyPika = '5.1.0'` directly instead of `PyPika = '==5.1.0'`
This commit is contained in:
parent
45267fc897
commit
beac865153
@ -109,7 +109,7 @@ def _generate_dev_deps_pattern(pyproject_path):
|
||||
|
||||
try:
|
||||
for pkg, version in pyroject_config['tool']['bench']['dev-dependencies'].items():
|
||||
op = "=" if "=" not in version else ""
|
||||
op = "==" if "=" not in version else ""
|
||||
requirements_pattern += f"{pkg}{op}{version} "
|
||||
except KeyError:
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user