mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-23 00:16:15 +00:00
nodejs, python: bump packages (#6984)
* simplex-chat-nodejs: bump types and nodejs versions * support bot: bump simplex-chat and types deps * simplex-chat-python: bump version
This commit is contained in:
@@ -41,7 +41,7 @@ def test_resolve_downloads_when_missing(tmp_path, monkeypatch):
|
||||
|
||||
monkeypatch.setattr("simplex_chat._native._download", fake_download)
|
||||
libs_dir = _resolve_libs_dir("sqlite")
|
||||
assert libs_dir == tmp_path / "simplex-chat" / "v6.5.1" / "sqlite"
|
||||
assert libs_dir == tmp_path / "simplex-chat" / "v6.5.2" / "sqlite"
|
||||
assert called["backend"] == "sqlite"
|
||||
assert (libs_dir / "libsimplex.so").exists()
|
||||
|
||||
@@ -49,7 +49,7 @@ def test_resolve_downloads_when_missing(tmp_path, monkeypatch):
|
||||
def test_resolve_uses_cache_on_second_call(tmp_path, monkeypatch):
|
||||
monkeypatch.setenv("XDG_CACHE_HOME", str(tmp_path))
|
||||
monkeypatch.setattr("sys.platform", "linux")
|
||||
cached = tmp_path / "simplex-chat" / "v6.5.1" / "sqlite"
|
||||
cached = tmp_path / "simplex-chat" / "v6.5.2" / "sqlite"
|
||||
cached.mkdir(parents=True)
|
||||
(cached / "libsimplex.so").touch()
|
||||
# Should NOT call _download — use the cached file.
|
||||
|
||||
@@ -42,7 +42,7 @@ def test_url_sqlite(_):
|
||||
assert (
|
||||
_libs_url("sqlite")
|
||||
== "https://github.com/simplex-chat/simplex-chat-libs/releases/download/"
|
||||
"v6.5.1/simplex-chat-libs-linux-x86_64.zip"
|
||||
"v6.5.2/simplex-chat-libs-linux-x86_64.zip"
|
||||
)
|
||||
|
||||
|
||||
@@ -51,5 +51,5 @@ def test_url_postgres(_):
|
||||
assert (
|
||||
_libs_url("postgres")
|
||||
== "https://github.com/simplex-chat/simplex-chat-libs/releases/download/"
|
||||
"v6.5.1/simplex-chat-libs-linux-x86_64-postgres.zip"
|
||||
"v6.5.2/simplex-chat-libs-linux-x86_64-postgres.zip"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user