Commit graph

63 commits

Author SHA1 Message Date
Theodore Ni b5fde732b4
python3.pkgs.aiohttp: fix tests with setuptools 67.5.0+ (#247310) 2023-08-11 07:53:24 +02:00
Theodore Ni 735d9c7fc3
python3.pkgs.async-generator: rename from async_generator 2023-08-09 09:57:25 -07:00
Martin Weinelt d37303e9b3 python310Packages.aiohttp: disable regularly failing tests
These were already reported upstream some months ago.
2023-07-28 12:15:35 +02:00
Robert Schütz f56fdf43e4 python310Packages.aiohttp: 3.8.4 -> 3.8.5
Changelog: https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst
2023-07-20 11:40:43 -07:00
Robert Schütz 74a5fa10cd
python310Packages.yarl: 1.8.2 -> 1.9.2
Hopefully fixes segfaults on aarch64,
https://github.com/aio-libs/yarl/issues/835

Also apply upstream patch to aiohttp to make it work with this
version of yarl.

Changelog: https://github.com/aio-libs/yarl/blob/v1.9.2/CHANGES.rst

Co-Authored-By: Robert Schütz <nix@dotlambda.de>
2023-06-30 11:39:10 +02:00
Sandro Jäckel 0f8d279ceb
python310Packages.aiohttp: remove pytest-xdist again and add a comment to not add it again
This reverts commit d65445f5b2.
2023-05-10 20:36:14 +02:00
Nick Cao 361195305b
python3Packages.aiohttp: add setuptools to nativeBuildInputs, fix cross compilation 2023-04-30 14:43:11 +08:00
Sandro Jäckel d65445f5b2
python310Packages.aiohttp: speed test up with pytest-xdist 2023-04-06 15:45:32 +02:00
Martin Weinelt 1bd4b71a35 python310Packages.cchardet: Drop in favor of faust-cchardet
The former packages has seen its last release in 2020-10 and can be
considered abandoned. Meanwhile a new fork has appeared in
faust-cchardet, that we're going to use in its place.

Co-Authored-By: Robert Schütz <nix@dotlambda.de>
2023-03-03 23:59:29 +01:00
Robert Schütz 5a6143b663 python310Packages.aiohttp: 3.8.3 -> 3.8.4
Changelog: https://github.com/aio-libs/aiohttp/blob/v3.8.4/CHANGES.rst
2023-03-03 23:56:31 +01:00
Martin Weinelt 720a248b44
python310Packages.aiohttp: Make failing tests non-strict
Patch originated at Red Hat and was already applied for Fedora.

```
=================================== FAILURES ===================================
__________________________ test_default_loop[pyloop] ___________________________
[XPASS(strict)] No idea why ClientRequest() is constructed out of loop but it calls `asyncio.get_event_loop()`
____________________ TestStreamReader.test_ctor_global_loop ____________________
[XPASS(strict)] No idea why ClientRequest() is constructed out of loop but it calls `asyncio.get_event_loop()`
__________________________ test_set_loop_default_loop __________________________
[XPASS(strict)] No idea why _set_loop() is constructed out of loop but it calls `asyncio.get_event_loop()`
```
2023-02-18 16:05:29 +01:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Martin Weinelt 4553e6237f python3Packages.aiohttp: Relax charset-normalizer constraint
and set format.
2023-01-05 13:20:45 +01:00
Robert Schütz d879bde8fb python310Packages.aiohttp: 3.8.1 -> 3.8.3
https://github.com/aio-libs/aiohttp/blob/v3.8.3/CHANGES.rst
2022-11-08 21:53:59 -08:00
Kai Wohlfahrt df1f9ecd9b
python3Packages.aiohttp: remove trustme test dependency on aarch64-darwin
This is an optional test dependency dependency is no longer needed, and
makes the package unbuildable on aarch64-darwin, as it transitively
depends on pyopenssl, which is marked broken.
2022-05-25 16:14:26 +00:00
Martin Weinelt 59d3288912 python3Packages.aiohttp: disable tests causing warnings with pytest>=7.0 2022-03-14 00:29:04 +01:00
Austin Butler 7e1f7b8e1f python3Packages.aiohttp: fix tests on Darwin 2022-02-21 03:08:57 +00:00
Jonathan Ringer 856701c43c
python3Packages.aiohttp: 3.8.0 -> 3.8.1 2021-11-30 18:48:34 -08:00
Robert Schütz 15e7302a9a python3Packages.aiohttp: 3.7.4.post0 -> 3.8.0
https://github.com/aio-libs/aiohttp/releases/tag/v3.8.0
2021-11-12 00:53:25 -08:00
Martin Weinelt af84578114 python3Packages.aiohttp: remove pytest-xdist
Fails reproducible on hydra like this:

```
        try:
            # set_wakeup_fd() raises ValueError if this is not the
            # main thread.  By calling it early we ensure that an
            # event loop running in another thread cannot add a signal
            # handler.
>           signal.set_wakeup_fd(self._csock.fileno())
E           ValueError: set_wakeup_fd only works in main thread of the main interpreter
```

And was remove from upstreams tests due to 10-15% error rate way back
in 2018.
2021-06-22 13:42:53 +02:00
Robert Schütz 0140b2811c python3Packages.aiohttp: 3.7.4 -> 3.7.4.post0 2021-03-07 19:43:23 +01:00
Martin Weinelt 48ebb82c32 python3Packages.aiohttp: 3.7.3 -> 3.7.4
https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25

Clean up package, reenable tests, allow local networking for darwin for
loopback network tests, actually enable xdist, disable coverage.

Fixes: CVE-2021-21330
2021-02-27 12:21:18 +00:00
Frederik Rietdijk 98a0342b78 python3Packages.aiohttp: fix build 2020-12-01 14:44:25 +01:00
Frederik Rietdijk 70dc02063c python3Packages.aiohttp: 3.6.3 -> 3.7.3 2020-12-01 14:44:08 +01:00
Frederik Rietdijk 3c68887b23 python3Packages.aiohttp: 3.6.2 -> 3.6.3 2020-11-05 15:46:56 -08:00
Jonathan Ringer ca912341b0
python3Packages.aiohttp: fix tests 2020-08-16 17:46:43 -07:00
Simon Chatterjee 5a3546120c python: aiohttp: fix darwin build
Disable a non-critical test known to fail on Darwin (see https://github.com/aio-libs/aiohttp/issues/3572)
2020-06-19 20:16:58 +01:00
Mario Rodas 85ebbbbd3d python38Packages.aiohttp: fix build on darwin 2020-06-16 08:52:13 +02:00
Frederik Rietdijk b8f7c6e397 python3.pkgs.aiohttp: disable failing python 3.8 tests 2020-06-11 08:24:44 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Konrad Borowski 621c4239c3 pythonPackages.aiohttp: remove pytest-timeout check dependency 2020-02-20 21:00:46 -08:00
rnhmjoj 6be8389b04 python/aiohttp: disable test on 32bit platforms
The test `test_cookiejar` is failing because a time_t
constant can't be represented on 32bit platforms.
2020-02-17 16:05:46 -08:00
Jonathan Ringer 35f6a7406d python38Packages.aiohttp: disable
Looks like "+" operator between futures no longer works.
Reported upstream https://github.com/aio-libs/aiohttp/issues/4525
2020-01-22 18:17:16 -08:00
Jonathan Ringer 6a2ad503c0 pythonPackages.aiohttp: disable sandbox-incompatible test 2019-12-30 16:46:49 +01:00
Jonathan Ringer d59337e806 python3Packages.aiohttp: 3.5.4 -> 3.6.2 2019-10-18 09:54:04 +02:00
Frederik Rietdijk 33263a7efb python3Packages.aiohttp: fix tests 2019-08-18 11:48:40 +02:00
Frederik Rietdijk 3cf9c7163f pythonPackages.aiohttp: disable tests 2019-06-15 08:42:51 +02:00
Frederik Rietdijk eda6360cb9 pythonPackages.aiohttp-cors: move expression 2019-06-15 08:21:06 +02:00
Robert Schütz baf6252275 python3.pkgs.aiohttp: 3.5.3 -> 3.5.4 2019-01-12 14:56:40 +01:00
Robert Schütz 98686d3b7f python3.pkgs.aiohttp: 3.5.2 -> 3.5.3 2019-01-12 07:39:28 +01:00
Robert Schütz cc70439e11 python3.pkgs.aiohttp: 3.4.4 -> 3.5.2 2019-01-10 17:05:15 +01:00
R. RyanTM c8f1b83307 python36Packages.aiohttp: 3.3.2 -> 3.4.4 (#49024)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-aiohttp/versions
2018-10-27 14:31:32 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Frederik Rietdijk 59daa4fd62 python.pkgs.aiohttp: fix build 2018-06-23 12:02:20 +02:00
Frederik Rietdijk 8491bb0dfb python: aiohttp: 3.1.3 -> 3.3.2 2018-06-21 07:42:50 +02:00
Frederik Rietdijk 48c82cac4d python: aiohttp: 3.1.2 -> 3.1.3 2018-05-10 10:09:13 +02:00
Robert Schütz fe2e07451f python: aiohttp: 3.1.1 -> 3.1.2 2018-04-08 11:36:05 +02:00
Robert Schütz 861283c3b3 pythonPackages.aiohttp: 3.0.9 -> 3.1.1 2018-04-04 19:48:00 +02:00
Robert Schütz 7dfbb8c53c pythonPackages.aiohttp: 3.0.5 -> 3.0.9 2018-03-15 13:56:48 +01:00
Robert Schütz 3387115364 pythonPackages.aiohttp: 3.0.1 -> 3.0.5 2018-03-10 12:50:04 +01:00