44 push :
55 branches :
66 - main
7- - 2.2 .x
7+ - 2.3 .x
88 pull_request :
99 branches :
1010 - main
11- - 2.2 .x
11+ - 2.3 .x
1212 paths-ignore :
1313 - " doc/**"
1414 - " web/**"
2929 env_file : [actions-39.yaml, 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
8586 env_file : actions-39.yaml
8687 pattern : " not slow and not network and not single_cpu"
8788 pandas_copy_on_write : " warn"
89+ - name : " Future infer strings"
90+ env_file : actions-312.yaml
91+ pandas_future_infer_string : " 1"
92+ pandas_copy_on_write : " 1"
93+ - name : " Future infer strings (without pyarrow)"
94+ env_file : actions-311.yaml
95+ pandas_future_infer_string : " 1"
96+ pandas_copy_on_write : " 1"
8897 - name : " Pypy"
8998 env_file : actions-pypy-39.yaml
9099 pattern : " not slow and not network and not single_cpu"
@@ -103,16 +112,18 @@ jobs:
103112 LANG : ${{ matrix.lang || 'C.UTF-8' }}
104113 LC_ALL : ${{ matrix.lc_all || '' }}
105114 PANDAS_COPY_ON_WRITE : ${{ matrix.pandas_copy_on_write || '0' }}
106- PANDAS_CI : ${{ matrix.pandas_ci || '1' }}
115+ PANDAS_CI : ' 1'
116+ PANDAS_FUTURE_INFER_STRING : ${{ matrix.pandas_future_infer_string || '0' }}
107117 TEST_ARGS : ${{ matrix.test_args || '' }}
108118 PYTEST_WORKERS : ${{ matrix.pytest_workers || 'auto' }}
109119 PYTEST_TARGET : ${{ matrix.pytest_target || 'pandas' }}
110120 NPY_PROMOTION_STATE : ${{ matrix.env_file == 'actions-311-numpydev.yaml' && 'weak' || 'legacy' }}
111121 # Clipboard tests
112122 QT_QPA_PLATFORM : offscreen
123+ REMOVE_PYARROW : ${{ matrix.name == 'Future infer strings (without pyarrow)' && '1' || '0' }}
113124 concurrency :
114125 # https://github.community/t/concurrecy-not-work-for-push/183068/7
115- group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}-${{ matrix.pandas_copy_on_write || '' }}
126+ group : ${{ github.event_name == 'push' && github.run_number || github.ref }}-${{ matrix.env_file }}-${{ matrix.pattern }}-${{ matrix.extra_apt || '' }}-${{ matrix.pandas_copy_on_write || '' }}-${{ matrix.pandas_future_infer_string }}
116127 cancel-in-progress : true
117128
118129 services :
@@ -257,7 +268,7 @@ jobs:
257268 . ~/virtualenvs/pandas-dev/bin/activate
258269 python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
259270 python -m pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
260- python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
271+ python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil " pytz<2024.2" pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
261272 python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
262273 python -m pip list --no-cache-dir
263274 export PANDAS_CI=1
@@ -295,7 +306,7 @@ jobs:
295306 /opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
296307 . ~/virtualenvs/pandas-dev/bin/activate
297308 python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.2.1
298- python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
309+ python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil " pytz<2024.2" pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
299310 python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
300311 python -m pip list --no-cache-dir
301312
@@ -329,7 +340,7 @@ jobs:
329340 # To freeze this file, uncomment out the ``if: false`` condition, and migrate the jobs
330341 # to the corresponding posix/windows-macos/sdist etc. workflows.
331342 # Feel free to modify this comment as necessary.
332- if : false # Uncomment this to freeze the workflow, comment it to unfreeze
343+ # if: false # Uncomment this to freeze the workflow, comment it to unfreeze
333344 defaults :
334345 run :
335346 shell : bash -eou pipefail {0}
@@ -361,15 +372,15 @@ jobs:
361372 - name : Set up Python Dev Version
362373 uses : actions/setup-python@v5
363374 with :
364- python-version : ' 3.12 -dev'
375+ python-version : ' 3.13 -dev'
365376
366377 - name : Build Environment
367378 run : |
368379 python --version
369380 python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.2.1 meson-python==0.13.1
370381 python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
371382 python -m pip install versioneer[toml]
372- python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov
383+ python -m pip install python-dateutil " pytz<2024.2" tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov
373384 python -m pip install -ve . --no-build-isolation --no-index --no-deps --config-settings=setup-args="--werror"
374385 python -m pip list
375386
0 commit comments