Merge pull request #224520 from fabaff/aiofile-bump

python310Packages.aiofile: 3.8.0 -> 3.8.5, python310Packages.aiomisc: 16.3.15 -> 17.0.8
This commit is contained in:
Fabian Affolter 2023-04-14 08:15:35 +02:00 committed by GitHub
commit 0101dac274
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 76 additions and 22 deletions

View file

@ -1,8 +1,9 @@
{ lib
, aiomisc
, aiomisc-pytest
, aiormq
, buildPythonPackage
, fetchFromGitHub
, pamqp
, poetry-core
, pytestCheckHook
, pythonOlder
@ -39,11 +40,9 @@ buildPythonPackage rec {
];
nativeCheckInputs = [
aiomisc-pytest
pamqp
pytestCheckHook
];
checkInputs = [
aiomisc
shortuuid
];

View file

@ -1,16 +1,16 @@
{ lib
, aiomisc
, aiomisc-pytest
, caio
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiofile";
version = "3.8.0";
version = "3.8.5";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -19,23 +19,16 @@ buildPythonPackage rec {
owner = "mosquito";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-PIImQZ1ymazsOg8qmlO91tNYHwXqK/d8AuKPsWYvh0w=";
hash = "sha256-jQ97jtYhkqQgQjtHhtlk5JlvkzbFQw3kY6uXuV81ZkQ=";
};
patches = [
(fetchpatch {
name = "remove-asynctest.patch";
url = "https://github.com/mosquito/aiofile/commit/9253ca42022f17f630ccfb6811f67876910f8b13.patch";
hash = "sha256-yMRfqEbdxApFypEj27v1zTgF/4kuLf5aS/+clo3mfZo=";
})
];
propagatedBuildInputs = [
caio
];
nativeCheckInputs = [
aiomisc
aiomisc-pytest
pytestCheckHook
];
@ -63,6 +56,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "File operations with asyncio support";
homepage = "https://github.com/mosquito/aiofile";
changelog = "https://github.com/aiokitchen/aiomisc/blob/master/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};

View file

@ -0,0 +1,48 @@
{ lib
, aiomisc
, buildPythonPackage
, fetchPypi
, poetry-core
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiomisc-pytest";
version = "1.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "aiomisc_pytest";
inherit version;
hash = "sha256-LDeMQbB4wFdgJ95r9/vFN6fmkoXSPq9NRXONXQ3lbdM=";
};
nativeBuildInputs = [
poetry-core
];
buildInputs = [
pytest
];
propagatedBuildInputs = [
aiomisc
];
pythonImportsCheck = [
"aiomisc_pytest"
];
# Module has no tests
doCheck = false;
meta = with lib; {
description = "Pytest integration for aiomisc";
homepage = "https://github.com/aiokitchen/aiomisc";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -10,29 +10,36 @@
, fastapi
, fetchPypi
, logging-journald
, poetry-core
, pytestCheckHook
, pythonOlder
, raven
#, raven-aiohttp
, setproctitle
, setuptools
, uvloop
}:
buildPythonPackage rec {
pname = "aiomisc";
version = "16.3.15";
format = "setuptools";
version = "17.0.8";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-lHDjsK8ds1ftovY2IAbJwk3jnn4FoDo6f/Nu/MSAhqM=";
hash = "sha256-URN9ACnHbQnq7UqfKwhofOdpE/Bjz7WrbdWQikxpVOU=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
colorlog
logging-journald
setuptools
];
nativeCheckInputs = [
@ -83,6 +90,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Miscellaneous utils for asyncio";
homepage = "https://github.com/aiokitchen/aiomisc";
changelog = "https://github.com/aiokitchen/aiomisc/blob/master/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};

View file

@ -1,4 +1,5 @@
{ lib
, aiomisc-pytest
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "aiormq";
version = "6.7.2";
version = "6.7.4";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "mosquito";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-ujRw+trXOZaCRsZdkE3WoomOSdYoQkHmtlyFg1mp3Sg=";
hash = "sha256-vORo5Kqy+Rg8WCyFU5lyQHS4EALYkycY4XxYhABV/4A=";
};
nativeBuildInputs = [
@ -39,7 +40,7 @@ buildPythonPackage rec {
];
checkInputs = [
aiomisc
aiomisc-pytest
];
# Tests attempt to connect to a RabbitMQ server

View file

@ -2,6 +2,7 @@
, aiomisc
, buildPythonPackage
, fetchFromGitHub
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
}:
@ -22,6 +23,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
aiomisc
pytest-aiohttp
pytestCheckHook
];

View file

@ -258,6 +258,8 @@ self: super: with self; {
aiomisc = callPackage ../development/python-modules/aiomisc { };
aiomisc-pytest = callPackage ../development/python-modules/aiomisc-pytest { };
aiomodernforms = callPackage ../development/python-modules/aiomodernforms { };
aiomultiprocess = callPackage ../development/python-modules/aiomultiprocess { };