As a workaround, you can separate the library installations into different requirements files.
<requirements-dev.txt>
checkov==2.5.20
mock>=5.1.0
moto[all]>=5.0.11
pylint==3.1.0
pytest>=8.2.0
pytest-cov>=5.0.0
requests_mock>=1.12.1
responses==0.20.0
unittest-xml-reporting>=3.0.4
paramiko==3.5.1
First, install the dependencies required for moto from one requirements file. Then, in a separate step, install simple-mockforce and related Salesforce libraries from another requirements file. This approach helps avoid direct dependency conflicts during the resolution process.
<requirements-dev-mockforce.txt>
simple-mockforce==0.8.1
pip install -r requirements-dev.txt
pip install -r requirements-dev-mockforce.txt