Hi Simon (2023.01.13_10:02:11_-0400) > For instance, pylint has "tomli>=1.1.0;python_version<'3.11'" in its > pyproject.toml, which is translated as "python3-tomli (>= 1.1.0) | > python3 (>= 3.11)". > > This means that if we have python == 3.11 but still have python3.10 in > the archive, any code that iterates over all supported archive risks > failing simply due to the tomli module missing.
Yes, I was aware of this risk when I implemented it, but it was the best I could do with the knobs available. python3-defaults now provides virtual packages that we can use to more accurately model supported releases here: https://salsa.debian.org/cpython-team/python3-defaults/-/merge_requests/13 It should land in bookworm. So trixie should be able to make full use of them. For now, you should explicitly add extra dependencies, when necessary, and remove them later. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272