Open thazhemadam opened 7 months ago
i think i'm seeing the same issue
I'm not at all familiar with the code here, but it looks like TagBot does try to release all the possible versions it can find: https://github.com/JuliaRegistries/TagBot/blob/d15ddfa21e0b7081e0d1b08c952ae8c260337722/tagbot/action/__main__.py#L92-L96
In the included stacktrace I see
TypeError: request() got an unexpected keyword argument 'chunked'
Googling that leads me to https://github.com/docker/docker-py/issues/3113, and I think we are using docker-py. From the last comment https://github.com/docker/docker-py/issues/3113#issuecomment-1918468897, maybe we just need to update our dependencies?
I'm getting the same error.
TagBot seems to be unable to create GitHub releases when there are multiple releases that need to be made.
Noticed in SciMLSensitivity. SciMLSensitivity's TagBot setup was broken for a while, due to which a few git tags were not automatically created, and the subsequent GitHub Releases were not published.
Running the TagBot workflow, with a
lookback
from (approximately) the last time a GitHub release was made^1, throws an error while trying to create the GitHub release. The corresponding git tag, however, gets created.Error stacktrace
```python Processing version v7.49.0 (aa07de7ffad1000011b83204f7054b2eb6113a8c) Generating changelog for version v7.49.0 (aa07de7ffad1000011b83204f7054b2eb6113a8c) Creating release v7.49.0 at aa07de7ffad1000011b83204f7054b2eb6113a8c {'server': 'GitHub.com', 'date': 'Thu, 18 Jan 2024 10:59:59 GMT', 'content-type': 'application/json; charset=utf-8', 'transfer-encoding': 'chunked', 'x-github-media-type': 'github.v3; format=json', 'x-accepted-github-permissions': 'contents=write; contents=write,workflows=write', 'x-github-api-version-selected': '2022-11-28', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '196', 'x-ratelimit-reset': '1705576468', 'x-ratelimit-used': '804', 'x-ratelimit-resource': 'core', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', 'access-control-allow-origin': '*', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'x-frame-options': 'deny', 'x-content-type-options': 'nosniff', 'x-xss-protection': '0', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', 'content-security-policy': "default-src 'none'", 'vary': 'Accept-Encoding, Accept, X-Requested-With', 'content-encoding': 'gzip', 'x-github-request-id': '5000:137E:C1BAE3:19273D6:65A904AF'} Error: GitHub returned a 403 permissions-related error. Please check that your ssh key and TagBot permissions are up to date https://github.com/JuliaRegistries/TagBot#setup Traceback (most recent call last): File "/root/tagbot/action/__main__.py", line 96, inHowever, triggering the same workflow, with the
lookback
adjusted to include only the latest releasev7.52.0
, runs successfully^2, with the tag and release being created as expected.