Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9313780
D4543.id16113.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
D4543.id16113.diff
View Options
diff --git a/requirements-db-pytestplugin.txt b/requirements-db-pytestplugin.txt
new file mode 100644
--- /dev/null
+++ b/requirements-db-pytestplugin.txt
@@ -0,0 +1,2 @@
+# requirements for swh.core.db.pytest_plugin
+pytest-postgresql
diff --git a/requirements-db.txt b/requirements-db.txt
--- a/requirements-db.txt
+++ b/requirements-db.txt
@@ -1,4 +1,4 @@
# requirements for swh.core.db
psycopg2
typing-extensions
-pytest-postgresql
+
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -56,6 +56,7 @@
"testing-core": parse_requirements("test"),
"logging": parse_requirements("logging"),
"db": parse_requirements("db"),
+ "db-pytestplugin": parse_requirements("db-pytestplugin"),
"testing-db": parse_requirements("test-db"),
"http": parse_requirements("http"),
# kitchen sink, please do not use
diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -6,7 +6,7 @@
extras =
testing-core
core: logging
- db: db, testing-db
+ db: db, testing-db, db-pytestplugin
server: http
deps =
db: pifpaf
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 2, 11:55 AM (4 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3232969
Attached To
D4543: setup: Separate pytest-postgresql dependency and declare it when needed
Event Timeline
Log In to Comment