Commit graph

94 commits

Author SHA1 Message Date
vanzhiganov
3b9aef0358 import 2.21.0 2025-02-24 05:47:55 +03:00
Roman Inflianskas
2638a9287a
Update to v2.21.0 (fedora#2323673, fedora#2341211, fedora#2335402) 2025-02-14 09:58:32 +02:00
Roman Inflianskas
8c72dbb19a
Update to 2.19.2 (fedora#2323673) 2025-02-13 20:08:44 +02:00
Fedora Release Engineering
fb37a2747a Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 19:10:53 +00:00
Benjamin A. Beasley
a54fc55fc0 Update Starlette/python-multipart patch as merged upstream 2024-10-29 10:20:44 -04:00
Roman Inflianskas
3d87ddb258
Re-enable testing with gevent
[skip changelog]
2024-10-29 08:47:17 +02:00
Roman Inflianskas
a4b6a0da67
Update to v2.17.0 (fedora#2310848) 2024-10-29 08:47:16 +02:00
Roman Inflianskas
2d6b7a2a57
Update to v2.16.0 (fedora#2310848) 2024-10-29 08:45:51 +02:00
Benjamin A. Beasley
b4ef8e4038 Avoid PendingDeprecationError from recent python-multipart 2024-10-28 13:10:27 -04:00
Benjamin A. Beasley
58d3d87b1c Unpin the virtualenv test dependency; fixes FTBFS in F42+ 2024-10-28 11:36:31 -04:00
Roman Inflianskas
2f8f40f1d8
Update to v2.15.0 (fedora#2310848) 2024-10-02 17:12:29 +03:00
Roman Inflianskas
30fb39586a
Update to v2.13.0 (fedora#2301207, fedora#2301991, fedora#2302923, fedora#2304029, fedora#2304047, fedora#2304128) 2024-08-20 09:59:56 +03:00
Roman Inflianskas
868b174920
Deselect time-dependent tests
Deselect tests that are time-dependent and may fail due to hardcoded
delays until they are reimplemented using time mocking.

https://bugzilla.redhat.com/show_bug.cgi?id=2265822
https://github.com/getsentry/sentry-python/issues/3335

[skip changelog]
2024-08-20 09:00:10 +03:00
Roman Inflianskas
5bce4ae480
Make grammar corrections in comments
[skip changelog]
2024-08-20 09:00:10 +03:00
Roman Inflianskas
bca0aea322
Enable grpc integration tests
[skip changelog]
2024-08-20 09:00:10 +03:00
Roman Inflianskas
cb469e0a9e
Run exceptional test with %pytest instead of %tox
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]
2024-08-20 09:00:10 +03:00
Roman Inflianskas
304f1d0bd2
Run integration tests with a PostgreSQL server
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]
2024-08-20 08:59:19 +03:00
Roman Inflianskas
79be25abc5
Enable Django tests
Now Django tests pass, avoid special handling.

[skip changelog]
2024-08-20 07:48:26 +03:00
Roman Inflianskas
f21338900b
Remove handling of sqlalchemy during tests
Now, tests pass without this handling.

[skip changelog]
2024-08-20 07:48:26 +03:00
Roman Inflianskas
3da812157f
Deselect new tests that require a network
These tests were added in the commit:
87f6037a7d

[skip changelog]
2024-08-20 07:48:26 +03:00
Roman Inflianskas
6e0b359b75
Remove tests specific to Python 2 2024-08-20 07:48:26 +03:00
Roman Inflianskas
251b10bbe7
Add links to comments
[skip changelog]
2024-08-20 07:48:25 +03:00
Roman Inflianskas
411369f90d
Enable fastapi integration tests
[skip changelog]
2024-08-20 07:48:25 +03:00
Roman Inflianskas
6cbd316bd3
Start redis-server to run integration tests
[skip changelog]
2024-08-20 07:48:25 +03:00
Roman Inflianskas
970ae4bf35
Add patches for Python 3.13 support 2024-08-20 07:48:25 +03:00
Roman Inflianskas
eca5339c25
Remove opentelemetry-instrumentation-* Python packages that are not
packaged (fedora#2296073)

[skip changelog]
2024-08-20 07:48:25 +03:00
Roman Inflianskas
b7009782de
Remove ipdb from requirements-testing.txt
`ipdb` is not used by the testing suite and is not packaged for Fedora.

[skip changelog]
2024-08-20 07:48:25 +03:00
Roman Inflianskas
38ccbf252b
Exclude tox env spark
The Python package `pyspark` is not packaged; disable the `spark` tox
environment.
2024-08-20 07:48:25 +03:00
Roman Inflianskas
9ae91ff2c8
Exclude tox env potel
The Python package `opentelemetry-experimental` is not packaged; disable
the `potel` tox environment.
2024-08-20 07:48:25 +03:00
Roman Inflianskas
4422182ee8
Remove opentelemetry_experimental conditional
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.
2024-08-20 07:48:25 +03:00
Roman Inflianskas
85bb22dbc8
Do not install gevent and test with gevent
Temporarily, do not install `gevent` and test with `gevent`;
it is not fully compatible with Python 3.13:
https://bugzilla.redhat.com/show_bug.cgi?id=2275488
https://bugzilla.redhat.com/show_bug.cgi?id=2290569
https://github.com/gevent/gevent/issues/2037
2024-08-20 07:48:25 +03:00
Roman Inflianskas
079310e246
Introduce new_werkzeug code
[skip changelog]
2024-08-20 07:48:23 +03:00
Roman Inflianskas
38ee93368c
Introduce old_graphene code
[skip changelog]
2024-08-20 07:47:43 +03:00
Roman Inflianskas
bbb09e4bfc
Introduce no_newrelic code
[skip changelog]
2024-08-20 07:47:43 +03:00
Roman Inflianskas
77ca4da259
Introduce no_mockupdb code
[skip changelog]
2024-08-20 07:47:43 +03:00
Roman Inflianskas
d4ac9b43ba
Rename tox env: rediscluster -> redis_py_cluster_legacy
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]
2024-08-20 07:47:43 +03:00
Roman Inflianskas
cb4a883f20
Refactor cohere absence handling
Treat absence of `cohere` the same way as absence of other dependencies.

[skip changelog]
2024-08-20 07:47:38 +03:00
Roman Inflianskas
44c6a5e84a
Add Patch1 back
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]
2024-07-19 20:08:27 +03:00
Roman Inflianskas
5305fcd1e4
Remove leftovers from disabling tests in Fedora 41
[skip changelog]
2024-07-19 20:08:27 +03:00
Fedora Release Engineering
f3e67673d4 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 15:41:58 +00:00
Python Maint
6238b69d7d Finish Python 3.13 bootstrap
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).
2024-07-16 22:17:19 +02:00
Paul Wouters
987e25db07 Resolves: rhbz#2282202 Update to 2.7.1
- Disable unpackaged cohere
2024-07-05 13:43:04 -04:00
Python Maint
30f00540cd Bootstrap for Python 3.13 2024-06-11 18:03:08 +02:00
Miro Hrončok
7501b73789 Add a bcond for tests
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.
2024-06-11 18:01:54 +02:00
Roman Inflianskas
52e4dd8be2
Update to v2.1.1 (fedora#2257648) 2024-05-10 08:17:14 +03:00
Roman Inflianskas
df86972479
Update comment about pytest issue
[skip changelog]
2024-05-02 10:53:48 +03:00
Roman Inflianskas
d8aca4e97c
Update to v2.0.1 2024-05-02 10:52:10 +03:00
Benjamin A. Beasley
11b7a1b2a1 Allow testing with anyio 4 2024-04-26 12:22:18 -04:00
Roman Inflianskas
d147a9f460
Update to v1.45.0 2024-04-18 19:32:45 +03:00
Roman Inflianskas
24c0bc5851
Update to v1.44.0 2024-04-01 17:44:13 +03:00