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.
7
19
# Feel free to modify this comment as necessary.
8
20
9
21
name : Python Dev
@@ -32,7 +44,7 @@ permissions:
32
44
33
45
jobs :
34
46
build :
35
- if : false # Comment this line out to " unfreeze"
47
+ # if: false # Uncomment this to freeze the workflow, comment it to unfreeze
36
48
runs-on : ${{ matrix.os }}
37
49
strategy :
38
50
fail-fast : false
@@ -53,27 +65,27 @@ jobs:
53
65
fetch-depth : 0
54
66
55
67
- name : Set up Python Dev Version
56
- uses : actions/setup-python@v3
68
+ uses : actions/setup-python@v4
57
69
with :
58
70
python-version : ' 3.11-dev'
59
71
60
72
- name : Install dependencies
61
- shell : bash -el {0}
62
73
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
68
80
69
81
- name : Build Pandas
70
82
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
73
85
74
86
- name : Build Version
75
87
run : |
76
- python3 -c "import pandas; pandas.show_versions();"
88
+ python -c "import pandas; pandas.show_versions();"
77
89
78
90
- name : Test
79
91
uses : ./.github/actions/run-tests
0 commit comments