mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
conda 26 changed the SubdirData.query_all signature: channels and subdirs are now required keyword arguments. conda 25 inferred them from the current context when only a MatchSpec was passed. Calling query_all with just a spec on conda 26 raises TypeError, breaking the package index loading entirely. Fix: try the explicit form with channels= and subdirs= kwargs first (required by conda 26), catch TypeError and fall back to the single-spec form (conda 25 and earlier). Also add CONDA_26 (py312_26.5.3-1) to PredefinedPyEnvironments and CondaPackagingToolHelperTest so future regressions in the version-routing logic are caught before release. (cherry picked from commit 807bc29f329a3ca1c323ccc2fd6f2e7a391be2df) IJ-MR-212935 GitOrigin-RevId: 8c6b42702a4ed3fd88f00b4e5a6ef9b3ade38853