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
12
24
push :
13
25
branches :
14
26
- main
27
+ - 1.5.x
15
28
- 1.4.x
16
29
pull_request :
17
30
branches :
18
31
- main
32
+ - 1.5.x
19
33
- 1.4.x
20
34
paths-ignore :
21
35
- " doc/**"
@@ -32,7 +46,7 @@ permissions:
32
46
33
47
jobs :
34
48
build :
35
- if : false # Comment this line out to " unfreeze"
49
+ # if: false # Uncomment this to freeze the workflow, comment it to unfreeze
36
50
runs-on : ${{ matrix.os }}
37
51
strategy :
38
52
fail-fast : false
@@ -53,27 +67,27 @@ jobs:
53
67
fetch-depth : 0
54
68
55
69
- name : Set up Python Dev Version
56
- uses : actions/setup-python@v3
70
+ uses : actions/setup-python@v4
57
71
with :
58
72
python-version : ' 3.11-dev'
59
73
60
74
- name : Install dependencies
61
- shell : bash -el {0}
62
75
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
76
+ python --version
77
+ python -m pip install --upgrade pip setuptools wheel
78
+ python -m pip install git+https://github.com/numpy/numpy.git
79
+ python -m pip install git+https://github.com/nedbat/coveragepy.git
80
+ python -m pip install python-dateutil pytz cython hypothesis==6.52.1 pytest>=6.2.5 pytest-xdist pytest-cov pytest-asyncio>=0.17
81
+ python -m pip list
68
82
69
83
- name : Build Pandas
70
84
run : |
71
- python3 setup.py build_ext -q -j2
72
- python3 -m pip install -e . --no-build-isolation --no-use-pep517
85
+ python setup.py build_ext -q -j2
86
+ python -m pip install -e . --no-build-isolation --no-use-pep517
73
87
74
88
- name : Build Version
75
89
run : |
76
- python3 -c "import pandas; pandas.show_versions();"
90
+ python -c "import pandas; pandas.show_versions();"
77
91
78
92
- name : Test
79
93
uses : ./.github/actions/run-tests
0 commit comments