Skip to content

Commit

Permalink
Tweak pg8000 dep
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jul 16, 2023
1 parent 7f4f958 commit e957158
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,10 @@ def read_file(*path):
# 2.7.6+ is needed for PostgreSQL 11;
# 2.8 is needed for conn.info
'psycopg2 >= 2.8.3',
],
'postgresql: platform_python_implementation == "CPython" and python_version == "3.12"': [
# psycopg2 isn't importing on Appveyor/3.12b4.
'pg8000; python_version == "3.12" and sys_platform == "win32"',
'pg8000',
],
'postgresql: platform_python_implementation == "PyPy"': [
# 2.8.0+ is needed for Python 3.7
Expand Down

0 comments on commit e957158

Please sign in to comment.