examples icon indicating copy to clipboard operation
examples copied to clipboard

Investigate and document locking projects with the latest Python versions

Open maximlt opened this issue 5 months ago • 1 comments

In https://github.com/Anaconda-Platform/anaconda-project/issues/398 we observed that on a Mac it's currently not possible to perform cross-platform locks targeting Linux and using the defaults channel and Python >= 3.10.

Instead of waiting for an upstream patch, we can, in theory, immediately get unblocked by locking while setting CONDA_OVERRIDE_GLIBC to a glibc version. We will have to:

  • [x] Find the version to pin, so it's compatible with the places where the code will run (i.e. GitHub ubuntu-latest runner and AE5):
    • AE5 (holoviz.dsp.anaconda.com): 2.34 (it was 2.28 on the old cluster)
    • ubuntu-latest (22.04): 2.35
    • So I'd say let's set CONDA_OVERRIDE_GLIBC="2.34"
  • [ ] Update the contributor page

maximlt avatar Jan 24 '24 16:01 maximlt

Chatted with Jean-Luc and agreed on CONDA_OVERRIDE_GLIBC="2.34". Also decided to target Python 3.11 when updating an example.

maximlt avatar Feb 02 '24 11:02 maximlt