diff --git a/conda_lock/conda_lock.py b/conda_lock/conda_lock.py index 9c53cef2..f1643261 100644 --- a/conda_lock/conda_lock.py +++ b/conda_lock/conda_lock.py @@ -634,8 +634,7 @@ def format_pip_requirement( s += f"#sha256={spec.hash.sha256}" return s else: - # TODO: Use of '===' is explicitly discouraged. Could we use == instead? - s = f"{spec.name} === {spec.version}" + s = f"{spec.name} == {spec.version}" if spec.hash.sha256: s += f" --hash=sha256:{spec.hash.sha256}" return s