Commit 9fe372a8 authored by Derek Schrock's avatar Derek Schrock Committed by Nejc Habjan
Browse files

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
parent 9877520f
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -7596,7 +7596,12 @@ Missing attributes: * merge_requests_author_approval * merge_requests_disable_co
- **readme**: Fix Docker image reference
  ([`b9a40d8`](https://github.com/python-gitlab/python-gitlab/commit/b9a40d822bcff630a4c92c395c134f8c002ed1cb))

v1.8.0 is not available. ``` Unable to find image
  v1.8.0 is not available.
  ```
  Unable to find image 'registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0' locally
  docker: Error response from daemon: manifest for registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 not found: manifest unknown: manifest unknown.
  ```

  'registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0' locally docker: Error response from
  daemon: manifest for registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 not found: manifest
  unknown: manifest unknown. ```
@@ -7928,9 +7933,12 @@ The integration tests failed because a test called 'decode()' on a string-type v
  GitLabException class handles byte-to-string conversion already in its __init__. This commit
  removes the call to 'decode()' in the test.

``` Traceback (most recent call last): File "./tools/python_test_v4.py", line 801, in <module>
  assert 'Retry later' in error_message.decode() AttributeError: 'str' object has no attribute
  'decode' ```
  ```
  Traceback (most recent call last):
    File "./tools/python_test_v4.py", line 801, in <module>
      assert 'Retry later' in error_message.decode()
  AttributeError: 'str' object has no attribute 'decode'
  ```

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