Commit graph

65 commits

Author SHA1 Message Date
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
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
ec4efa5aaa
Remove sources from git repository committed by mistake 2023-09-04 18:19:47 +03:00
Roman Inflianskas
a69a033e3f
Update to 1.29.2 (fedora#2222617) 2023-09-04 18:00:04 +03:00
Fedora Release Engineering
043304facf Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 13:54:47 +00:00
Roman Inflianskas
cfd5f98938
Update to 1.28.0; tests: add support for Python 3.12 (fedora#2220929, fedora#2220496) 2023-07-13 11:54:57 +03:00
Python Maint
2241823332 Rebuilt for Python 3.12 2023-07-13 09:15:07 +02:00
Roman Inflianskas
bb5b60a68f
Update to 1.27.0 (resolve rhbz#2219588) 2023-07-05 10:16:30 +03:00
Roman Inflianskas
827e1c04cf
Update to 1.26.0 (resolve rhbz#2216744) 2023-06-26 13:19:37 +03:00
Roman Inflianskas
ceab21f8fd
Update to 1.25.1 (resolve rhbz#2211880) 2023-06-21 16:41:41 +03:00
Roman Inflianskas
b8c0429555
Update to 1.24.0 (resolve rhbz#2196238) 2023-05-25 15:37:26 +03:00
Benjamin A. Beasley
3ce2dd6dfc Re-generate integration grpc test proto bindings
Fixes FTBFS with python-opentelemetry 1.18.0/0.39~b0
2023-05-22 09:47:54 -04:00
Benjamin A. Beasley
ffc280f457 Add an explicit protobuf dependency for testing 2023-05-22 09:38:56 -04:00
Benjamin A. Beasley
6e6354c108 Add grpcio extra metapackage and test dependency 2023-05-22 09:28:54 -04:00
Roman Inflianskas
a1caf90759
Update to 1.22.1 (resolve rhbz#2193365) 2023-05-08 08:04:57 +03:00
Roman Inflianskas
1772824948
Update to 1.21.1 (resolve rhbz#2182365) 2023-05-02 17:29:17 +03:00
Roman Inflianskas
189cd891de
Update to 1.17.0 (resolve rhbz#2179098) 2023-03-27 16:38:52 +03:00
Roman Inflianskas
951072fcf4
Update to 1.16.0 (resolve rhbz#2167733) 2023-02-28 07:59:09 +02:00
Roman Inflianskas
331b4d5d18
Fixed changelog merge conflict 2023-01-23 13:36:37 +02:00
Roman Inflianskas
ad7b63dabc
Update to 1.14.0 (resolve rhbz#2163387) 2023-01-23 13:34:28 +02:00
Fedora Release Engineering
e5765ce9a3 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 17:12:44 +00:00