Skip to content

Commit c3dd3dc

Browse files
authored
Merge pull request #80 from frequenz-floss/dependabot/pip/repo-config-e54dc334e8
chore(deps-dev): bump the repo-config group with 2 updates
2 parents a85bb93 + 18b60ff commit c3dd3dc

6 files changed

Lines changed: 21 additions & 24 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
arch:
32-
- amd64
33-
- arm
34-
os:
31+
platform:
3532
- ubuntu-24.04
33+
- ubuntu-24.04-arm
3634
python:
3735
- "3.11"
3836
- "3.12"
@@ -41,7 +39,7 @@ jobs:
4139
# that uses the same venv to run multiple linting sessions
4240
- "ci_checks_max"
4341
- "pytest_min"
44-
runs-on: ${{ matrix.os }}${{ matrix.arch != 'amd64' && format('-{0}', matrix.arch) || '' }}
42+
runs-on: ${{ matrix.platform }}
4543

4644
steps:
4745
- name: Run nox
@@ -60,7 +58,7 @@ jobs:
6058
needs: ["nox"]
6159
# We skip this job only if nox was also skipped
6260
if: always() && needs.nox.result != 'skipped'
63-
runs-on: ubuntu-24.04
61+
runs-on: ubuntu-slim
6462
env:
6563
DEPS_RESULT: ${{ needs.nox.result }}
6664
steps:
@@ -105,15 +103,13 @@ jobs:
105103
strategy:
106104
fail-fast: false
107105
matrix:
108-
arch:
109-
- amd64
110-
- arm
111-
os:
106+
platform:
112107
- ubuntu-24.04
108+
- ubuntu-24.04-arm
113109
python:
114110
- "3.11"
115111
- "3.12"
116-
runs-on: ${{ matrix.os }}${{ matrix.arch != 'amd64' && format('-{0}', matrix.arch) || '' }}
112+
runs-on: ${{ matrix.platform }}
117113

118114
steps:
119115
- name: Setup Git
@@ -161,7 +157,7 @@ jobs:
161157
needs: ["test-installation"]
162158
# We skip this job only if test-installation was also skipped
163159
if: always() && needs.test-installation.result != 'skipped'
164-
runs-on: ubuntu-24.04
160+
runs-on: ubuntu-slim
165161
env:
166162
DEPS_RESULT: ${{ needs.test-installation.result }}
167163
steps:
@@ -276,7 +272,7 @@ jobs:
276272
# discussions to create the release announcement in the discussion forums
277273
contents: write
278274
discussions: write
279-
runs-on: ubuntu-24.04
275+
runs-on: ubuntu-slim
280276
steps:
281277
- name: Download distribution files
282278
uses: actions/download-artifact@v7

.github/workflows/dco-merge-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
DCO:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-slim
99
if: ${{ github.actor != 'dependabot[bot]' }}
1010
steps:
1111
- run: echo "This DCO job runs on merge_queue event and doesn't check PR contents"

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
permissions:
88
contents: read
99
pull-requests: write
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-slim
1111
steps:
1212
- name: Labeler
1313
# XXX: !!! SECURITY WARNING !!!

.github/workflows/release-notes-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
check-release-notes:
1818
name: Check release notes are updated
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-slim
2020
steps:
2121
- name: Check for a release notes update
2222
if: github.event_name == 'pull_request'

mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ plugins:
9999
default_handler: python
100100
handlers:
101101
python:
102+
paths: ["src"]
102103
options:
103-
paths: ["src"]
104104
docstring_section_style: spacy
105105
inherited_members: true
106106
merge_init_into_class: false
@@ -112,7 +112,7 @@ plugins:
112112
show_source: true
113113
show_symbol_type_toc: true
114114
signature_crossrefs: true
115-
import:
115+
inventories:
116116
# See https://mkdocstrings.github.io/python/usage/#import for details
117117
- https://docs.python.org/3/objects.inv
118118
- https://typing-extensions.readthedocs.io/en/stable/objects.inv

pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
requires = [
66
"setuptools == 80.9.0",
77
"setuptools_scm[toml] == 9.2.2",
8-
"frequenz-repo-config[lib] == 0.13.6",
8+
"frequenz-repo-config[lib] == 0.16.0",
99
]
1010
build-backend = "setuptools.build_meta"
1111

1212
[project]
1313
name = "frequenz-client-assets"
1414
description = "Assets API client for Python"
1515
readme = "README.md"
16-
license = { text = "MIT" }
16+
license = "MIT"
17+
license-files = ["LICENSE"]
1718
keywords = [
1819
"frequenz",
1920
"python",
@@ -28,7 +29,6 @@ keywords = [
2829
classifiers = [
2930
"Development Status :: 3 - Alpha",
3031
"Intended Audience :: Developers",
31-
"License :: OSI Approved :: MIT License",
3232
"Programming Language :: Python :: 3",
3333
"Programming Language :: Python :: 3 :: Only",
3434
"Topic :: Software Development :: Libraries",
@@ -56,6 +56,7 @@ email = "floss@frequenz.com"
5656
cli = ["asyncclick == 8.3.0.4"]
5757
dev-flake8 = [
5858
"flake8 == 7.3.0",
59+
"flake8-datetimez == 20.10.0",
5960
"flake8-docstrings == 1.7.0",
6061
"flake8-pyproject == 1.2.4", # For reading the flake8 config from pyproject.toml
6162
"pydoclint == 0.7.6",
@@ -72,7 +73,7 @@ dev-mkdocs = [
7273
"mkdocs-material == 9.7.5",
7374
"mkdocstrings[python] == 1.0.3",
7475
"mkdocstrings-python == 1.18.2",
75-
"frequenz-repo-config[lib] == 0.13.6",
76+
"frequenz-repo-config[lib] == 0.16.0",
7677
]
7778
dev-mypy = [
7879
"mypy == 1.19.1",
@@ -82,7 +83,7 @@ dev-mypy = [
8283
# For checking the noxfile, docs/ script, and tests
8384
"frequenz-client-assets[dev-mkdocs,dev-noxfile,dev-pytest,cli]",
8485
]
85-
dev-noxfile = ["nox == 2025.5.1", "frequenz-repo-config[lib] == 0.13.6"]
86+
dev-noxfile = ["nox == 2025.5.1", "frequenz-repo-config[lib] == 0.16.0"]
8687
dev-pylint = [
8788
# dev-pytest already defines a dependency to pylint because of the examples
8889
# For checking the noxfile, docs/ script, and tests
@@ -91,7 +92,7 @@ dev-pylint = [
9192
dev-pytest = [
9293
"pytest == 8.4.2",
9394
"pylint == 3.3.8", # We need this to check for the examples
94-
"frequenz-repo-config[extra-lint-examples] == 0.13.6",
95+
"frequenz-repo-config[extra-lint-examples] == 0.16.0",
9596
"pytest-mock == 3.15.1",
9697
"pytest-asyncio == 1.2.0",
9798
"async-solipsism == 0.8",

0 commit comments

Comments
 (0)