happy-wolf-7852
05/01/2024, 8:26 AM@conda_base(
libraries={
"pandas": "1.5.0",
},
python="3.10.6",
)
is kind of the requirements.txt of a flow - ready for potential remote execution. I used:
conda search -c conda-forge pandas
to determine possible package versions for each python version. This can return quite a long list. Is there a way to restrict this search to a python version (e.g. 3.10.6 as above)? Sorry google did not return much and chatgpt talks nonsense 😀victorious-lawyer-58417
05/02/2024, 6:50 AMmamba install --dry-run python=3.10.3 pandas
thanks to --dry-run it doesn't actually install anything, just output the versions. It'll output versions of everything, which is a bit verbose, so you can do
mamba install --dry-run python=3.10.3 pandas | grep pandas
to see just the version of pandas that's compatible with the given python versionvictorious-lawyer-58417
05/02/2024, 6:51 AMmamba is faster than conda)victorious-lawyer-58417
05/02/2024, 6:57 AM