29
29
env_file : [actions-310.yaml, actions-311.yaml, actions-312.yaml]
30
30
# Prevent the include jobs from overriding other jobs
31
31
pattern : [""]
32
+ pandas_future_infer_string : ["0"]
32
33
include :
33
34
- name : " Downstream Compat"
34
35
env_file : actions-311-downstream_compat.yaml
58
59
# It will be temporarily activated during tests with locale.setlocale
59
60
extra_loc : " zh_CN"
60
61
- name : " Future infer strings"
62
+ env_file : actions-312.yaml
63
+ pandas_future_infer_string : " 1"
64
+ - name : " Future infer strings (without pyarrow)"
61
65
env_file : actions-311.yaml
62
66
pandas_future_infer_string : " 1"
63
67
- name : " Pypy"
85
89
NPY_PROMOTION_STATE : ${{ matrix.env_file == 'actions-311-numpydev.yaml' && 'weak' || 'legacy' }}
86
90
# Clipboard tests
87
91
QT_QPA_PLATFORM : offscreen
92
+ REMOVE_PYARROW : ${{ matrix.name == 'Future infer strings (without pyarrow)' && '1' || '0' }}
88
93
concurrency :
89
94
# 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 } }
91
96
cancel-in-progress : true
92
97
93
98
services :
@@ -134,8 +139,8 @@ jobs:
134
139
fetch-depth : 0
135
140
136
141
- 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 || '' }}
139
144
140
145
- name : Generate extra locales
141
146
# These extra locales will be available for locale.setlocale() calls in tests
@@ -230,9 +235,9 @@ jobs:
230
235
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
231
236
. ~/virtualenvs/pandas-dev/bin/activate
232
237
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"
236
241
python -m pip list --no-cache-dir
237
242
export PANDAS_CI=1
238
243
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:
269
274
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
270
275
. ~/virtualenvs/pandas-dev/bin/activate
271
276
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"
274
279
python -m pip list --no-cache-dir
275
280
276
281
- name : Run Tests
@@ -290,7 +295,7 @@ jobs:
290
295
# In general, this will remain frozen(present, but not running) until:
291
296
# - The next unreleased Python version has released beta 1
292
297
# - 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)
294
299
# support that unreleased Python version.
295
300
# To unfreeze, comment out the ``if: false`` condition, and make sure you update
296
301
# the name of the workflow and Python version in actions/setup-python ``python-version:``
@@ -343,8 +348,8 @@ jobs:
343
348
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
344
349
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
345
350
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"
348
353
python -m pip list
349
354
350
355
- name : Run Tests
@@ -387,7 +392,7 @@ jobs:
387
392
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy cython
388
393
python -m pip install versioneer[toml]
389
394
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"
391
396
python -m pip list
392
397
393
398
- name : Run Tests
0 commit comments