-
Notifications
You must be signed in to change notification settings - Fork 126
Update to Debian Bookworm, drop deprecated apt-key usage #1068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
19a2bfa
to
6297cec
Compare
This should be installed as a Debian package instead, it's version 0.7.2 in bookworm. |
Added in 0c61f11. But I see there is a |
0c61f11
to
6967272
Compare
A Quick Look shows that the PIP file was used to install python packages pyroute2, nose, and psycopg2 all from pypi. I see that we have |
Test failures seem to be due to the updated pyroute2 package, I'll take a look tomorrow.
|
My advice would then be to remove that change from this PR, and make another PR that modernizes the installation of Python dependencies for our unit testing. |
7ddd939
to
6664973
Compare
Moved to #1070. |
This avoids conflicts with packages both in the postgres and in the main debian package sources. I.e. installing libpq before libpq-dev from the postgres sources can lead to broken links for `libpq.so.5`.
I wasn't able to find a fix for this, if anyone has any ideas I would appreciate it. |
On a first look I am not seeing anything related in the pyroute2 changelog at https://docs.pyroute2.org/changelog.html. From https://packages.debian.org/search?keywords=pyroute2 it seems we are upgrading from version 0.5.14 to version 0.7.2. Or it might be a Python 3.x upgrade thing with unicode support? Also might be the bytes that are reported back from the pg_autoctl command. Did you try manually running the set replication quorum command on a test cluster? |
Still having the same issues when updating python3/pyroute2 (UnicodeDecodeError). Let's go ahead with the release and see about modernizing our CI later? |
As documented in https://wiki.postgresql.org/wiki/Apt#Manual_Repository_Configuration .