For unknown reasons,
`tests/integrations/opentelemetry/test_experimental.py::test_post_patching`
fails with `%tox`, but runs fine with `%pytest`.
The same test is skipped while running:
```
tox -e py3.13-opentelemetry -r -- -- tests/integrations/opentelemetry/test_experimental.py::test_post_patching
```
because `py3.13-opentelemetry` has no OpenTelemetry instrumentor libraries
installed.
It runs fine with:
```
tox -e py3.13-potel -r -- -- tests/integrations/opentelemetry/test_experimental.py::test_post_patching
```
[skip changelog]
Enabling integration tests with a PostgreSQL server led to the discovery
of the issue, which is documented at
https://github.com/getsentry/sentry-python/issues/3312.
Short version:
Previously, when packages added in `in_app_include` were installed to a
location outside of the project root directory, span from those packages
were not extended with OTel compatible source code information. Cases
include running Python from virtualenv created outside of the project
root directory or Python packages installed into the system using package
managers. This resulted in an inconsistency: spans from the same project
would be different, depending on the deployment method.
Add a patch to fix this issue as part of the update.
[skip changelog]
The `opentelemetry_experimental` conditional was used to enable the
`opentelemetry-experimental` integration on Fedora 40 and later versions.
Since `rawhide` will not be merged to the `f39` branch anymore (the `f39`
branch has version 1.45.0, while `rawhide` has version 2.7.1, and version
2.0.0 has breaking changes), it is safe to drop this conditional.
The tox environment's name was changed in the commit:
121aa0e7a5
This change was not reflected in commit `987e25d`; the tests did not run
because they were disabled in commit `7501b73`.
[skip changelog]
The line:
`Patch1: 0002-tests.test_new_scopes_compat_event-compatibility.patch`
was removed in commit `987e25d`, though it was still needed for tests to
pass. The tests did not run because they were disabled in commit `7501b73`.
The patch was reintroduced again, now in an upstreamable fashion.
[skip changelog]
Our tooling indicates the package is not yet ready to be built
with this change due to missing dependencies.
However, considering the Fedora 41 Mass Rebuild happens tomorrow,
we revert our changes for now,
not to create a false indication that this package builds fine.
If a dependency needs to be dropped permanently,
it should be done manually by the package maintainer(s).
Apparently, this package is required by plasma-drkonqi,
which is needed to build the KDE image.
We don't have all the tests deps for a Python 3.13 rebuild,
so this allows us to build the package without tests first.