Skip to content

Small issue with pypandoc and common_setup (hit while installing pytest-profiling) #87

Open
@beaugunderson

Description

@beaugunderson

If the pypandoc module is installed but pandoc is not then import pypandoc will succeed but the pypandoc module will not have a convert attribute when imported, leading to an AttributeError being raised, which common_setup does not currently catch.

The workaround for us is to install pandoc before doing our pip installs so that the convert attribute exists when it needs to.

It would be nice if common_setup could catch the AttributeError, so that the installation order wouldn't matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions