No version of `opentelemetry-sdk` since version 1.0.0 can be installed with --only-final
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- python
- Ambito
- build-system, release
Direzione di ricerca
Riproduci la risoluzione delle dipendenze segnalata con pip usando --only-final ":all:" e ispeziona i metadati delle dipendenze delle versioni di opentelemetry-sdk successive alla 1.0.0 insieme alle release di opentelemetry-semantic-conventions. Il lavoro è completato quando è possibile selezionare un SDK stabile corrente senza l'eccezione, oppure quando la limitazione della release policy supportata è documentata chiaramente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It appears that every single version of opentelemetry-sdk since (but excluding) 1.0.0 has required a pre-release version of opentelemetry-semantic-conventions -- making it impossible to install any later version of opentelemetry-sdk other than 1.0.0 when installing with the --only-final ":all:" flag.
Using --only-final ":all:" might be obviously an intentional choice that clashes with the decision to release opentelemetry-semantic-conventions exclusively as pre-releases; but since February this year with setuptools version 82.0.0 getting rid of pkg_resources, opentelemetry-api (locked to version 1.0.0 by opentelemetry-sdk being stuck on 1.0.0 when using --only-final ":all:" no longer works in environments where you can't intentionally install older versions of setuptools e.g. in GCP cloud run functions you cannot downgrade setuptools which is now deployed as version 82 or later, so any package that still relies on pkg_resources will break with no remedy other than to upgrade the package that is using pkg_resources. In this case, opentelemetry-api 1.0.0 is using pkg_resources and can't be upgraded from whilst using anything that relies on opentelemetry-sdk while using the --only-final ":all:" flag.
It would be great if it were possible to release a non-pre-release version of opentelemetry-semantic-conventions as it's the only package in my setup that is "only ever a pre-release"..
This can be circumvented by adding an exception, e.g. instead of only only-final
--only-final ":all:" --all-releases "opentelemetry-semantic-conventions"
but this is the only exception necessary and it would be nice if it weren't so.
I do appreciate that these are relatively ancient problems e.g. the version of packages from 2021, caused by new flags introduced at the start of this year -- and that it's an intentional choice to make them pre-releases which is what the new flag on pip is supposed to manage, but it's silly that there have been "stable" releases of opentelemetry-sdk frequently released over the last 5 years but they have all required specific pre-releases of opentelemetry-semantic-conventions and that this forces opentelemetry-api to be limited to 1.0.0, and it took me a few hours to track this down as the source of my problem so thought I'd raise this.
- Lingua principale
- Python
- Stelle
- 2.7k
- Fork
- 1.1k
- Merge medio
- 3g 12h
- PR unite (30g)
- 16
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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 open-telemetry/opentelemetry-python
-
References to Archived open-telemetry/otepsForse già presa @RjyavardhanSingh l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
open-telemetry/opentelemetry-python#5984 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Autoconfiguration rejects OTEL_EXPORTER_OTLP_PROTOCOL=http/jsonForse già presa @WendeelMarinho l’ha presa 2 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
open-telemetry/opentelemetry-python#5981 ·
I maintainer di solito rispondono entro 2 giorni
-
MeterProvider raises ValueError on empty or uppercase OTEL_METRICS_EXEMPLAR_FILTERForse già presa @bishalde l’ha presa 8 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
open-telemetry/opentelemetry-python#5948 · 3 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
W3CBaggagePropagator drops a list-member over 4096 bytes that W3C Baggage requires it to propagateForse già presa @codedbyadiiii l’ha presa 20 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
open-telemetry/opentelemetry-python#5913 ·
I maintainer di solito rispondono entro 2 giorni
-
otel.sdk.processor.{span,log}.queue.capacity uses synchronous UpDownCounter recorded once in __init__Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
open-telemetry/opentelemetry-python#5891 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di open-telemetry/opentelemetry-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug improve content
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
opensafely/documentation#2102 ·
I maintainer di solito rispondono entro 1 giorno
-
difficulty:1 documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
MakazhanAlpamys/Soup#3533 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
onyx-dot-app/onyx#18730 ·
I maintainer di solito rispondono entro 1 giorno