Skip to content

Bring docs_test and examples up to date #311

Open
@kevinlacaille

Description

@kevinlacaille

After installing the package in the SDK repo (pip install -e .) and activating the virtual environment (pyenv activate planetSDK), I find that nox testing on docs_test and examples does not work on the v2 branch.

When running nox -s docs_test I get two issues:

1) pyenv cannot find pytest in the virtual environment. I checked .nox/docs_test/bin/pip/ and indeed pip did not install pytest in the virtual environment and I’m not sure why. I tried to fix this by doing ~/code/repos/planet-client-python/.nox/docs_test/bin/pip install pytest, but this does not instal pytest, and many other packages needed.

image

  1. Unrecognized args in pytest:
    image

I find that nox -s examples fails with a TyperError:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    2024-revisitSDK committee reviewed and marked for follow-upbetter-testingImproving test coverage across the projectunverified

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions