Skip to content

Commit 7b8085f

Browse files
Update CI dependencies (#191)
* Update CI dependencies * Apply pre-commit fix From the artifact of the previous workflow run --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: geo-ghci-int[bot] <146321879+geo-ghci-int[bot]@users.noreply.github.com>
1 parent f5346bb commit 7b8085f

6 files changed

Lines changed: 72 additions & 73 deletions

File tree

.github/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/tag-publish/1.1.1/tag_publish/schema.json
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/camptocamp/tag-publish/1.2.0/tag_publish/schema.json
22

33
pypi:
44
versions_type:

.github/workflows/main.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,24 @@ jobs:
3131
success: ${{ steps.success.outputs.success }}
3232

3333
steps:
34-
- uses: actions/checkout@v7
34+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
3535
with:
3636
fetch-depth: 0
3737

38-
- uses: actions/setup-python@v6
38+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
3939
with:
4040
python-version: '3.13'
4141
- run: python3 -m pip install $(grep pre-commit== requirements.txt)
4242

43-
- uses: actions/cache@v6
43+
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
4444
with:
4545
path: ~/.cache/pre-commit
4646
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
4747
restore-keys: "pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}\npre-commit-"
4848
- run: pre-commit run --all-files --color=always
4949
- run: git diff --exit-code --patch > /tmp/pre-commit.patch; git diff --color; git reset --hard || true
5050
if: failure()
51-
- uses: actions/upload-artifact@v7
51+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5252
with:
5353
name: Apply pre-commit fix.patch
5454
path: /tmp/pre-commit.patch
@@ -68,11 +68,11 @@ jobs:
6868
success: ${{ steps.success.outputs.success }}
6969

7070
steps:
71-
- uses: actions/checkout@v7
71+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
7272
with:
7373
fetch-depth: 0
7474

75-
- uses: actions/setup-python@v6
75+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
7676
with:
7777
python-version: '3.13'
7878
- run: python3 -m pip install --requirement=.github/requirements.txt
@@ -100,7 +100,7 @@ jobs:
100100

101101
- run: git diff --exit-code --patch > /tmp/dpkg-versions.patch || true
102102
if: failure()
103-
- uses: actions/upload-artifact@v7
103+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
104104
with:
105105
name: Update dpkg versions list.patch
106106
path: /tmp/dpkg-versions.patch

.github/workflows/pull-request-automation.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
env:
1818
GITHUB: ${{ toJson(github) }}
1919
- name: Print context
20-
uses: actions/github-script@v9
20+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
2121
with:
2222
script: |-
2323
console.log(context);
2424
- name: Auto reviews GHCI updates
25-
uses: actions/github-script@v9
25+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
2626
with:
2727
script: |-
2828
github.rest.pulls.createReview({
@@ -37,7 +37,7 @@ jobs:
3737
|| github.event.pull_request.user.login == 'geo-ghci-int[bot]'
3838
|| github.event.pull_request.user.login == 'geo-ghci[bot]')
3939
- name: Auto reviews Renovate updates
40-
uses: actions/github-script@v9
40+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
4141
with:
4242
script: |-
4343
github.rest.pulls.createReview({

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ repos:
5252
- tag_publish/schema.json
5353
- config.md
5454
- repo: https://github.com/sbrunner/hooks
55-
rev: 1.6.1
55+
rev: 1.8.0
5656
hooks:
5757
- id: copyright
5858
- id: poetry2-lock
@@ -61,8 +61,8 @@ repos:
6161
- id: canonicalize
6262
- id: prospector-to-ruff
6363
additional_dependencies:
64-
- prospector-profile-duplicated==1.11.0 # pypi
65-
- prospector-profile-utils==1.26.5 # pypi
64+
- prospector-profile-duplicated==1.12.0 # pypi
65+
- prospector-profile-utils==1.27.0 # pypi
6666
args:
6767
- --test=utils:tests
6868
- repo: https://github.com/codespell-project/codespell
@@ -99,7 +99,7 @@ repos:
9999
hooks:
100100
- id: ripsecrets
101101
- repo: https://github.com/prospector-dev/prospector
102-
rev: v1.17.3
102+
rev: v1.19.1
103103
hooks:
104104
- id: prospector
105105
args:
@@ -108,9 +108,9 @@ repos:
108108
- --output-format=pylint
109109
- --profile=.prospector.yaml
110110
additional_dependencies:
111-
- prospector-profile-duplicated==1.11.0 # pypi
112-
- prospector-profile-utils==1.26.5 # pypi
113-
- pylint[spelling]==3.3.9 # pypi
111+
- prospector-profile-duplicated==1.12.0 # pypi
112+
- prospector-profile-utils==1.27.0 # pypi
113+
- pylint[spelling]==4.0.6 # pypi
114114
- mypy==2.3.0 # pypi
115115
- ruff==0.15.21 # pypi
116116
exclude: |-
@@ -129,7 +129,7 @@ repos:
129129
- --profile=utils:tests
130130
- --profile=utils:pre-commit
131131
additional_dependencies:
132-
- prospector-profile-utils==1.26.5 # pypi
132+
- prospector-profile-utils==1.27.0 # pypi
133133
- mypy==2.3.0 # pypi
134134
- ruff==0.15.21 # pypi
135135
- repo: https://github.com/astral-sh/ruff-pre-commit

poetry.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 46 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,3 @@
1-
2-
[build-system]
3-
requires = [
4-
"poetry-core>=1.0.0",
5-
"poetry-dynamic-versioning[plugin]>=0.19.0",
6-
]
7-
build-backend = "poetry.core.masonry.api"
8-
9-
[project]
10-
classifiers = [
11-
'Development Status :: 5 - Production/Stable',
12-
'Environment :: Console',
13-
'Intended Audience :: Developers',
14-
'License :: OSI Approved :: MIT License',
15-
'Operating System :: OS Independent',
16-
'Programming Language :: Python',
17-
'Programming Language :: Python :: 3',
18-
'Programming Language :: Python :: 3.10',
19-
'Programming Language :: Python :: 3.11',
20-
'Programming Language :: Python :: 3.12',
21-
'Programming Language :: Python :: 3.13',
22-
'Typing :: Typed',
23-
]
24-
dynamic = ["version"]
25-
name = "tag-publish"
26-
description = "Tools used to publish Python packages, Docker images and Helm charts for GitHub tag and branch"
27-
readme = "README.md"
28-
keywords = ["ci"]
29-
license = "FreeBSD"
30-
authors = [{name = "Camptocamp", email = "info@camptocamp.com"}]
31-
packages = [{ include = "tag_publish" }]
32-
include = [
33-
"tag_publish/py.typed",
34-
"tag_publish/*.json",
35-
]
36-
requires-python = ">=3.10"
37-
dependencies = ["requests<3,>=2", "twine<7,>=6", "PyYAML<7,>=6", "id<2,>=1", "security-md<2,>=1", "applications-download<2,>=1", "jsonschema-validator-new<1,>=0", "debian-inspector<32,>=31", "multi-repo-automation<2,>=1", "githubkit<1,>=0"]
38-
39-
[project.urls]
40-
repository = "https://github.com/camptocamp/tag-publish"
41-
"Bug Tracker" = "https://github.com/camptocamp/tag-publish/issues"
42-
43-
[project.scripts]
44-
tag-publish = "tag_publish.cli:main"
45-
tag-publish-new = "tag_publish.new:main"
46-
471
[tool.ruff]
482
line-length = 110
493
target-version = "py310"
@@ -80,7 +34,7 @@ multi-repo-automation = "1.7.0"
8034
githubkit = "0.14.3"
8135

8236
[tool.poetry.group.dev.dependencies]
83-
prospector = { version = "1.17.3", extras = ["with_bandit", "with_mypy", "with_pyroma", "with_ruff"] }
37+
prospector = { version = "1.19.1", extras = ["with_bandit", "with_mypy", "with_pyroma", "with_ruff"] }
8438
prospector-profile-duplicated = "1.12.0"
8539
prospector-profile-utils = "1.27.0"
8640
types-requests = "2.33.0.20260712"
@@ -104,3 +58,48 @@ format-jinja = """
10458

10559
[tool.poetry-plugin-tweak-dependencies-version]
10660
default = "major"
61+
62+
[project]
63+
classifiers = [
64+
'Development Status :: 5 - Production/Stable',
65+
'Environment :: Console',
66+
'Intended Audience :: Developers',
67+
'License :: OSI Approved :: MIT License',
68+
'Operating System :: OS Independent',
69+
'Programming Language :: Python',
70+
'Programming Language :: Python :: 3',
71+
'Programming Language :: Python :: 3.10',
72+
'Programming Language :: Python :: 3.11',
73+
'Programming Language :: Python :: 3.12',
74+
'Programming Language :: Python :: 3.13',
75+
'Typing :: Typed',
76+
]
77+
dynamic = ["version"]
78+
name = "tag-publish"
79+
description = "Tools used to publish Python packages, Docker images and Helm charts for GitHub tag and branch"
80+
readme = "README.md"
81+
keywords = ["ci"]
82+
license = "FreeBSD"
83+
authors = [{name = "Camptocamp", email = "info@camptocamp.com"}]
84+
packages = [{ include = "tag_publish" }]
85+
include = [
86+
"tag_publish/py.typed",
87+
"tag_publish/*.json",
88+
]
89+
requires-python = ">=3.10"
90+
dependencies = ["requests<3,>=2", "twine<7,>=6", "PyYAML<7,>=6", "id<2,>=1", "security-md<2,>=1", "applications-download<2,>=1", "jsonschema-validator-new<1,>=0", "debian-inspector<32,>=31", "multi-repo-automation<2,>=1", "githubkit<1,>=0"]
91+
92+
[project.urls]
93+
repository = "https://github.com/camptocamp/tag-publish"
94+
"Bug Tracker" = "https://github.com/camptocamp/tag-publish/issues"
95+
96+
[project.scripts]
97+
tag-publish = "tag_publish.cli:main"
98+
tag-publish-new = "tag_publish.new:main"
99+
100+
[build-system]
101+
requires = [
102+
"poetry-core>=1.0.0",
103+
"poetry-dynamic-versioning[plugin]>=0.19.0",
104+
]
105+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)