Closed neojunjie closed 4 months ago
Hi, same issue here, the variables self.pypi_lookup and self.conda_lookup seems to be deleted before assignment. A temporary workaround is editing the lookup.py file to remove :
del self.pypi_lookup
del self.conda_lookup
A way to reproduce the problem is to create a pyproject.toml from https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#a-full-example then calling :
conda-lock lock --file pyproject.toml --pypi_to_conda_lookup_file https://raw.githubusercontent.com/regro/cf-graph-countyfair/master/mappings/pypi/grayskull_pypi_mapping.yaml --platform win-64 --lockfile conda-lock.yml
Thanks !
Thanks for the report! This was fixed in #588 and has been released.
Checklist
What happened?
The occurrence of an error was observed when attempting to reference an alternative location for the mapping file using the "pypi_to_conda_lookup_file" option.
Command fired:
Error Logs:
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response