Commit Graph
83 Commits
Author SHA1 Message Date
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Martin Weinelt 6b2530d241 python312Packages.aiohttp: 3.10.3 -> 3.10.5
https://github.com/aio-libs/aiohttp/blob/v3.10.5/CHANGES.rst
2024-08-23 04:17:13 +02:00
Robert Schütz 7536a7fec9 python312Packages.aiohttp: 3.10.2 -> 3.10.3
Diff: https://github.com/aio-libs/aiohttp/compare/refs/tags/v3.10.2...v3.10.3

Changelog: https://github.com/aio-libs/aiohttp/blob/v3.10.3/CHANGES.rst
2024-08-12 03:27:11 -07:00
Martin Weinelt 149a15141a python312Packages.aiohttp: 3.10.1 -> 3.10.2
https://github.com/aio-libs/aiohttp/blob/v3.10.2/CHANGES.rst
2024-08-09 01:40:29 +02:00
Robert Schütz 12dd256217 python312Packages.aiohttp: 3.10.0 -> 3.10.1
Diff: https://github.com/aio-libs/aiohttp/compare/refs/tags/v3.10.0...v3.10.1

Changelog: https://github.com/aio-libs/aiohttp/blob/v3.10.1/CHANGES.rst
2024-08-06 13:12:27 -07:00
Robert SchützandMartin Weinelt 0ab55a6ce8 python312Packages.aiohttp: 3.9.5 -> 3.10.0
Diff: https://github.com/aio-libs/aiohttp/compare/refs/tags/v3.9.5...v3.10.0

Changelog: https://github.com/aio-libs/aiohttp/blob/v3.10.0/CHANGES.rst
2024-08-06 18:18:43 +02:00
Martin Weinelt 59b1aef590 python3Packages: format with nixfmt 2024-05-22 17:32:03 +02:00
Martin Weinelt 9456fea429 python312Packages.aiohttp: 3.9.4 -> 3.9.5
https://github.com/aio-libs/aiohttp/blob/v3.9.5/CHANGES.rst
2024-04-22 14:02:18 +02:00
Sandro JäckelandMartin Weinelt 57cf17d34a python311Packages.aiohttp: remove reference to dev dependencies 2024-04-22 13:59:42 +02:00
Robert SchützandGitHub f44426395e Merge pull request #301518 from marsam/update-llhttp
llhttp: 9.2.0 -> 9.2.1
2024-04-12 20:38:04 +00:00
Robert Schütz d101387e6b python311Packages.aiohttp: 3.9.3 -> 3.9.4
Diff: https://github.com/aio-libs/aiohttp/compare/refs/tags/v3.9.3...v3.9.4

Changelog: https://github.com/aio-libs/aiohttp/blob/v3.9.4/CHANGES.rst
2024-04-11 17:06:41 -07:00
Martin Weinelt 5680f319fd python311Packages.pytest7CheckHook: init
and migrate existing overrides.
2024-03-26 01:37:25 +01:00
Martin Weinelt 7191177bbb python311Packages.aiohttp: test with pytest_7
The test suite regressed with pytest 8. Let's give them more time to
adapt.
2024-03-12 18:25:07 +01:00
Robert Schütz 4d8a675723 python311Packages.aiohttp: 3.9.1 -> 3.9.3
Diff: https://github.com/aio-libs/aiohttp/compare/refs/tags/v3.9.1...v3.9.3

Changelog: https://github.com/aio-libs/aiohttp/blob/v3.9.3/CHANGES.rst
2024-01-29 11:37:07 -08:00
Robert SchützandMartin Weinelt 1f45a5fe78 python311Packages.aiohttp: 3.9.0 -> 3.9.1
Diff: https://github.com/aio-libs/aiohttp/compare/refs/tags/v3.9.0...v3.9.1

Changelog: https://github.com/aio-libs/aiohttp/blob/v3.9.1/CHANGES.rst
2023-12-20 20:11:08 +01:00
Robert SchützandMartin Weinelt ae323dc9f5 python310Packages.aiohttp: unvendor llhttp 2023-12-20 20:10:36 +01:00
Robert SchützandMartin Weinelt 6faeba40e7 python311Packages.aiohttp: 3.8.6 -> 3.9.0
Changelog: https://github.com/aio-libs/aiohttp/blob/v3.9.0/CHANGES.rst
2023-12-20 20:10:36 +01:00
github-actions[bot]andGitHub 519b7ea0c3 Merge master into staging-next 2023-10-28 12:01:19 +00:00
Martin Weinelt 3547f37141 python311Packages.aiohttp: prune dependencnies
We don't ship any Python that is older than 3.8 anymore.
2023-10-27 15:00:32 +02:00
Robert Schütz eb180ea033 python310Packages.aiohttp: 3.8.5 -> 3.8.6
Changelog: https://github.com/aio-libs/aiohttp/blob/v3.8.6/CHANGES.rst
2023-10-21 17:03:48 -07:00
Theodore NiandGitHub 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ützandArnout Engelen 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äckelandSandro Jäckel d65445f5b2 python310Packages.aiohttp: speed test up with pytest-xdist 2023-04-06 15:45:32 +02:00
Martin WeineltandRobert Schütz 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ützandMartin Weinelt 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 WohlfahrtandGitHub 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 ButlerandRobert Schütz 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 Weineltandgithub-actions[bot] 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 RietdijkandJonathan Ringer 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 RodasandFrederik Rietdijk 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 ReillyandJörg Thalheim 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00