breezy-apple-27122
03/17/2023, 11:31 AMmypy = "1.1.1"
), will the [mypy].version
config follow the one installed? Because then I could use renovatebot to keep the version of this tool maintained and updated.narrow-vegetable-37489
03/17/2023, 11:37 AMaverage-father-89924
03/17/2023, 12:01 PMlockfile = "3rdparty/mypy_lockfile.txt"
If I don't explicitly specify a lock file for mypy I am getting the following error when running pants export
125825.11 [ERROR] 1 Exception encountered:
Engine traceback:
ingoal - environment:local_linuxexport
InvalidLockfileError: You are using thelockfile provided by Pants to install the tool<default>
, but it is not compatible with your configuration:mypy
- You have set different requirements than those used to generate the lockfile. You can fix this by updating,[mypy].version
, and/or[mypy].source_plugins
, or by using a new custom lockfile.[mypy].extra_requirements
In the input requirements, but not in the lockfile: ['mypy==1.1.1']
In the lockfile, but not in the input requirements: ['mypy==0.961']
To generate a custom lockfile based on your current configuration, setto where you want to create the lockfile, then run[mypy].lockfile
.pants generate-lockfiles --resolve=mypy
refined-addition-53644
03/17/2023, 12:09 PMaverage-father-89924
03/17/2023, 12:09 PM