No version of `opentelemetry-sdk` since version 1.0.0 can be installed with --only-final
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- build-system, release
Línea de trabajo
Reproduce la resolución de dependencias indicada con pip usando --only-final ":all:" e inspecciona los metadatos de dependencia de las versiones de opentelemetry-sdk posteriores a 1.0.0 junto con las versiones publicadas de opentelemetry-semantic-conventions. Se considera completado cuando se puede seleccionar un SDK estable actual sin la excepción, o cuando la limitación de la política de releases compatible está documentada claramente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 2.7k
- Forks
- 1.1k
- Merge medio
- 3 d 12 h
- PR fusionados (30 d)
- 16
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de open-telemetry/opentelemetry-python
-
References to Archived open-telemetry/otepsPosiblemente ocupada @RjyavardhanSingh la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
open-telemetry/opentelemetry-python#5984 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Autoconfiguration rejects OTEL_EXPORTER_OTLP_PROTOCOL=http/jsonPosiblemente ocupada @WendeelMarinho la tomó hace 2 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
open-telemetry/opentelemetry-python#5981 ·
Los mantenedores suelen responder en 2 días
-
MeterProvider raises ValueError on empty or uppercase OTEL_METRICS_EXEMPLAR_FILTERPosiblemente ocupada @bishalde la tomó hace 8 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
open-telemetry/opentelemetry-python#5948 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
W3CBaggagePropagator drops a list-member over 4096 bytes that W3C Baggage requires it to propagatePosiblemente ocupada @codedbyadiiii la tomó hace 20 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
open-telemetry/opentelemetry-python#5913 ·
Los mantenedores suelen responder en 2 días
-
otel.sdk.processor.{span,log}.queue.capacity uses synchronous UpDownCounter recorded once in __init__Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
open-telemetry/opentelemetry-python#5891 ·
Los mantenedores suelen responder en 2 días
Todos los issues de open-telemetry/opentelemetry-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug improve content
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
opensafely/documentation#2102 ·
Los mantenedores suelen responder en 1 día
-
difficulty:1 documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
MakazhanAlpamys/Soup#3533 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
onyx-dot-app/onyx#18730 ·
Los mantenedores suelen responder en 1 día