Skip to content

Commit 9fe372a

Browse files
derekschrocknejch
authored andcommitted
chore(docs): Fix CHANGELOG tracebacks codeblocks
With v5.1.0 CHANGELOG.md was updated that mangled v1.10.0 triple backtick codeblock Traceback output that made sphinx fail [1] with a non-zero return code. The resulting docs appears to be processes as text after the failing line [2]. While reviewing other backtick codeblocks fix v1.8.0 [3] to the original traceback. [1] https://github.com/python-gitlab/python-gitlab/actions/runs/12060608158/job/33631303063#step:5:204 [2] https://python-gitlab.readthedocs.io/en/v5.1.0/changelog.html#v1-10-0-2019-07-22 [3] https://python-gitlab.readthedocs.io/en/v5.0.0/changelog.html#id258
1 parent 9877520 commit 9fe372a

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

CHANGELOG.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -7596,7 +7596,12 @@ Missing attributes: * merge_requests_author_approval * merge_requests_disable_co
75967596
- **readme**: Fix Docker image reference
75977597
([`b9a40d8`](https://github.com/python-gitlab/python-gitlab/commit/b9a40d822bcff630a4c92c395c134f8c002ed1cb))
75987598

7599-
v1.8.0 is not available. ``` Unable to find image
7599+
v1.8.0 is not available.
7600+
```
7601+
Unable to find image 'registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0' locally
7602+
docker: Error response from daemon: manifest for registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 not found: manifest unknown: manifest unknown.
7603+
```
7604+
76007605
'registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0' locally docker: Error response from
76017606
daemon: manifest for registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 not found: manifest
76027607
unknown: manifest unknown. ```
@@ -7928,9 +7933,12 @@ The integration tests failed because a test called 'decode()' on a string-type v
79287933
GitLabException class handles byte-to-string conversion already in its __init__. This commit
79297934
removes the call to 'decode()' in the test.
79307935

7931-
``` Traceback (most recent call last): File "./tools/python_test_v4.py", line 801, in <module>
7932-
assert 'Retry later' in error_message.decode() AttributeError: 'str' object has no attribute
7933-
'decode' ```
7936+
```
7937+
Traceback (most recent call last):
7938+
File "./tools/python_test_v4.py", line 801, in <module>
7939+
assert 'Retry later' in error_message.decode()
7940+
AttributeError: 'str' object has no attribute 'decode'
7941+
```
79347942

79357943
- Handle empty 'Retry-After' header from GitLab
79367944
([`7a3724f`](https://github.com/python-gitlab/python-gitlab/commit/7a3724f3fca93b4f55aed5132cf46d3718c4f594))

0 commit comments

Comments
 (0)