Environment markers for different manylinux

I have a wheel dependency that I want to use on manylinux. I have to support two different manylinux (github codespaces and prod / containers). I thought I’d be able to do somthing like:

./dep-name-0.1.0-cp38-abi3-manylinux_2_34_x86_64.whl ; some_marker == "manylinux_2_34_x86_64"
./dep-name-0.1.0-cp38-abi3-manylinux_2_31_x86_64.whl ; some_marker == "manylinux_2_31_x86_64"

But I could not find any such marker. Did I miss it in documentation or does it just not exist?

IIUC, you can just target manylinux_2_31_x86_64; wheels compatible with it should also work anywhere a manylinux_2_34_x86_64-compatible wheel would.

Great point, thank you! I hadn’t dug into how the actual numbering/naming works.