-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/pip/pyspark-3.5.0
- Loading branch information
Showing
13 changed files
with
57 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
__title__ = 'asyncdb' | ||
__description__ = ('Library for Asynchronous data source connections ' | ||
'Collection of asyncio drivers.') | ||
__version__ = '2.5.11' | ||
__version__ = '2.6.0' | ||
__author__ = 'Jesus Lara' | ||
__author_email__ = '[email protected]' | ||
__license__ = 'BSD' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
aiounittest==1.4.2 | ||
black==23.1.0 | ||
black==23.11.0 | ||
build==1.0.3 | ||
coverage[toml]==7.2.7 | ||
flit==3.9.0 | ||
hypothesis==6.68.0 | ||
ipython==8.10.0 | ||
hypothesis==6.91.0 | ||
ipython==8.14.0 | ||
lint==1.2.1 | ||
mypy==1.3.0 | ||
mypy==1.7.1 | ||
pylint==2.16.1 | ||
pyperf==2.6.2 | ||
pytest>=6.0.0 | ||
pytest-asyncio==0.21.1 | ||
pytest-asyncio==0.23.2 | ||
pytest-cov==4.0.0 | ||
pytest-cython==0.2.0 | ||
pytest-xdist==3.3.1 | ||
pytest-xdist==3.5.0 | ||
pytest-assume==2.4.3 | ||
sdist==0.0.0 | ||
sphinx==6.1.3 | ||
tox==4.6.4 | ||
twine==4.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ | |
from asyncdb.meta import Record, Recordset | ||
|
||
DRIVER = 'pg' | ||
DSN = "postgres://troc_pgdata:[email protected]:5432/navigator_dev" | ||
DSN = "postgres://troc_pgdata:[email protected]:5432/navigator" | ||
PARAMS = { | ||
"host": '127.0.0.1', | ||
"port": '5432', | ||
"user": 'troc_pgdata', | ||
"password": '12345678', | ||
"database": 'navigator_dev' | ||
"database": 'navigator' | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ def driver(): | |
|
||
@pytest.fixture() | ||
def dsn(): | ||
return "postgres://troc_pgdata:[email protected]:5432/navigator_dev" | ||
return "postgres://troc_pgdata:[email protected]:5432/navigator" | ||
|
||
|
||
@pytest.fixture() | ||
|
@@ -23,7 +23,7 @@ def params(): | |
"port": '5432', | ||
"user": 'troc_pgdata', | ||
"password": '12345678', | ||
"database": 'navigator_dev' | ||
"database": 'navigator' | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,9 @@ | |
'password': '12345678', | ||
'host': 'localhost', | ||
'port': '5432', | ||
'database': 'navigator_dev', | ||
'database': 'navigator', | ||
} | ||
DSN = "postgres://troc_pgdata:[email protected]:5432/navigator_dev" | ||
DSN = "postgres://troc_pgdata:[email protected]:5432/navigator" | ||
|
||
|
||
@pytest_asyncio.fixture | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,13 @@ | |
from asyncdb.meta import Record, Recordset | ||
|
||
DRIVER = 'postgres' | ||
DSN = "postgres://troc_pgdata:[email protected]:5432/navigator_dev" | ||
DSN = "postgres://troc_pgdata:[email protected]:5432/navigator" | ||
params = { | ||
"host": '127.0.0.1', | ||
"port": '5432', | ||
"user": 'troc_pgdata', | ||
"password": '12345678', | ||
"database": 'navigator_dev' | ||
"database": 'navigator' | ||
} | ||
|
||
|
||
|
@@ -61,7 +61,7 @@ async def test_pool_connect(): | |
pytest.assume(not error) | ||
pytest.assume(row[0] == 1) | ||
prepared, error = await db.prepare("SELECT store_id, store_name FROM walmart.stores") | ||
pytest.assume(db.get_columns() == ["store_id", "store_name"]) | ||
# pytest.assume(db.get_columns() == ["store_id", "store_name"]) | ||
assert not error | ||
db.disconnect() | ||
assert (not db.get_connection()) | ||
|