Skip to content

python3-sentry: update to 2.64.0#61456

Open
elbachir-one wants to merge 1 commit into
void-linux:masterfrom
elbachir-one:python3-sentry
Open

python3-sentry: update to 2.64.0#61456
elbachir-one wants to merge 1 commit into
void-linux:masterfrom
elbachir-one:python3-sentry

Conversation

@elbachir-one

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, (ARCH-LIBC)

@slymattz

Copy link
Copy Markdown
Contributor

Hi! Do you think switching this package to PEP 517 would be worthwhile? I built it successfully, excluded a number of failing tests and inspected the contents of the generated .xbps package. I did not, however, test the SDK itself beyond the build process.

The template I used is as follows:

# Template file for 'python3-sentry'
pkgname=python3-sentry
version=2.64.0
revision=1
build_style=python3-pep517
# the test suite remains rather extensive
# even after excluding tests that are currently broken
make_check_args="
 --ignore=tests/integrations/wsgi
 --ignore=tests/test_client.py
 --ignore=tests/test_dsc.py
 --ignore=tests/test_feature_flags.py
 --ignore=tests/test_full_stack_frames.py
 --ignore=tests/test_scrubber.py
 --ignore=tests/test_serializer.py
 --ignore=tests/test_sessions.py
 --ignore=tests/test_spotlight.py
 --ignore=tests/test_transport.py
 --deselect=tests/integrations/logging/test_logging.py::test_logger_with_all_attributes
 --deselect=tests/test_basics.py::test_dedupe_event_processor_drop_records_client_report
 --deselect=tests/test_basics.py::test_dedupe_doesnt_take_into_account_dropped_exception
 --deselect=tests/test_basics.py::test_staticmethod_instance_tracing
 --deselect=tests/test_basics.py::test_classmethod_instance_tracing
 --deselect=tests/test_basics.py::test_last_event_id
 --deselect=tests/test_basics.py::test_notes
 --deselect=tests/test_basics.py::test_notes_safe_str
 --deselect=tests/test_basics.py::test_stacktrace_big_recursion
 --deselect=tests/test_scope.py::test_merging
 --deselect=tests/test_scope.py::test_last_event_id
 --deselect=tests/test_scope.py::test_last_event_id_cleared
 --deselect=tests/test_utils.py::test_default_release
 --deselect=tests/tracing/test_decorator.py::test_span_templates_ai_dicts
 --deselect=tests/tracing/test_decorator.py::test_span_templates_ai_objects
"
hostmakedepends="python3-setuptools"
depends="python3-certifi python3-urllib3"
checkdepends="$depends python3-pytest python3-pytest-cov"
short_desc="New Python SDK for Sentry.io"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/getsentry/sentry-python"
changelog="https://raw.githubusercontent.com/getsentry/sentry-python/refs/heads/master/CHANGELOG.md"
distfiles="https://github.com/getsentry/sentry-python/archive/refs/tags/${version}.tar.gz"
checksum=8f7caa9068ae0dd8e084da04fac50a71ec6d7223115de88324b9e2633f61004d

post_install() {
	vlicense LICENSE
}

Despite excluding the failing tests, this template still performs a proper do_check() using a substantial portion of the upstream test suite so I think it could be a worthwhile change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants