Skip to content

Commit

Permalink
Bump tested driver versions
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Aug 28, 2018
1 parent f9a7031 commit 26a68ee
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 45 deletions.
40 changes: 16 additions & 24 deletions _nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions _nodejs/package.json
Expand Up @@ -7,8 +7,8 @@
"dependencies": {
"argparse": "~1.0.7",
"csv-write-stream": "2.0.0",
"pg": "~7.3.0",
"pg": "~7.4.3",
"pg-copy-streams": "1.2.0",
"pg-native": "~2.2.0"
"pg-native": "~3.0.0"
}
}
12 changes: 6 additions & 6 deletions _python/requirements.txt
@@ -1,6 +1,6 @@
aiopg==0.13.1
asyncpg==0.13.0
py-postgresql==1.1.0
psycopg2==2.7.3.2
numpy~=1.13.3
uvloop~=0.8.1
aiopg==0.15.0
asyncpg==0.17.0
py-postgresql==1.2.1
psycopg2-binary==2.7.5
numpy~=1.15.0
uvloop~=0.11.2
13 changes: 2 additions & 11 deletions pgbench
Expand Up @@ -23,6 +23,7 @@ import sys
import warnings

import asyncpg.cluster
import distro
import numpy as np


Expand All @@ -42,17 +43,7 @@ def platform_info():
break

if 'Linux' in system:

with warnings.catch_warnings():
# see issue #1322 for more information
warnings.filterwarnings(
'ignore',
'dist\(\) and linux_distribution\(\) '
'functions are deprecated .*',
PendingDeprecationWarning,
)
distname, distversion, distid = platform.dist('')

distname, distversion, distid = distro.linux_distribution()
distribution = '{} {}'.format(distname, distversion).strip()

else:
Expand Down
5 changes: 3 additions & 2 deletions requirements.txt
@@ -1,2 +1,3 @@
asyncpg~=0.13.0
numpy~=1.13.3
asyncpg~=0.17.0
distro~=1.3.0
numpy~=1.15.0

0 comments on commit 26a68ee

Please sign in to comment.