Skip to content

Conversation

@JesseDeLoore
Copy link

Are the hosts unique for the replica clusters ? I find it hard to tell, but at least on Windows all clusters are on localhost, so the test was not actually verifying the code.

ddelange and others added 30 commits September 27, 2022 12:57
Virtual environment directories are often named `.venv` by convention.
This moves the project to a more modern version of flake8 (and its
dependencies). No new lint issues were identified by this upgrade.
This demonstrates a dot-notation implementation as suggested by this
FAQ item.
We support Record subclasses, so include the exact type name (rather
than just 'Record') in the repr() string.
Support Python 3.11 and PostgreSQL 15.  This release also drops support
for Python 3.6.

Changes
=======

* Add arm64 mac and linux wheels
  (by @ddelange in 7bd6c49 for MagicStack#954)

* Add Python 3.11 to the test matrix
  (by @elprans in 5f908e6 for MagicStack#948)

* Exclude .venv from flake8 (MagicStack#958)
  (by @jparise in 40b16ea for MagicStack#958)

* Upgrade to flake8 5.0.4 (from 3.9.2) (MagicStack#961)
  (by @jparise in 0e73fec for MagicStack#961)

* Show an example of a custom Record class (MagicStack#960)
  (by @jparise in 84c99bf for MagicStack#960)

* Use the exact type name in Record.__repr__ (MagicStack#959)
  (by @jparise in eccdf61 for MagicStack#959)

* Drop Python 3.6 support (MagicStack#940)
  (by @bryanforbes in bb0cb39 for MagicStack#940)

* Test on Python 3.11 and PostgreSQL 15, fix workflow deprecations (MagicStack#968)
  (by @elprans in eab7fdf for MagicStack#968)
This supports a case where we prepare an unnamed statement to inspect the return types.
The statement should not be cleaned up afterwards because it is automatically cleaned up by Postgres
Are the hosts unique for the replica clusters ? I find it hard to tell, but at least on Windows all clusters are on localhost, so the test was not actually verifying the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants