planet --version reports 0.0.0 under conda
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
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di planetlabs/planet-client-python
-
better-testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
planetlabs/planet-client-python#1110 ·
-
proposal
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
planetlabs/planet-client-python#1221 ·
-
proposal
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
planetlabs/planet-client-python#1214 ·
-
Quota API Apertaai-claude
planetlabs/planet-client-python#1191 · 1 commento · 1 assegnatario ·
-
Reports API Apertaai-claude
planetlabs/planet-client-python#1190 · 1 commento · 1 assegnatario ·
Tutte le issue di planetlabs/planet-client-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100