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
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
Roman Inflianskas
a4bc877d6a
Use %tox for testing instead of %pytest
...
[skip changelog]
2024-04-01 15:20:16 +03:00
Roman Inflianskas
69025a6e64
BuildRequires: psycopg -> psycopg2
2024-02-21 08:25:11 +02:00
Roman Inflianskas
ce1ad6f845
Update to 1.39.2
2024-02-21 08:15:05 +02:00
Roman Inflianskas
60a358000a
Use forges
2024-02-20 09:46:18 +02:00
Roman Inflianskas
9e322dee99
Use %autorelease
2024-02-20 09:32:04 +02:00
Roman Inflianskas
dda0a78b6b
Use %autochangelog
2024-02-20 09:26:10 +02:00
Fedora Release Engineering
bc679b0589
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2024-01-26 10:37:27 +00:00
Fedora Release Engineering
7e4bd55758
Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
2024-01-22 06:58:41 +00:00
Roman Inflianskas
96fa34d8ce
Update to 1.39.1 (fedora#2238739)
...
- Use bcond for conditionally excluded integrations, sqlalchemy during
tests, and for network-related tests
- Verify all extras against setup.py
- Improve testing by removing ignores for tests that pass and adding
comments with reasons for ignores
- Remove patch for Python 3.12 which is unnecessary now
- Add new integrations (extras)
2024-01-03 15:23:48 +02:00
Miro Hrončok
90c9c5f347
Explicitly BuildRequire python3dist(pysocks)
...
The dependency is listed in test-requirements.txt,
when urllib3 does not pull in pysocks transitively,
the tests fail:
=================================== FAILURES ===================================
_________________________ test_socks_proxy[testcase1] __________________________
tests/test_client.py:344: in test_socks_proxy
assert str(type(client.transport._pool)) == testcase["expected_proxy_class"]
E assert "<class 'urll...PoolManager'>" == "<class 'urll...roxyManager'>"
E - <class 'urllib3.contrib.socks.SOCKSProxyManager'>
E + <class 'urllib3.poolmanager.PoolManager'>
_________________________ test_socks_proxy[testcase2] __________________________
tests/test_client.py:344: in test_socks_proxy
assert str(type(client.transport._pool)) == testcase["expected_proxy_class"]
E assert "<class 'urll...PoolManager'>" == "<class 'urll...roxyManager'>"
E - <class 'urllib3.contrib.socks.SOCKSProxyManager'>
E + <class 'urllib3.poolmanager.PoolManager'>
_________________________ test_socks_proxy[testcase3] __________________________
tests/test_client.py:344: in test_socks_proxy
assert str(type(client.transport._pool)) == testcase["expected_proxy_class"]
E assert "<class 'urll...PoolManager'>" == "<class 'urll...roxyManager'>"
E - <class 'urllib3.contrib.socks.SOCKSProxyManager'>
E + <class 'urllib3.poolmanager.PoolManager'>
_________________________ test_socks_proxy[testcase4] __________________________
tests/test_client.py:344: in test_socks_proxy
assert str(type(client.transport._pool)) == testcase["expected_proxy_class"]
E assert "<class 'urll...PoolManager'>" == "<class 'urll...roxyManager'>"
E - <class 'urllib3.contrib.socks.SOCKSProxyManager'>
E + <class 'urllib3.poolmanager.PoolManager'>
_________________________ test_socks_proxy[testcase5] __________________________
tests/test_client.py:344: in test_socks_proxy
assert str(type(client.transport._pool)) == testcase["expected_proxy_class"]
E assert "<class 'urll...PoolManager'>" == "<class 'urll...roxyManager'>"
E - <class 'urllib3.contrib.socks.SOCKSProxyManager'>
E + <class 'urllib3.poolmanager.PoolManager'>
_________________________ test_socks_proxy[testcase6] __________________________
tests/test_client.py:344: in test_socks_proxy
assert str(type(client.transport._pool)) == testcase["expected_proxy_class"]
E assert "<class 'urll...PoolManager'>" == "<class 'urll...roxyManager'>"
E - <class 'urllib3.contrib.socks.SOCKSProxyManager'>
E + <class 'urllib3.poolmanager.PoolManager'>
_________________________ test_socks_proxy[testcase7] __________________________
tests/test_client.py:344: in test_socks_proxy
assert str(type(client.transport._pool)) == testcase["expected_proxy_class"]
E assert "<class 'urll...PoolManager'>" == "<class 'urll...roxyManager'>"
E - <class 'urllib3.contrib.socks.SOCKSProxyManager'>
E + <class 'urllib3.poolmanager.PoolManager'>
_________________________ test_socks_proxy[testcase8] __________________________
tests/test_client.py:344: in test_socks_proxy
assert str(type(client.transport._pool)) == testcase["expected_proxy_class"]
E assert "<class 'urll...PoolManager'>" == "<class 'urll...roxyManager'>"
E - <class 'urllib3.contrib.socks.SOCKSProxyManager'>
E + <class 'urllib3.poolmanager.PoolManager'>
2023-10-12 11:07:24 +02:00
Roman Inflianskas
a69a033e3f
Update to 1.29.2 (fedora#2222617)
2023-09-04 18:00:04 +03:00