[Tile-serving] [openstreetmap/osm2pgsql] Fix running osm2pgsql-replication with psycopg3 (PR #2044)

Sarah Hoffmann notifications at github.com
Wed Aug 16 21:39:54 UTC 2023


Avoids use of get_dsn_parameter() which is outdated anyway.

Also makes sure that the psycopg3 version is run in the CI. This in turn required to make the BDD tests work with psycopg3.

Fixes #2040.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/2044

-- Commit Summary --

  * bdd: make them work with psycopg3
  * avoid get_dsn_parameters which no longer exists in psycopg3
  * CI: run some builds with psycopg3

-- File Changes --

    M .github/actions/ubuntu-prerequisites/action.yml (6)
    M .github/workflows/ci.yml (19)
    M scripts/osm2pgsql-replication (2)
    M tests/bdd/environment.py (18)
    M tests/bdd/steps/steps_db.py (6)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/2044.patch
https://github.com/openstreetmap/osm2pgsql/pull/2044.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/2044
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/2044 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230816/271a5afd/attachment.htm>


More information about the Tile-serving mailing list