planet --version reports 0.0.0 under conda

Open
#1,197 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
build-system, cli

Research direction

Start by reproducing planet --version in the reported conda environment and compare it with the pip installation on the same system. Trace the version metadata used by the conda-installed CLI; done means the command reports the current Planet CLI version rather than 0.0.0, while planet --help remains unchanged.

Written by the indexing model from the issue text.

Description

bug

This came up while testing the Docker environment of https://github.com/planetlabs/notebooks

Expected behavior
planet --version will report the current version of the planet CLI

Actual behavior (describe the problem)
planet --version reports 0.0.0:

$ conda run planet --version
planet, version 0.0.0

planet --help shows expected v3 commands, indicating this is incorrect:

$ conda run planet --help
Usage: planet [OPTIONS] COMMAND [ARGS]...

  Planet SDK for Python CLI

Options:
  --quiet                    Disable ANSI control output.
  --version                  Show the version and exit.
  --verbosity TEXT           Optional: set verbosity level to warning, info,
                             or debug.                  Defaults to warning.
  --auth-profile TEXT        Select the client authentication profile to use.
                             [env var: PL_AUTH_PROFILE]
  --auth-client-id TEXT      Specify the OAuth client ID.  [env var:
                             PL_AUTH_CLIENT_ID]
  --auth-client-secret TEXT  Specify the OAuth client Secret.  [env var:
                             PL_AUTH_CLIENT_SECRET]
  --auth-api-key TEXT        Specify an API key.  [env var: PL_API_KEY]
  --help                     Show this message and exit.

When installed using pip on the same system, the version is reported correctly.

Environment Information

  • Operation System Information: Ubuntu 25.04
  • Python version: 3.13.7, 3.13.3
  • Planet package version: Unknown, 3.1.0 presumed

Installation Method

  • conda
Dominant language
Python
Stars
299
Forks
100
Avg merge
7d 8h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from planetlabs/planet-client-python

All issues in planetlabs/planet-client-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.