switched to collections.abc in favor of typing due to deprecation - #24
Merged
Annotations
1 error, 1 warning, and 4 notices
|
cov_comment
Critical error. This error possibly occurred because the permissions of the workflow are set incorrectly. You can see the correct setting of permissions here: https://github.com/py-cov-action/python-coverage-comment-action#basic-usage
Otherwise please look for open issues or open one in https://github.com/py-cov-action/python-coverage-comment-action/
Traceback (most recent call last):
File "/workdir/coverage_comment/github_client.py", line 207, in http
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '404 Not Found' for url 'https://api.github.com/repos/nucccc/sqlmodelgen/compare/main...ref/removing_typing_deprecated'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workdir/coverage_comment/main.py", line 46, in main
exit_code = action(
config=config,
...<2 lines>...
git=git,
)
File "/workdir/coverage_comment/main.py", line 101, in action
return process_pr(
config=config,
gh=gh,
repo_info=repo_info,
)
File "/workdir/coverage_comment/main.py", line 139, in process_pr
diff = github.get_branch_diff(
github=gh,
...<2 lines>...
head_branch=config.GITHUB_BRANCH_NAME,
)
File "/workdir/coverage_comment/github.py", line 323, in get_branch_diff
.get(headers={"Accept": "application/vnd.github.v3.diff"}, text=True)
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workdir/coverage_comment/github_client.py", line 70, in __call__
return self.gh.http(
~~~~~~~~~~~~^
method=self.method,
^^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "/workdir/coverage_comment/github_client.py", line 214, in http
raise cls(str(contents)) from exc
coverage_comment.github_client.NotFound: {"message":"Not Found","documentation_url":"https://docs.github.com/rest/commits/commits#compare-two-commits","status":"404"}
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
cov_comment
HTTP Request: GET https://api.github.com/repos/nucccc/sqlmodelgen/compare/main...ref/removing_typing_deprecated "HTTP/1.1 404 Not Found"
|
|
cov_comment
Generating comment for PR
|
|
cov_comment
HTTP Request: GET https://api.github.com/repos/nucccc/sqlmodelgen "HTTP/1.1 200 OK"
|
|
cov_comment
Starting action
|
background
wait
wait-all
cancel
parallel
Loading