Files
packages/lang/python/python-sentry-sdk/Makefile
Alexandru Ardelean 2bb434d3c3 python-sentry-sdk: update to 2.57.0
Update package to 2.57.0.

Major version 2.0 breaking changes:
- Hub API deprecated; replaced with new_scope / isolation_scope API;
  configure_scope / push_scope removed; Hub class retained but deprecated
- Python 2.7 support dropped; internal SDK data model refactored
- Migration guide: https://docs.sentry.io/platforms/python/migration/1.x-to-2.x

New features (2.0 - 2.57):
- Many integrations now auto-activate if the package is detected:
  Ariadne, ARQ, asyncpg, Chalice, Loguru, PyMongo, Quart, Starlite,
  Strawberry, Anthropic, Cohere, Graphene, LiteLLM, Google GenAI
- Extensive AI/LLM monitoring with gen_ai.* span attributes aligned
  with OpenTelemetry semantic conventions
- Feature flag tracking: LaunchDarkly, Unleash integrations
- Sentry structured logs (beta, 2.30): capture Loguru log messages
- New SysExitIntegration (2.14)
- failed_request_status_codes configurable for FastAPI/Starlette (2.5)
- Client cert/key support for HttpTransport (2.10)
- Experimental async transport added (2.57)

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-12 10:14:26 +03:00

45 lines
1.0 KiB
Makefile

#
# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-sentry-sdk
PKG_VERSION:=2.57.0
PKG_RELEASE:=1
PYPI_NAME:=sentry-sdk
PYPI_SOURCE_NAME:=sentry_sdk
PKG_HASH:=4be8d1e71c32fb27f79c577a337ac8912137bba4bcbc64a4ec1da4d6d8dc5199
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-sentry-sdk
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Client for Sentry
URL:=https://github.com/getsentry/sentry-python
DEPENDS:= \
+python3 \
+python3-certifi \
+python3-urllib3
endef
define Package/python3-sentry-sdk/description
This is the official Python SDK for Sentry.
endef
$(eval $(call Py3Package,python3-sentry-sdk))
$(eval $(call BuildPackage,python3-sentry-sdk))
$(eval $(call BuildPackage,python3-sentry-sdk-src))