Repository: fractal-analytics-platform/fractal-client (language: python)

Issue:
Adapt to upcoming fractal-server
One known issue is the renaming of `DB.set_db`


Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e8c66f993..c080d60fe 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@
 * Deprecate environment variable `FRACTAL_LOGGING_LEVEL`, remove flag `--verbose` and replace it with `--debug`, improve debugging of http requests (\#597).
 * Testing:
     * Adapt `job_factory` and tests to the presence of new `timestamp_created` attributes in `fractal-server` (\#589).
+    * Align with `fractal-server` 1.4.3a2 (\#598).
 * Documentation:
     * Add info about server/client version compatibility (\#591).
 
diff --git a/poetry.lock b/poetry.lock
index 01df1c8f4..ddcd9dac4 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -611,7 +611,7 @@ typing = ["typing-extensions (>=4.8)"]
 
 [[package]]
 name = "fractal-server"
-version = "1.4.3a0"
+version = "1.4.3a2"
 description = "Server component of the Fractal analytics platform"
 optional = false
 python-versions = "^3.9"
@@ -624,6 +624,7 @@ alembic = "^1.9.1"
 bcrypt = "4.0.1"
 fastapi = "^0.103.0"
 fastapi-users = {version = "^12.1.0", extras = ["oauth"]}
+packaging = "^23.2"
 pydantic = ">=1.10.8,<2"
 python-dotenv = "^0.21.0"
 sqlalchemy = {version = ">=2.0.23,<2.1", extras = ["asyncio"]}
@@ -639,7 +640,7 @@ slurm = ["cloudpickle (>=2.2.1,<2.3.0)", "clusterfutures (>=0.5,<0.6)"]
 type = "git"
 url = "https://github.com/fractal-analytics-platform/fractal-server.git"
 reference = "main"
-resolved_reference = "2855d9425b10173352d39b80823ed576489547b4"
+resolved_reference = "81a90fb8b50c3e5c960a3b20e40b577c14805ade"
 
 [[package]]
 name = "ghp-import"


Test patch:
diff --git a/tests/fixtures_testserver.py b/tests/fixtures_testserver.py
index eb96b5745..d0f047c75 100644
--- a/tests/fixtures_testserver.py
+++ b/tests/fixtures_testserver.py
@@ -52,7 +52,7 @@ def testserver(override_server_settings):
     from fractal_server.app.models import SQLModel
 
     # INIT DB
-    DB.set_db()
+    DB.set_sync_db()
     logger.debug(DB.engine_sync().url)
     SQLModel.metadata.create_all(DB.engine_sync())