Skip to content

Upgrade components - again#83

Merged
benoit74 merged 1 commit intomainfrom
upgrade
Feb 23, 2026
Merged

Upgrade components - again#83
benoit74 merged 1 commit intomainfrom
upgrade

Conversation

@benoit74
Copy link
Contributor

This is a follow-up to #82 which I had to rollback

I've made more changes but it is still not working, now borgmatic has a problem because it tries to import pkg_resources.

@benoit74
Copy link
Contributor Author

Looks like downgrading (or upgrading only to) bookworm and hence Python 3.11 was in fact the last missing fix.

I've build and push a custom Docker image tag upgrade, only used on the CMS for now.

Looks like with the upgrade we've received compaction done after archiving, maybe we won't need to do it manually anymore. Let's see.

@rgaudin
Copy link
Member

rgaudin commented Feb 17, 2026

OK it seems it's not an issue to compact after each commit although our current way seems to be preferred.

- Upgrade to bookworm (not trixie because we need Python 3.11)
- Isolate Python in a venv
- Use Python 3.11 since our borgmatic version needs it
- Upgrade to PostgreSQL 18
- Upgrade other dependencies
- Do not upgrade borgmatic, not sure about how to do it correctly (might
  require Borg v2)
@benoit74 benoit74 marked this pull request as ready for review February 23, 2026 08:09
@benoit74
Copy link
Contributor Author

Let's merge this, jobs moved to the "upgrade" image went fine.

@benoit74 benoit74 merged commit 64f0755 into main Feb 23, 2026
6 checks passed
@benoit74 benoit74 deleted the upgrade branch February 23, 2026 08:09
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.

2 participants