Skip to content

Commit d197ca8

Browse files
Merge remote-tracking branch 'skeleton/main' into update-ci
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
2 parents 15e90da + df02630 commit d197ca8

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

.github/workflows/docs-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
88

99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [3.9]
12+
python-version: [3.12]
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

.github/workflows/pypi-release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ on:
2121
jobs:
2222
build-pypi-distribs:
2323
name: Build and publish library to PyPI
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525

2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Set up Python
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
31-
python-version: 3.9
31+
python-version: 3.12
3232

3333
- name: Install pypa/build
3434
run: python -m pip install build --user
@@ -37,7 +37,7 @@ jobs:
3737
run: python -m build --sdist --wheel --outdir dist/
3838

3939
- name: Upload built archives
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: pypi_archives
4343
path: dist/*
@@ -47,17 +47,17 @@ jobs:
4747
name: Create GH release
4848
needs:
4949
- build-pypi-distribs
50-
runs-on: ubuntu-22.04
50+
runs-on: ubuntu-24.04
5151

5252
steps:
5353
- name: Download built archives
54-
uses: actions/download-artifact@v3
54+
uses: actions/download-artifact@v4
5555
with:
5656
name: pypi_archives
5757
path: dist
5858

5959
- name: Create GH release
60-
uses: softprops/action-gh-release@v1
60+
uses: softprops/action-gh-release@v2
6161
with:
6262
draft: true
6363
files: dist/*
@@ -67,11 +67,11 @@ jobs:
6767
name: Create PyPI release
6868
needs:
6969
- create-gh-release
70-
runs-on: ubuntu-22.04
70+
runs-on: ubuntu-24.04
7171

7272
steps:
7373
- name: Download built archives
74-
uses: actions/download-artifact@v3
74+
uses: actions/download-artifact@v4
7575
with:
7676
name: pypi_archives
7777
path: dist

azure-pipelines.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ jobs:
1313
parameters:
1414
job_name: ubuntu22_cpython
1515
image_name: ubuntu-22.04
16-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
16+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1717
test_suites:
1818
all: venv/bin/pytest -n 2 -vvs
1919

2020
- template: etc/ci/azure-posix.yml
2121
parameters:
2222
job_name: ubuntu24_cpython
2323
image_name: ubuntu-24.04
24-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
24+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2525
test_suites:
2626
all: venv/bin/pytest -n 2 -vvs
2727

2828
- template: etc/ci/azure-posix.yml
2929
parameters:
3030
job_name: macos13_cpython
3131
image_name: macOS-13
32-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
32+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3333
test_suites:
3434
all: venv/bin/pytest -n 2 -vvs
3535

@@ -45,15 +45,15 @@ jobs:
4545
parameters:
4646
job_name: win2019_cpython
4747
image_name: windows-2019
48-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
48+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4949
test_suites:
5050
all: venv\Scripts\pytest -n 2 -vvs
5151

5252
- template: etc/ci/azure-win.yml
5353
parameters:
5454
job_name: win2022_cpython
5555
image_name: windows-2022
56-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
56+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
5757
test_suites:
5858
all: venv\Scripts\pytest -n 2 -vvs
5959

@@ -63,12 +63,12 @@ jobs:
6363

6464
- template: etc/ci/azure-posix.yml
6565
parameters:
66-
job_name: ubuntu22_test_all_supported_click_versions
67-
image_name: ubuntu-22.04
68-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
66+
job_name: ubuntu24_test_all_supported_click_versions
67+
image_name: ubuntu-24.04
68+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
6969
test_suites:
7070
click_versions: |
71-
for clk_ver in 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.2 8.0.3 8.0.1 7.1.2 7.1.1 7.1 6.7;
71+
for clk_ver in 8.1.7 8.1.6 8.1.5 8.1.4 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.2 8.0.3 8.0.1 7.1.2 7.1.1 7.1 6.7;
7272
do
7373
pip install click==$clk_ver;
7474
venv/bin/pytest -vvs tests/test_cliutils_progressbar.py;
@@ -80,9 +80,9 @@ jobs:
8080

8181
- template: etc/ci/azure-posix.yml
8282
parameters:
83-
job_name: ubuntu22_cpython_latest_from_pip
84-
image_name: ubuntu-22.04
85-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
83+
job_name: ubuntu24_cpython_latest_from_pip
84+
image_name: ubuntu-24.04
85+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
8686
test_suites:
8787
all: |
8888
venv/bin/pip install --upgrade-strategy eager --force-reinstall --upgrade -e .
@@ -91,9 +91,9 @@ jobs:
9191
9292
- template: etc/ci/azure-win.yml
9393
parameters:
94-
job_name: win2019_cpython_latest_from_pip
95-
image_name: windows-2019
96-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
94+
job_name: win2022_cpython_latest_from_pip
95+
image_name: windows-2022
96+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
9797
test_suites:
9898
all: |
9999
venv\Scripts\pip install --upgrade-strategy eager --force-reinstall --upgrade -e .

0 commit comments

Comments
 (0)