We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1735422 commit e0e5822Copy full SHA for e0e5822
setup.py
@@ -2,7 +2,7 @@
2
from setuptools import find_packages
3
4
setup(name='sqlmat',
5
- version='0.2.17',
+ version='0.2.18',
6
description='simply map python3 statement to postgresql statement',
7
author='Zeng Ke',
8
author_email='superisaac.ke@gmail.com',
sqlmat/db.py
@@ -102,7 +102,7 @@ def get_frame(self, pool: Pool) -> 'TxFrame':
102
return self.entries[pool]
103
104
def contextvar_available() -> bool:
105
- return sys.version >= '3.7'
+ return (sys.version_info.major, sys.version_info.minor) >= (3, 7)
106
107
if contextvar_available():
108
from contextvars import ContextVar
0 commit comments