@@ -77,16 +77,12 @@ jobs:
77
77
env_file : actions-311-numpydev.yaml
78
78
pattern : " not slow and not network and not single_cpu"
79
79
test_args : " -W error::DeprecationWarning -W error::FutureWarning"
80
- # TODO(cython3): Re-enable once next-beta(after beta 1) comes out
81
- # There are some warnings failing the build with -werror
82
- pandas_ci : " 0"
83
80
- name : " Pyarrow Nightly"
84
81
env_file : actions-311-pyarrownightly.yaml
85
82
pattern : " not slow and not network and not single_cpu"
86
83
fail-fast : false
87
84
name : ${{ matrix.name || format('ubuntu-latest {0}', matrix.env_file) }}
88
85
env :
89
- ENV_FILE : ci/deps/${{ matrix.env_file }}
90
86
PATTERN : ${{ matrix.pattern }}
91
87
EXTRA_APT : ${{ matrix.extra_apt || '' }}
92
88
LANG : ${{ matrix.lang || 'C.UTF-8' }}
@@ -150,14 +146,13 @@ jobs:
150
146
151
147
- name : Generate extra locales
152
148
# These extra locales will be available for locale.setlocale() calls in tests
153
- run : |
154
- sudo locale-gen ${{ matrix.extra_loc }}
149
+ run : sudo locale-gen ${{ matrix.extra_loc }}
155
150
if : ${{ matrix.extra_loc }}
156
151
157
152
- name : Set up Conda
158
153
uses : ./.github/actions/setup-conda
159
154
with :
160
- environment-file : ${{ env.ENV_FILE }}
155
+ environment-file : ci/deps/ ${{ matrix.env_file }}
161
156
162
157
- name : Build Pandas
163
158
id : build
@@ -316,11 +311,7 @@ jobs:
316
311
strategy :
317
312
fail-fast : false
318
313
matrix :
319
- # TODO: Disable macOS for now, Github Actions bug where python is not
320
- # symlinked correctly to 3.12
321
- # xref https://github.com/actions/setup-python/issues/701
322
- # os: [ubuntu-22.04, macOS-latest, windows-latest]
323
- os : [ubuntu-22.04, windows-latest]
314
+ os : [ubuntu-22.04, macOS-latest, windows-latest]
324
315
325
316
timeout-minutes : 180
326
317
@@ -342,25 +333,28 @@ jobs:
342
333
343
334
- name : Set up Python Dev Version
344
335
uses : actions/setup-python@v4
336
+ id : pydev
345
337
with :
346
338
python-version : ' 3.12-dev'
347
339
340
+ - name : Update Python Path
341
+ # xref https://github.com/actions/setup-python/issues/701
342
+ run : PATH=${{ steps.pydev.outputs.python-path }}:$PATH
343
+ if : ${{ matrix.os == 'macOS-latest'}}
344
+
348
345
- name : Install dependencies
349
346
run : |
350
347
python --version
351
348
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.0.1 meson-python==0.13.1
352
349
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
353
350
python -m pip install versioneer[toml]
354
351
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
355
- python -m pip list
356
352
357
353
- name : Build Pandas
358
- run : |
359
- python -m pip install -ve . --no-build-isolation --no-index
354
+ run : python -m pip install -ve . --no-build-isolation --no-index
360
355
361
356
- name : Build Version
362
- run : |
363
- python -c "import pandas; pandas.show_versions();"
357
+ run : python -m pip list
364
358
365
359
- name : Test
366
360
uses : ./.github/actions/run-tests
0 commit comments