freebsd-ports/devel/py-python-gitlab/files/patch-CHANGELOG.md
Derek Schrock 6c66c743c0 devel/py-python-gitlab: Update to 5.1.0
Add GRAPHQL to default option and remove GRAPHQL_BROKEN.
Use DISTNAME= instead of ?=.
Patch CHANGELOG.md to better format.

Changelog:
https://github.com/python-gitlab/python-gitlab/releases/tag/v5.1.0

PR:		283033
Approved by:	submitter is maintainer
2024-11-30 21:34:06 +01:00

1.6 KiB

--- CHANGELOG.md.orig 2024-11-29 01:52:15 UTC +++ CHANGELOG.md @@ -7596,7 +7596,12 @@ - readme: Fix Docker image reference

  • readme: Fix Docker image reference (b9a40d8)

-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 'de 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

  • 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
  •  assert 'Retry later' in error_message.decode()
    
  • AttributeError: 'str' object has no attribute 'decode'
  • 
    
  • Handle empty 'Retry-After' header from GitLab (7a3724f)