Skip to content

Commit

Permalink
Try pg8000 on Appveyor 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Jul 16, 2023
1 parent 40a2bc7 commit 7f4f958
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ def read_file(*path):
# 2.7.6+ is needed for PostgreSQL 11;
# 2.8 is needed for conn.info
'psycopg2 >= 2.8.3',
# psycopg2 isn't importing on Appveyor/3.12b4.
'pg8000; python_version == "3.12" and sys_platform == "win32"',
],
'postgresql: platform_python_implementation == "PyPy"': [
# 2.8.0+ is needed for Python 3.7
Expand Down
2 changes: 1 addition & 1 deletion src/relstorage/tests/reltestbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def _make_readonly(self):
# checkWriteMethods in ReadOnlyStorage assumes that
# the object has an undo() method, even though that's only
# required if it's IStorageUndoable, aka history-preserving.
super()._make_readonly()
super()._make_readonly() # pylint:disable=no-member
storage = self._storage
if not hasattr(storage, 'undo'):
def undo(*args, **kwargs):
Expand Down

0 comments on commit 7f4f958

Please sign in to comment.