Closed 1q23lyc45 closed 1 month ago
pypy3
tries to call setxattr
for a file in shutil.copymode
. You can remove or comment the line 338 in $PREFIX/opt/pypy3/lib/pypy3.9/shutil.py
.
--- ./shutil.py 2024-07-14 19:01:24.305322336 +0800
+++ /data/data/com.termux/files/usr/opt/pypy3/lib/pypy3.9/shutil.py 2024-07-14 18:56:25.277322450 +0800
@@ -335,7 +335,7 @@
for name in names:
try:
value = os.getxattr(src, name, follow_symlinks=follow_symlinks)
- os.setxattr(dst, name, value, follow_symlinks=follow_symlinks)
+ # os.setxattr(dst, name, value, follow_symlinks=follow_symlinks)
except OSError as e:
if e.errno not in (errno.EPERM, errno.ENOTSUP, errno.ENODATA,
errno.EINVAL):
I'll fix it if I have more free time.
pypy3
tries to callsetxattr
for a file inshutil.copymode
. You can remove or comment the line 338 in$PREFIX/opt/pypy3/lib/pypy3.9/shutil.py
.--- ./shutil.py 2024-07-14 19:01:24.305322336 +0800 +++ /data/data/com.termux/files/usr/opt/pypy3/lib/pypy3.9/shutil.py 2024-07-14 18:56:25.277322450 +0800 @@ -335,7 +335,7 @@ for name in names: try: value = os.getxattr(src, name, follow_symlinks=follow_symlinks) - os.setxattr(dst, name, value, follow_symlinks=follow_symlinks) + # os.setxattr(dst, name, value, follow_symlinks=follow_symlinks) except OSError as e: if e.errno not in (errno.EPERM, errno.ENOTSUP, errno.ENODATA, errno.EINVAL):
I'll fix it if I have more free time.
Thank you.
I only fix the xattr
issue for pypy(2)
but not for pypy3
.
I'm refactoring the build script these days, but have some other issues on pypy3
. It's not easy to figure out why.
I only fix the
xattr
issue forpypy(2)
but not forpypy3
.I'm refactoring the build script these days, but have some other issues on
pypy3
. It's not easy to figure out why.
I'm Sorry.
I forgot, the ones that passed the test just now were all directly pasted with my script, so the patch was directly applied to pypy3, which gave the illusion of passing the test.
When testing the 4.x version kernel, it was not at the same time as the 5.x version kernel. As a result, when testing on my 4.x machine, I directly apt install -y pypy3;pypy3 -m ensurepip;pypy3 -m pip install falcon
and got an error, mistakenly thinking that this fix was only for the 5.x kernel.
I apologize to you again.
Problem description
Pypy's pip cannot install Falcon. However, it can be installed using the official Python interpreter and Python pip.
[Errno 13] Permission denied
What steps will reproduce the bug?
What is the expected behavior?
If I use Python, I can install Falcon using your APT source's python-pip.
System information