1- # This file is purposely frozen(does not run). DO NOT DELETE IT
2- # Unfreeze(by commentingthe if: false() condition) once the
3- # next Python Dev version has released beta 1 and both Cython and numpy support it
4- # After that Python has released, migrate the workflows to the
5- # posix GHA workflows and "freeze" this file by
6- # uncommenting the if: false() condition
1+ # This workflow may or may not run depending on the state of the next
2+ # unreleased Python version. DO NOT DELETE IT.
3+ #
4+ # In general, this file will remain frozen(present, but not running) until:
5+ # - The next unreleased Python version has released beta 1
6+ # - This version should be available on Github Actions.
7+ # - Our required build/runtime dependencies(numpy, pytz, Cython, python-dateutil)
8+ # support that unreleased Python version.
9+ # To unfreeze, comment out the ``if: false`` condition, and make sure you update
10+ # the name of the workflow and Python version in actions/setup-python to: '3.12-dev'
11+ #
12+ # After it has been unfrozen, this file should remain unfrozen(present, and running) until:
13+ # - The next Python version has been officially released.
14+ # OR
15+ # - Most/All of our optional dependencies support Python 3.11 AND
16+ # - The next Python version has released a rc(we are guaranteed a stable ABI).
17+ # To freeze this file, uncomment out the ``if: false`` condition, and migrate the jobs
18+ # to the corresponding posix/windows-macos/sdist etc. workflows.
719# Feel free to modify this comment as necessary.
820
921name : Python Dev
@@ -32,7 +44,7 @@ permissions:
3244
3345jobs :
3446 build :
35- if : false # Comment this line out to " unfreeze"
47+ # if: false # Uncomment this to freeze the workflow, comment it to unfreeze
3648 runs-on : ${{ matrix.os }}
3749 strategy :
3850 fail-fast : false
@@ -53,27 +65,27 @@ jobs:
5365 fetch-depth : 0
5466
5567 - name : Set up Python Dev Version
56- uses : actions/setup-python@v3
68+ uses : actions/setup-python@v4
5769 with :
5870 python-version : ' 3.11-dev'
5971
6072 - name : Install dependencies
61- shell : bash -el {0}
6273 run : |
63- python3 -m pip install --upgrade pip setuptools wheel
64- python3 -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
65- python3 -m pip install git+https://github.com/nedbat/coveragepy.git
66- python3 -m pip install cython python-dateutil pytz hypothesis pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17
67- python3 -m pip list
74+ python --version
75+ python -m pip install --upgrade pip setuptools wheel
76+ python -m pip install git+https://github.com/numpy/numpy.git
77+ python -m pip install git+https://github.com/nedbat/coveragepy.git
78+ python -m pip install python-dateutil pytz cython hypothesis==6.52.1 pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17
79+ python -m pip list
6880
6981 - name : Build Pandas
7082 run : |
71- python3 setup.py build_ext -q -j2
72- python3 -m pip install -e . --no-build-isolation --no-use-pep517
83+ python setup.py build_ext -q -j2
84+ python -m pip install -e . --no-build-isolation --no-use-pep517
7385
7486 - name : Build Version
7587 run : |
76- python3 -c "import pandas; pandas.show_versions();"
88+ python -c "import pandas; pandas.show_versions();"
7789
7890 - name : Test
7991 uses : ./.github/actions/run-tests
0 commit comments