chore(android): update dependencies for aiohttp, psutil, and websockets; add new recipes for bcrypt and psutil

This commit is contained in:
Ivan
2026-04-16 03:44:20 -05:00
parent 81dea45d34
commit 8b021f477e
5 changed files with 42 additions and 3 deletions
+3 -3
View File
@@ -111,7 +111,7 @@ chaquopy {
throw new org.gradle.api.GradleException("Missing vendor wheel directory at ${vendorWheelDir}")
}
options "--find-links", vendorWheelDir.absolutePath
install "aiohttp==3.10.10"
install "aiohttp==3.13.3"
install "rns>=1.1.5"
install "lxmf>=0.9.4"
install "numpy==1.26.2"
@@ -121,8 +121,8 @@ chaquopy {
throw new org.gradle.api.GradleException("Missing patched LXST wheel at ${lxstPatchedWheel}")
}
install lxstPatchedWheel.absolutePath
install "psutil>=7.1.3"
install "websockets>=15.0.1"
install "psutil>=7.2.2"
install "websockets>=16.0"
install "bcrypt==3.1.7"
install "aiohttp-session>=2.12.1,<3.0.0"
install "cryptography==46.0.7"
@@ -0,0 +1,3 @@
package:
name: aiohttp
version: "3.13.3"
@@ -0,0 +1,6 @@
package:
name: bcrypt
version: "5.0.0"
build:
number: 0
@@ -0,0 +1,6 @@
package:
name: psutil
version: "7.2.2"
build:
number: 1
@@ -0,0 +1,24 @@
--- src-original/psutil/_common.py
+++ src/psutil/_common.py
@@ -76,7 +76,7 @@
POSIX = os.name == "posix"
WINDOWS = os.name == "nt"
-LINUX = sys.platform.startswith("linux")
+LINUX = sys.platform.startswith(("linux", "android")) # Chaquopy: added "android"
MACOS = sys.platform.startswith("darwin")
OSX = MACOS # deprecated alias
FREEBSD = sys.platform.startswith(("freebsd", "midnightbsd"))
--- src-original/psutil/_pslinux.py
+++ src/psutil/_pslinux.py
@@ -1248,6 +1248,10 @@
"""Return mounted disk partitions as a list of namedtuples."""
fstypes = set()
procfs_path = get_procfs_path()
+
+ # Chaquopy: /proc/filesystems is blocked by SELinux on API level 28.
+ all = True
+
if not all:
with open_text(f"{procfs_path}/filesystems") as f:
for line in f: