Skip to content

Commit

Permalink
uvloop: minor patch update
Browse files Browse the repository at this point in the history
  • Loading branch information
blshkv committed Dec 28, 2023
1 parent 37bd656 commit 145e6d5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
30 changes: 30 additions & 0 deletions dev-python/uvloop/files/586.patch
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,33 @@ index b0ffa8b..fb1d5e6 100644
waiter = self._new_future()
--
2.42.1
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@
from setuptools.command.sdist import sdist


-CYTHON_DEPENDENCY = 'Cython(>=0.29.36,<0.30.0)'
+CYTHON_DEPENDENCY = 'Cython(>=0.29.36)'
MACHINE = platform.machine()
_ROOT = pathlib.Path(__file__).parent
LIBUV_DIR = str(_ROOT / 'vendor' / 'libuv')
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -43,7 +43,7 @@
'pycodestyle~=2.9.0',
'pyOpenSSL~=23.0.0',
'mypy>=0.800',
- 'Cython(>=0.29.36,<0.30.0)',
+ 'Cython(>=0.29.36)',
]
docs = [
'Sphinx~=4.1.2',
@@ -55,7 +55,7 @@
requires = [
"setuptools>=60",
"wheel",
- "Cython(>=0.29.36,<0.30.0)",
+ "Cython(>=0.29.36)",
]
build-backend = "setuptools.build_meta"
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,6 @@ python_test() {
epytest -s
}

src_prepare() {
#https://github.com/MagicStack/uvloop/issues/586
sed -i -e "s|Cython(>=0.29.36,<0.30.0)|Cython(>0.30.0)|" setup.py || die
eapply_user
}

python_install_all() {
use examples && dodoc -r examples
distutils-r1_python_install_all
Expand Down

0 comments on commit 145e6d5

Please sign in to comment.