[Python] simple-mockforce dependency conflict on pyparsing<3.0.0

Discussão em 'Python' iniciado por Stack, Abril 11, 2025.

  1. Stack

    Stack Membro Participativo

    I’m working on a Python project that utilizes moto[all] version 5.0.0 or higher for mocking AWS services in pytest test cases. Additionally, the project depends on simple-salesforce and simple-mockforce for Salesforce API interactions.

    However, I’m encountering a dependency conflict related to the pyparsing library: • moto[all] ≥5.0.0 (using this because of checkov and jsonschema dependencies) requires pyparsing>=3.0.7. • simple-salesforce depends on python-soql-parser==0.2.0, which in turn requires pyparsing>=2.4.7,<3.0.0.

    This results in incompatible pyparsing version requirements, making it challenging to install all necessary packages simultaneously.

    Question:

    Has anyone else encountered this specific dependency conflict? • Are there any known workarounds or solutions to resolve this issue? • Is there an alternative to simple-salesforce or simple-mockforce that is compatible with pyparsing>=3.0.7?

    Any insights or suggestions would be greatly appreciated.

    Continue reading...

Compartilhe esta Página