Skip to content

Commit 0906540

Browse files
Merge pull request #81 from aboutcode-org/update-ci
Update CI and release v32.2.0
2 parents 8bf864f + e267b2b commit 0906540

File tree

4 files changed

+45
-38
lines changed

4 files changed

+45
-38
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

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Release notes
22
=============
33

4+
Version 32.2.0 - (2025-02-15)
5+
-----------------------------
6+
7+
- Adjust as_unicode for breaking bs4 4.13 changes
8+
See https://github.com/aboutcode-org/commoncode/issues/79
9+
- Add support for python 3.13
10+
- Drop deprecated CI runners and update CI runners to latest
411

512
Version 32.1.0 - (2024-12-06)
613
-----------------------------

azure-pipelines.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -9,51 +9,51 @@ jobs:
99
# These jobs are using VMs and Azure-provided Pythons 3.8
1010
################################################################################
1111

12-
- template: etc/ci/azure-posix.yml
13-
parameters:
14-
job_name: ubuntu20_cpython
15-
image_name: ubuntu-20.04
16-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
17-
test_suites:
18-
all: venv/bin/pytest -n 2 -vvs
19-
2012
- template: etc/ci/azure-posix.yml
2113
parameters:
2214
job_name: ubuntu22_cpython
2315
image_name: ubuntu-22.04
24-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
16+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2517
test_suites:
2618
all: venv/bin/pytest -n 2 -vvs
2719

2820
- template: etc/ci/azure-posix.yml
2921
parameters:
30-
job_name: macos12_cpython
31-
image_name: macOS-12
32-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
22+
job_name: ubuntu24_cpython
23+
image_name: ubuntu-24.04
24+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3325
test_suites:
3426
all: venv/bin/pytest -n 2 -vvs
3527

3628
- template: etc/ci/azure-posix.yml
3729
parameters:
3830
job_name: macos13_cpython
3931
image_name: macOS-13
40-
python_versions: ["3.9", "3.10", "3.11", "3.12"]
32+
python_versions: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4133
test_suites:
4234
all: venv/bin/pytest -n 2 -vvs
4335

36+
- template: etc/ci/azure-posix.yml
37+
parameters:
38+
job_name: macos14_cpython
39+
image_name: macOS-14
40+
python_versions: ['3.9', '3.10', '3.11', '3.12']
41+
test_suites:
42+
all: venv/bin/pytest -n 2 -vvs
43+
4444
- template: etc/ci/azure-win.yml
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)