memgraph / mage

MAGE - Memgraph Advanced Graph Extensions :crystal_ball:
Apache License 2.0
238 stars 23 forks source link

Update base image to Debian 12 #457

Open MarkoBarisic opened 3 months ago

MarkoBarisic commented 3 months ago

Description

Problem

We need to upgrade from debian-11 to debian-12 to accommodate memgraph binaries built with toolchain v5. debian-12 uses some different libs, most noticeably python-3.11. This bump in python version (3.9 -> 3.11) is a bit tricky because we hardcoded all dependency versions and now some of them aren't supported by python-3.11. First example is pytorch, we are using 1.12, but 3.11 supports 1.13 and up.

Solution

This PR introduces changes in build environment which are needed to correctly build mage images with memgraph built with toolchain v5.

Pull request type

Related issues

Delete if this PR doesn't resolve any issues. Link the issue if it does.

######################################

Reviewer checklist (the reviewer checks this part)

Module/Algorithm

Documentation checklist

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

MarkoBarisic commented 3 months ago

I tried removing versions from requirement files so that pip pulls the latest versions. We can revert this