Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
conda create -n test-env python -y
conda activate test-env
dev_anaconda_url=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pip install --pre --upgrade --timeout=60 --extra-index $dev_anaconda_url numpy pandas
python -c 'import numpy; print(numpy.__version__)'
Outputs:
1.26.2
Issue Description
pandas nightly wheel from scientific-python-nightly-wheel requires numpy<2.
In scikit-learn we want to test against the development version of our dependencies for numpy, scipy, pandas, etc ...
From the command we were using, we were expecting that numpy development version will be installed before closely looking at the CI log and realising that we actually get numpy latest release. More context from scikit-learn/scikit-learn#27899.
I think our current approach in scikit-learn is to not pin numpy<2 in main
but pin it on release branches.
Expected Behavior
Installs numpy-2.0.0.dev0 from scientific-python-nightly-wheel
Installed Versions
pandas-2.2.0.dev0+925.gac170fdc35