python3Packages.aiohttp: Relax charset-normalizer constraint
and set format.
This commit is contained in:
parent
aa4397fae0
commit
4553e6237f
@ -30,6 +30,8 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiohttp";
|
pname = "aiohttp";
|
||||||
version = "3.8.3";
|
version = "3.8.3";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
@ -39,6 +41,9 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i '/--cov/d' setup.cfg
|
sed -i '/--cov/d' setup.cfg
|
||||||
|
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace "charset-normalizer >=2.0, < 3.0" "charset-normalizer >=2.0, < 4.0"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user