@@ -22,51 +22,77 @@ jobs:
2222 name : dist
2323 path : dist
2424
25- whl_lt_3_9 :
25+ whl_3_8 :
2626 name : Build / ${{ matrix.os }} / Python 3.${{ matrix.minor }}
2727 strategy :
2828 fail-fast : false
2929 matrix :
30- os : [macos-12, ubuntu-20 .04, windows-2022]
31- minor : [7, 8]
30+ os : [macos-12, ubuntu-22 .04, windows-2022]
31+ minor : [8]
3232 runs-on : ${{ matrix.os }}
3333 steps :
3434 - uses : actions/checkout@v3
3535 - uses : actions/setup-python@v3
36- - uses : pypa/cibuildwheel@v2.12.3
36+ - uses : pypa/cibuildwheel@v2.16.2
3737 with :
3838 output-dir : dist
3939 env :
4040 CIBW_BUILD : cp3${{ matrix.minor }}-*
4141 CIBW_ARCHS_MACOS : all
42- CIBW_BEFORE_BUILD : pip install -r {project}/requirements-build-backward .txt
43- CIBW_BEFORE_TEST : pip install -r {project}/requirements-backward .txt
42+ CIBW_BEFORE_BUILD : pip install -r {project}/requirements-build-3_8 .txt
43+ CIBW_BEFORE_TEST : pip install -r {project}/requirements-dev-3_8 .txt
4444 CIBW_TEST_COMMAND : pytest {project}
4545
4646 - uses : actions/upload-artifact@v3
4747 with :
4848 name : dist
4949 path : dist
5050
51- whl_gte_3_9 :
51+ whl_gte_3_9_to_3_11 :
5252 name : Build / ${{ matrix.os }} / Python 3.${{ matrix.minor }}
5353 strategy :
5454 fail-fast : false
5555 matrix :
56- os : [macos-12, ubuntu-20 .04, windows-2022]
56+ os : [macos-12, ubuntu-22 .04, windows-2022]
5757 minor : [9, 10, 11]
5858 runs-on : ${{ matrix.os }}
5959 steps :
6060 - uses : actions/checkout@v3
6161 - uses : actions/setup-python@v3
62- - uses : pypa/cibuildwheel@v2.12.3
62+ - uses : pypa/cibuildwheel@v2.16.2
6363 with :
6464 output-dir : dist
6565 env :
6666 CIBW_BUILD : cp3${{ matrix.minor }}-*
6767 CIBW_ARCHS_MACOS : all
68- CIBW_BEFORE_BUILD : pip install -r {project}/requirements-build.txt
69- CIBW_BEFORE_TEST : pip install -r {project}/requirements.txt
68+ CIBW_BEFORE_BUILD : pip install -r {project}/requirements-build-3_11.txt
69+ CIBW_BEFORE_TEST : pip install -r {project}/requirements-3_11.txt
70+ CIBW_TEST_COMMAND : pytest {project}
71+
72+ - uses : actions/upload-artifact@v3
73+ with :
74+ name : dist
75+ path : dist
76+
77+ whl_3_12 :
78+ name : Build / ${{ matrix.os }} / Python 3.${{ matrix.minor }}
79+ strategy :
80+ fail-fast : false
81+ matrix :
82+ os : [macos-12, ubuntu-22.04, windows-2022]
83+ minor : [12]
84+ runs-on : ${{ matrix.os }}
85+ steps :
86+ - uses : actions/checkout@v3
87+ - uses : actions/setup-python@v3
88+ - uses : pypa/cibuildwheel@v2.16.2
89+ with :
90+ output-dir : dist
91+ env :
92+ CIBW_BUILD : cp3${{ matrix.minor }}-*
93+ CIBW_ARCHS_MACOS : all
94+ CIBW_BEFORE_BUILD : pip install -r {project}/requirements-build-3_12.txt
95+ CIBW_BEFORE_TEST : pip install -r {project}/requirements-dev-3_12.txt
7096 CIBW_TEST_COMMAND : pytest {project}
7197
7298 - uses : actions/upload-artifact@v3
77103 upload :
78104 name : Publish
79105 if : github.event_name == 'release' && github.event.action == 'published'
80- needs : [tar_gz, whl_lt_3_9, whl_gte_3_9 ]
106+ needs : [tar_gz, whl_3_8, whl_gte_3_9_to_3_11, whl_3_12 ]
81107 runs-on : ubuntu-latest
82108 steps :
83109 - uses : actions/download-artifact@v3
0 commit comments