Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348164
D5881.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D5881.diff
View Options
diff --git a/requirements-swh.txt b/requirements-swh.txt
--- a/requirements-swh.txt
+++ b/requirements-swh.txt
@@ -2,4 +2,4 @@
swh.model >= 1.0.0
swh.objstorage >= 0.2.2
swh.scheduler >= 0.4.0
-swh.storage >= 0.27.0
+swh.storage >= 0.29.0
diff --git a/swh/loader/pytest_plugin.py b/swh/loader/pytest_plugin.py
--- a/swh/loader/pytest_plugin.py
+++ b/swh/loader/pytest_plugin.py
@@ -19,7 +19,7 @@
"storage": {
"cls": "buffer",
"storage": {
- "cls": "local",
+ "cls": "postgresql",
"db": swh_storage_postgresql.dsn,
"objstorage": {"cls": "memory"},
},
diff --git a/swh/loader/tests/test_init.py b/swh/loader/tests/test_init.py
--- a/swh/loader/tests/test_init.py
+++ b/swh/loader/tests/test_init.py
@@ -166,7 +166,7 @@
@pytest.fixture
def swh_storage_backend_config(swh_storage_postgresql):
return {
- "cls": "local",
+ "cls": "postgresql",
"db": swh_storage_postgresql.dsn,
"objstorage": {"cls": "memory"},
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 6:15 PM (4 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3222906
Attached To
D5881: Use the postgresql class to instantiate storage in tests
Event Timeline
Log In to Comment