Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated requirements #121

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ database:
host: 127.0.0.1
port: 5432
dialect: postgresql
driver: psycopg2
driver: psycopg
```
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ schema_path: sample_output_schema.yaml
results_file_path: results_file.yaml
database:
dialect: postgresql
driver: psycopg2
driver: psycopg
name: pipestat-test
user: postgres
password: pipestat-password
Expand Down
2 changes: 1 addition & 1 deletion pipestat/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.6.0a7"
__version__ = "0.6.0a8"
2 changes: 1 addition & 1 deletion pipestat/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def init_generic_config():
"schema_path": "sample_output_schema.yaml",
"database": {
"dialect": "postgresql",
"driver": "psycopg2",
"driver": "psycopg",
"name": "pipestat-test",
"user": "postgres",
"password": "pipestat-password",
Expand Down
4 changes: 2 additions & 2 deletions requirements/requirements-db-backend.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
psycopg2-binary
psycopg>=3.1.13
pydantic>=1.10.7, <2.0.0
sqlmodel>=0.0.8
sqlmodel>=0.0.12
4 changes: 2 additions & 2 deletions requirements/requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ yacman>=0.9.2
PyYAML
pandas
eido
psycopg2-binary
psycopg
pydantic>=1.10.7, <2.0.0
sqlmodel>=0.0.8
sqlmodel>=0.0.12
pydantic
uvicorn
fastapi
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
REC_ID = "constant_record_id"
BACKEND_KEY_DB = "db"
BACKEND_KEY_FILE = "file"
DB_URL = "postgresql+psycopg2://postgres:[email protected]:5432/pipestat-test"
DB_URL = "postgresql+psycopg://postgres:[email protected]:5432/pipestat-test"
DB_CMD = """
docker run --rm -it --name pipestat_test_db \
-e POSTGRES_USER=postgres \
Expand Down
2 changes: 1 addition & 1 deletion tests/data/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sample_name: sample1
schema_path: sample_output_schema.yaml
database:
dialect: postgresql
driver: psycopg2
driver: psycopg
name: pipestat-test
user: postgres
password: pipestat-password
Expand Down
2 changes: 1 addition & 1 deletion tests/data/config_no_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sample_name: sample1
#schema_path: sample_output_schema.yaml #$HOME/Desktop/sample_output_schema.yaml
database:
dialect: postgresql
driver: psycopg2
driver: psycopg
name: pipestat-test
user: postgres
password: pipestat-password
Expand Down
Loading