python3Packages.aiohttp: Relax charset-normalizer constraint

and set format.
This commit is contained in:
Martin Weinelt 2022-12-31 13:43:27 +01:00
parent aa4397fae0
commit 4553e6237f

View file

@ -30,6 +30,8 @@
buildPythonPackage rec {
pname = "aiohttp";
version = "3.8.3";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
@ -39,6 +41,9 @@ buildPythonPackage rec {
postPatch = ''
sed -i '/--cov/d' setup.cfg
substituteInPlace setup.cfg \
--replace "charset-normalizer >=2.0, < 3.0" "charset-normalizer >=2.0, < 4.0"
'';
propagatedBuildInputs = [