planet --version reports 0.0.0 under conda

Aperta
#1,197 1 commento 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
build-system, cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
Python
Stelle
299
Fork
100
Merge medio
7g 8h
PR unite (30g)
2

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di planetlabs/planet-client-python

Tutte le issue di planetlabs/planet-client-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.