summaryrefslogtreecommitdiff
path: root/devel/py-uvloop/patches/patch-setup.py
blob: 18233431708ed1687cbf27ebb5821cfe2ae2256c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-setup.py,v 1.6 2022/09/16 13:00:15 adam Exp $

Relax restrictions.
Use system libuv (--use-system-libuv option does not work for 'install').

--- setup.py.orig	2022-09-14 14:53:41.000000000 +0000
+++ setup.py
@@ -25,15 +25,11 @@ CYTHON_DEPENDENCY = 'Cython(>=0.29.32,<0
 
 # Minimal dependencies required to test uvloop.
 TEST_DEPENDENCIES = [
-    # pycodestyle is a dependency of flake8, but it must be frozen because
-    # their combination breaks too often
-    # (example breakage: https://gitlab.com/pycqa/flake8/issues/427)
     # aiohttp doesn't support 3.11 yet,
     # see https://github.com/aio-libs/aiohttp/issues/6600
     'aiohttp ; python_version < "3.11"',
     'flake8~=3.9.2',
     'psutil',
-    'pycodestyle~=2.7.0',
     'pyOpenSSL~=22.0.0',
     'mypy>=0.800',
     CYTHON_DEPENDENCY,
@@ -118,7 +114,7 @@ class uvloop_build_ext(build_ext):
 
     def initialize_options(self):
         super().initialize_options()
-        self.use_system_libuv = False
+        self.use_system_libuv = True
         self.cython_always = False
         self.cython_annotate = None
         self.cython_directives = None