Skip to content

Commit 73bc87c

Browse files
Upgrade Spinx & Sphinx-Needs & Bazel versions (#458)
Upgrading Sphinx to 9+ Upgrading Sphinx-Needs to 8.0 Upgrade bazel to be in line with ref-integration upgrading to 8.4.2
1 parent f45ef92 commit 73bc87c

6 files changed

Lines changed: 28 additions & 57 deletions

File tree

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.3.0
1+
8.4.2

MODULE.bazel.lock

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

docs/internals/requirements/requirements.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,15 @@ Versioning
230230
.. tool_req:: Versioning: enforce attribute
231231
:id: tool_req__docs_common_attr_version
232232
:tags: Common Attributes
233-
:implemented: NO
233+
:implemented: PARTIAL
234234
:parent_covered: NO: to be checked after demo
235235
:satisfies: gd_req__req_attr_version
236236

237237
Docs-As-Code shall enable and enforce a versioning attribute for all needs.
238238

239239
.. note::
240-
Exact nature to be decided, it could e.g. be a number, a string, a semantic version, a date or a hash.
240+
Current implementation is handled mainly by sphinx-needs.
241+
In our enviroment it supports whole numbers e.g. (1,2,10,34)
241242

242243

243244

src/helper_lib/test_helper_lib.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import subprocess
1515
import tempfile
1616
from pathlib import Path
17+
from typing import Any
1718

1819
import pytest
1920

@@ -29,7 +30,7 @@
2930
class _FakeConfig:
3031
"""Minimal stand-in for sphinx.config.Config."""
3132

32-
def __init__(self, raw: dict):
33+
def __init__(self, raw: dict[Any,Any]):
3334
self._raw_config = raw
3435

3536

src/requirements.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Sphinx>=8.1.3,<9
1+
Sphinx>=9.0
22

3-
# At least 7.0.0 for Sphinx-Needs 7 support
4-
sphinx-needs>=7.0.0,<8
3+
# 8.0.0 needed for Sphinx-Needs versioning introduction
4+
sphinx-needs==8.0.0
55

66
# Due to needed bugfix in 0.3.1
77
sphinx-collections>=0.3.1

src/requirements.txt

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,10 +1198,6 @@ rich==14.3.2 \
11981198
roman-numerals==4.1.0 \
11991199
--hash=sha256:1af8b147eb1405d5839e78aeb93131690495fe9da5c91856cb33ad55a7f1e5b2 \
12001200
--hash=sha256:647ba99caddc2cc1e55a51e4360689115551bf4476d90e8162cf8c345fe233c7
1201-
# via roman-numerals-py
1202-
roman-numerals-py==4.1.0 \
1203-
--hash=sha256:553114c1167141c1283a51743759723ecd05604a1b6b507225e91dc1a6df0780 \
1204-
--hash=sha256:f5d7b2b4ca52dd855ef7ab8eb3590f428c0b1ea480736ce32b01fef2a5f8daf9
12051201
# via sphinx
12061202
ruamel-yaml==0.19.1 \
12071203
--hash=sha256:27592957fedf6e0b62f281e96effd28043345e0e66001f97683aa9a40c667c93 \
@@ -1223,9 +1219,9 @@ soupsieve==2.8.3 \
12231219
--hash=sha256:3267f1eeea4251fb42728b6dfb746edc9acaffc4a45b27e19450b676586e8349 \
12241220
--hash=sha256:ed64f2ba4eebeab06cc4962affce381647455978ffc1e36bb79a545b91f45a95
12251221
# via beautifulsoup4
1226-
sphinx==8.2.3 \
1227-
--hash=sha256:398ad29dee7f63a75888314e9424d40f52ce5a6a87ae88e7071e80af296ec348 \
1228-
--hash=sha256:4405915165f13521d875a8c29c8970800a0141c14cc5416a38feca4ea5d9b9c3
1222+
sphinx==9.1.0 \
1223+
--hash=sha256:7741722357dd75f8190766926071fed3bdc211c74dd2d7d4df5404da95930ddb \
1224+
--hash=sha256:c84fdd4e782504495fe4f2c0b3413d6c2bf388589bb352d439b2a3bb99991978
12291225
# via
12301226
# -r src/requirements.in
12311227
# esbonio
@@ -1256,9 +1252,9 @@ sphinx-design==0.7.0 \
12561252
--hash=sha256:d2a3f5b19c24b916adb52f97c5f00efab4009ca337812001109084a740ec9b7a \
12571253
--hash=sha256:f82bf179951d58f55dca78ab3706aeafa496b741a91b1911d371441127d64282
12581254
# via -r src/requirements.in
1259-
sphinx-needs[plotting]==7.0.0 \
1260-
--hash=sha256:3fa665181c323d0b76f6de0d8565f925f36933e8af4c253d34127755eff07371 \
1261-
--hash=sha256:7ea120a1127cc532ea4610e814c26824b05d296ce8c2f6d046d5f6ed64d85d0f
1255+
sphinx-needs[plotting]==8.0.0 \
1256+
--hash=sha256:540c380c074d4088a557ea353e91513bfc1cb7712b10925c13ac9e5ebb7be091 \
1257+
--hash=sha256:c4336ee0e3c949eff9eb11a14910f7b6b68cb8284d731cfddf97694037337674
12621258
# via
12631259
# -r src/requirements.in
12641260
# needs-config-writer

0 commit comments

Comments
 (0)