python311Packages.aiohttp: remove reference to dev dependencies
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
, llhttp
|
||||
, python
|
||||
# build_requires
|
||||
, cython
|
||||
, setuptools
|
||||
@@ -77,6 +78,11 @@ buildPythonPackage rec {
|
||||
brotli
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
# remove source code file with reference to dev dependencies
|
||||
rm $out/${python.sitePackages}/aiohttp/_cparser.pxd{,.orig}
|
||||
'';
|
||||
|
||||
# NOTE: pytest-xdist cannot be added because it is flaky. See https://github.com/NixOS/nixpkgs/issues/230597 for more info.
|
||||
nativeCheckInputs = [
|
||||
freezegun
|
||||
|
||||
Reference in New Issue
Block a user