Hello, is there a way to ignore dependency mismatc...
# general
w
Hello, is there a way to ignore dependency mismatches when resolving python package dependencies? E.g. Package A and B depend on package C, but they chose the dependency ranges too strictly and now they cant be installed together. Can i force a version for dependency C and still generate the lockfiles? Edit: Specified 'python packages'
b
@worried-piano-22913 see: https://www.pantsbuild.org/stable/reference/subsystems/python#resolves_to_overrides The docs are a bit weird since they reference
--override
, which is a Pex option and not a Pants option, but the original posting in https://github.com/pantsbuild/pants/issues/22787 gives an example pants.toml with one default resolve and one override for that resolve.