2929 env_file : [actions-310.yaml, actions-311.yaml, actions-312.yaml]
3030 # Prevent the include jobs from overriding other jobs
3131 pattern : [""]
32+ pandas_future_infer_string : ["0"]
3233 include :
3334 - name : " Downstream Compat"
3435 env_file : actions-311-downstream_compat.yaml
5859 # It will be temporarily activated during tests with locale.setlocale
5960 extra_loc : " zh_CN"
6061 - name : " Future infer strings"
62+ env_file : actions-312.yaml
63+ pandas_future_infer_string : " 1"
64+ - name : " Future infer strings (without pyarrow)"
6165 env_file : actions-311.yaml
6266 pandas_future_infer_string : " 1"
6367 - name : " Pypy"
8589 NPY_PROMOTION_STATE : ${{ matrix.env_file == 'actions-311-numpydev.yaml' && 'weak' || 'legacy' }}
8690 # Clipboard tests
8791 QT_QPA_PLATFORM : offscreen
92+ REMOVE_PYARROW : ${{ matrix.name == 'Future infer strings (without pyarrow)' && '1' || '0' }}
8893 concurrency :
8994 # https://github.community/t/concurrecy-not-work-for-push/183068/7
90- group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}}
95+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}-${{ matrix.pandas_future_infer_string } }
9196 cancel-in-progress : true
9297
9398 services :
@@ -134,8 +139,8 @@ jobs:
134139 fetch-depth : 0
135140
136141 - name : Extra installs
137- run : sudo apt-get update && sudo apt-get install -y ${{ matrix.extra_apt }}
138- if : ${{ matrix.extra_apt }}
142+ # https://pytest-qt.readthedocs.io/en/latest/troubleshooting.html#github-actions-azure-pipelines-travis-ci-and-gitlab-ci-cd
143+ run : sudo apt-get update && sudo apt-get install -y libegl1 libopengl0 ${{ matrix.extra_apt || '' }}
139144
140145 - name : Generate extra locales
141146 # These extra locales will be available for locale.setlocale() calls in tests
@@ -230,9 +235,9 @@ jobs:
230235 /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
231236 . ~/virtualenvs/pandas-dev/bin/activate
232237 python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
233- python -m pip install numpy --config-settings=setup -args="-Dallow-noblas=true"
234- python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
235- python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup -args="--werror"
238+ python -m pip install numpy -Csetup -args="-Dallow-noblas=true"
239+ python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
240+ python -m pip install --no-cache-dir --no-build-isolation -e . -Csetup -args="--werror"
236241 python -m pip list --no-cache-dir
237242 export PANDAS_CI=1
238243 python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml
@@ -269,8 +274,8 @@ jobs:
269274 /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
270275 . ~/virtualenvs/pandas-dev/bin/activate
271276 python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
272- python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
273- python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup -args="--werror"
277+ python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
278+ python -m pip install --no-cache-dir --no-build-isolation -e . -Csetup -args="--werror"
274279 python -m pip list --no-cache-dir
275280
276281 - name : Run Tests
@@ -290,7 +295,7 @@ jobs:
290295 # In general, this will remain frozen(present, but not running) until:
291296 # - The next unreleased Python version has released beta 1
292297 # - This version should be available on GitHub Actions.
293- # - Our required build/runtime dependencies(numpy, pytz, Cython, python-dateutil)
298+ # - Our required build/runtime dependencies(numpy, Cython, python-dateutil)
294299 # support that unreleased Python version.
295300 # To unfreeze, comment out the ``if: false`` condition, and make sure you update
296301 # the name of the workflow and Python version in actions/setup-python ``python-version:``
@@ -343,8 +348,8 @@ jobs:
343348 python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
344349 python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
345350 python -m pip install versioneer[toml]
346- python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 pytest-cov
347- python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup -args="--werror"
351+ python -m pip install python-dateutil tzdata cython hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 pytest-cov
352+ python -m pip install -ve . --no-build-isolation --no-index --no-deps -Csetup -args="--werror"
348353 python -m pip list
349354
350355 - name : Run Tests
@@ -387,7 +392,7 @@ jobs:
387392 python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython
388393 python -m pip install versioneer[toml]
389394 python -m pip install python-dateutil pytz tzdata hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0 pytest-cov
390- python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup -args="--werror"
395+ python -m pip install -ve . --no-build-isolation --no-index --no-deps -Csetup -args="--werror"
391396 python -m pip list
392397
393398 - name : Run Tests
0 commit comments