lp://staging/postgresfixture
Created by
Gavin Panella
and last modified
- Get this branch:
- bzr branch lp://staging/postgresfixture
Members of
PostgreSQL Fixture Maintainers
can upload to this branch. Log in for directions.
Branch merges
Propose for merging
No branches
dependent on this one.
Branch information
Recent revisions
- 22. By Colin Watson
-
Compare PostgreSQL versions using packaging.
version. Version. `distutils.
version. LooseVersion` is deprecated as of setuptools 59.6.0,
and the whole of `distutils` is deprecated as of Python 3.10. Using
`packaging.version. Version` is a bit of a cheat since PostgreSQL
versions aren't officially PEP 440 versions, but we only care about
things that show up as subdirectories of `/usr/lib/postgresql/ ` and in
practice those are simple enough that it's fine. - 21. By Colin Watson
-
Fix test failures if Cluster.running produces warnings.
`sys.stderr` was being incorrectly mocked with an `io.BytesIO` on Python
3 rather than an `io.StringIO`, and some tests of data written to
`sys.stderr` need to temporarily disable warnings.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)