We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seeing the following message from a release job:
https://github.com/python-gitlab/python-gitlab/actions/runs/15432243188
Warning: This action has been DEPRECATED. Please use the 'python-semantic-release/publish-action' instead.
And some errors about being unable to upload with 403 errors.
2025-06-04T02:38:34.9140811Z https://pypi.org/project/python-gitlab/6.0.0/ 2025-06-04T02:38:35.0401425Z ##[group]Run python-semantic-release/upload-to-gh-release@0a92b5d7ebfc15a84f9801ebd1bf706343d43711 2025-06-04T02:38:35.0401898Z with: 2025-06-04T02:38:35.0402425Z github_token: *** 2025-06-04T02:38:35.0402628Z root_options: -v 2025-06-04T02:38:35.0402809Z directory: . 2025-06-04T02:38:35.0402983Z ##[endgroup] 2025-06-04T02:38:35.0411310Z ##[command]/usr/bin/docker run --name c93636fd119f5944c86a7dc7875585608e9_43a6ec --label 306c93 --workdir /github/workspace --rm -e "INPUT_GITHUB_TOKEN" -e "INPUT_ROOT_OPTIONS" -e "INPUT_DIRECTORY" -e "INPUT_TAG" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/python-gitlab/python-gitlab":"/github/workspace" 306c93:636fd119f5944c86a7dc7875585608e9 2025-06-04T02:38:35.1711497Z ##[warning]This action has been DEPRECATED. Please use the 'python-semantic-release/publish-action' instead. 2025-06-04T02:38:35.1731153Z $> /opt/psr/.venv/bin/semantic-release -v publish 2025-06-04T02:38:35.6041704Z [02:38:35] INFO [semantic_release.cli.util] INFO util.py:79 2025-06-04T02:38:35.6042327Z util.load_raw_config_file: Loading configuration 2025-06-04T02:38:35.6042834Z from pyproject.toml 2025-06-04T02:38:35.6345216Z INFO [semantic_release.cli.config] INFO config.py:414 2025-06-04T02:38:35.6346288Z config.select_branch_options: Using group 2025-06-04T02:38:35.6346741Z 'main' options, as '(main|master)' matches 2025-06-04T02:38:35.6347079Z 'main' 2025-06-04T02:38:35.6391014Z INFO [semantic_release.version.algorithm] INFO algorithm.py:58 2025-06-04T02:38:35.6391453Z algorithm.tags_and_versions: found 69 2025-06-04T02:38:35.6391803Z previous tags 2025-06-04T02:38:35.6408417Z INFO [semantic_release.cli.commands.publish] INFO publish.py:39 2025-06-04T02:38:35.6409132Z publish.publish_distributions: Uploading 2025-06-04T02:38:35.6409611Z distributions to release 2025-06-04T02:38:36.6571284Z [02:38:36] ERROR [semantic_release.hvcs.github] ERROR github.py:475 2025-06-04T02:38:36.6572723Z github.upload_dists: error uploading asset 2025-06-04T02:38:36.6573681Z dist/python_gitlab-6.0.0-py3-none-any.whl.publ 2025-06-04T02:38:36.6574683Z ish.attestation 2025-06-04T02:38:36.6575398Z ╭──── Traceback (most recent call last) ─────╮ 2025-06-04T02:38:36.6576203Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6576739Z │ s/semantic_release/hvcs/github.py:472 in │ 2025-06-04T02:38:36.6577210Z │ upload_dists │ 2025-06-04T02:38:36.6577620Z │ │ 2025-06-04T02:38:36.6578021Z │ 469 │ │ │ f for f in glob.glob(dis │ 2025-06-04T02:38:36.6578439Z │ 470 │ │ ): │ 2025-06-04T02:38:36.6578830Z │ 471 │ │ │ try: │ 2025-06-04T02:38:36.6579260Z │ ❱ 472 │ │ │ │ self.upload_release_ │ 2025-06-04T02:38:36.6579670Z │ 473 │ │ │ │ n_succeeded += 1 │ 2025-06-04T02:38:36.6580083Z │ 474 │ │ │ except HTTPError: # noq │ 2025-06-04T02:38:36.6580497Z │ 475 │ │ │ │ log.exception("error │ 2025-06-04T02:38:36.6580892Z │ │ 2025-06-04T02:38:36.6581362Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6581854Z │ s/semantic_release/helpers.py:53 in │ 2025-06-04T02:38:36.6582318Z │ _wrapper │ 2025-06-04T02:38:36.6582714Z │ │ 2025-06-04T02:38:36.6583100Z │ 50 │ │ │ ) │ 2025-06-04T02:38:36.6583486Z │ 51 │ │ │ │ 2025-06-04T02:38:36.6583874Z │ 52 │ │ │ # Call function │ 2025-06-04T02:38:36.6584223Z │ ❱ 53 │ │ │ result = func(*args, **k │ 2025-06-04T02:38:36.6584562Z │ 54 │ │ │ │ 2025-06-04T02:38:36.6584897Z │ 55 │ │ │ # Log result │ 2025-06-04T02:38:36.6585238Z │ 56 │ │ │ logger.debug("%s -> %s", │ 2025-06-04T02:38:36.6585557Z │ │ 2025-06-04T02:38:36.6586163Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6586581Z │ s/semantic_release/hvcs/github.py:431 in │ 2025-06-04T02:38:36.6586985Z │ upload_release_asset │ 2025-06-04T02:38:36.6587325Z │ │ 2025-06-04T02:38:36.6587638Z │ 428 │ │ ) │ 2025-06-04T02:38:36.6587985Z │ 429 │ │ │ 2025-06-04T02:38:36.6588320Z │ 430 │ │ with open(file, "rb") as dat │ 2025-06-04T02:38:36.6588670Z │ ❱ 431 │ │ │ response = self.session. │ 2025-06-04T02:38:36.6589009Z │ 432 │ │ │ │ url, │ 2025-06-04T02:38:36.6589525Z │ 433 │ │ │ │ params={"name": os.p │ 2025-06-04T02:38:36.6589877Z │ 434 │ │ │ │ headers={ │ 2025-06-04T02:38:36.6590324Z │ │ 2025-06-04T02:38:36.6590691Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6591099Z │ s/requests/sessions.py:637 in post │ 2025-06-04T02:38:36.6591453Z │ │ 2025-06-04T02:38:36.6591784Z │ 634 │ │ :rtype: requests.Response │ 2025-06-04T02:38:36.6592126Z │ 635 │ │ """ │ 2025-06-04T02:38:36.6592444Z │ 636 │ │ │ 2025-06-04T02:38:36.6592796Z │ ❱ 637 │ │ return self.request("POST", │ 2025-06-04T02:38:36.6593130Z │ 638 │ │ 2025-06-04T02:38:36.6593481Z │ 639 │ def put(self, url, data=None, ** │ 2025-06-04T02:38:36.6593848Z │ 640 │ │ r"""Sends a PUT request. Ret │ 2025-06-04T02:38:36.6594178Z │ │ 2025-06-04T02:38:36.6594533Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6594930Z │ s/requests/sessions.py:589 in request │ 2025-06-04T02:38:36.6595291Z │ │ 2025-06-04T02:38:36.6595622Z │ 586 │ │ │ "allow_redirects": allow │ 2025-06-04T02:38:36.6596077Z │ 587 │ │ } │ 2025-06-04T02:38:36.6596433Z │ 588 │ │ send_kwargs.update(settings) │ 2025-06-04T02:38:36.6596789Z │ ❱ 589 │ │ resp = self.send(prep, **sen │ 2025-06-04T02:38:36.6597137Z │ 590 │ │ │ 2025-06-04T02:38:36.6597474Z │ 591 │ │ return resp │ 2025-06-04T02:38:36.6597808Z │ 592 │ 2025-06-04T02:38:36.6598113Z │ │ 2025-06-04T02:38:36.6598471Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6598874Z │ s/requests/sessions.py:710 in send │ 2025-06-04T02:38:36.6599227Z │ │ 2025-06-04T02:38:36.6599699Z │ 707 │ │ r.elapsed = timedelta(second │ 2025-06-04T02:38:36.6600033Z │ 708 │ │ │ 2025-06-04T02:38:36.6600377Z │ 709 │ │ # Response manipulation hook │ 2025-06-04T02:38:36.6600734Z │ ❱ 710 │ │ r = dispatch_hook("response" │ 2025-06-04T02:38:36.6601069Z │ 711 │ │ │ 2025-06-04T02:38:36.6601396Z │ 712 │ │ # Persist cookies │ 2025-06-04T02:38:36.6601742Z │ 713 │ │ if r.history: │ 2025-06-04T02:38:36.6602064Z │ │ 2025-06-04T02:38:36.6602419Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6602841Z │ s/requests/hooks.py:30 in dispatch_hook │ 2025-06-04T02:38:36.6603193Z │ │ 2025-06-04T02:38:36.6603638Z │ 27 │ │ if hasattr(hooks, "__call__") │ 2025-06-04T02:38:36.6603984Z │ 28 │ │ │ hooks = [hooks] │ 2025-06-04T02:38:36.6604320Z │ 29 │ │ for hook in hooks: │ 2025-06-04T02:38:36.6604662Z │ ❱ 30 │ │ │ _hook_data = hook(hook_da │ 2025-06-04T02:38:36.6604996Z │ 31 │ │ │ if _hook_data is not None │ 2025-06-04T02:38:36.6605328Z │ 32 │ │ │ │ hook_data = _hook_dat │ 2025-06-04T02:38:36.6605669Z │ 33 │ return hook_data │ 2025-06-04T02:38:36.6606100Z │ │ 2025-06-04T02:38:36.6606471Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6606885Z │ s/semantic_release/hvcs/util.py:36 in │ 2025-06-04T02:38:36.6607256Z │ <lambda> │ 2025-06-04T02:38:36.6607577Z │ │ 2025-06-04T02:38:36.6607888Z │ 33 │ """ │ 2025-06-04T02:38:36.6608218Z │ 34 │ session = Session() │ 2025-06-04T02:38:36.6608571Z │ 35 │ if raise_for_status: │ 2025-06-04T02:38:36.6608926Z │ ❱ 36 │ │ session.hooks = {"response": │ 2025-06-04T02:38:36.6609260Z │ 37 │ │ 2025-06-04T02:38:36.6609594Z │ 38 │ if retry: │ 2025-06-04T02:38:36.6609936Z │ 39 │ │ if isinstance(retry, bool): │ 2025-06-04T02:38:36.6610275Z │ │ 2025-06-04T02:38:36.6610630Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:36.6611031Z │ s/requests/models.py:1024 in │ 2025-06-04T02:38:36.6611411Z │ raise_for_status │ 2025-06-04T02:38:36.6611751Z │ │ 2025-06-04T02:38:36.6612070Z │ 1021 │ │ │ ) │ 2025-06-04T02:38:36.6612394Z │ 1022 │ │ │ 2025-06-04T02:38:36.6612865Z │ 1023 │ │ if http_error_msg: │ 2025-06-04T02:38:36.6613212Z │ ❱ 1024 │ │ │ raise HTTPError(http_er │ 2025-06-04T02:38:36.6613559Z │ 1025 │ │ 2025-06-04T02:38:36.6613905Z │ 1026 │ def close(self): │ 2025-06-04T02:38:36.6614260Z │ 1027 │ │ """Releases the connection │ 2025-06-04T02:38:36.6614618Z ╰────────────────────────────────────────────╯ 2025-06-04T02:38:36.6614933Z HTTPError: 403 Client Error: Forbidden for 2025-06-04T02:38:36.6615240Z url: 2025-06-04T02:38:36.6615580Z https://uploads.github.com/repos/python-gitlab 2025-06-04T02:38:36.6616166Z /python-gitlab/releases/222933862/assets?name= 2025-06-04T02:38:36.6616562Z python_gitlab-6.0.0-py3-none-any.whl.publish.a 2025-06-04T02:38:36.6617036Z ttestation 2025-06-04T02:38:37.4154537Z [02:38:37] ERROR [semantic_release.hvcs.github] ERROR github.py:475 2025-06-04T02:38:37.4156242Z github.upload_dists: error uploading asset 2025-06-04T02:38:37.4157407Z dist/python_gitlab-6.0.0-py3-none-any.whl 2025-06-04T02:38:37.4158406Z ╭──── Traceback (most recent call last) ─────╮ 2025-06-04T02:38:37.4158929Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4159448Z │ s/semantic_release/hvcs/github.py:472 in │ 2025-06-04T02:38:37.4159932Z │ upload_dists │ 2025-06-04T02:38:37.4160395Z │ │ 2025-06-04T02:38:37.4160809Z │ 469 │ │ │ f for f in glob.glob(dis │ 2025-06-04T02:38:37.4161240Z │ 470 │ │ ): │ 2025-06-04T02:38:37.4161648Z │ 471 │ │ │ try: │ 2025-06-04T02:38:37.4162067Z │ ❱ 472 │ │ │ │ self.upload_release_ │ 2025-06-04T02:38:37.4162495Z │ 473 │ │ │ │ n_succeeded += 1 │ 2025-06-04T02:38:37.4162920Z │ 474 │ │ │ except HTTPError: # noq │ 2025-06-04T02:38:37.4163351Z │ 475 │ │ │ │ log.exception("error │ 2025-06-04T02:38:37.4163756Z │ │ 2025-06-04T02:38:37.4164215Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4164721Z │ s/semantic_release/helpers.py:53 in │ 2025-06-04T02:38:37.4165203Z │ _wrapper │ 2025-06-04T02:38:37.4165615Z │ │ 2025-06-04T02:38:37.4166224Z │ 50 │ │ │ ) │ 2025-06-04T02:38:37.4166626Z │ 51 │ │ │ │ 2025-06-04T02:38:37.4167029Z │ 52 │ │ │ # Call function │ 2025-06-04T02:38:37.4167444Z │ ❱ 53 │ │ │ result = func(*args, **k │ 2025-06-04T02:38:37.4167867Z │ 54 │ │ │ │ 2025-06-04T02:38:37.4168260Z │ 55 │ │ │ # Log result │ 2025-06-04T02:38:37.4168858Z │ 56 │ │ │ logger.debug("%s -> %s", │ 2025-06-04T02:38:37.4169372Z │ │ 2025-06-04T02:38:37.4169775Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4170210Z │ s/semantic_release/hvcs/github.py:431 in │ 2025-06-04T02:38:37.4170618Z │ upload_release_asset │ 2025-06-04T02:38:37.4170976Z │ │ 2025-06-04T02:38:37.4171310Z │ 428 │ │ ) │ 2025-06-04T02:38:37.4171649Z │ 429 │ │ │ 2025-06-04T02:38:37.4172004Z │ 430 │ │ with open(file, "rb") as dat │ 2025-06-04T02:38:37.4172376Z │ ❱ 431 │ │ │ response = self.session. │ 2025-06-04T02:38:37.4172736Z │ 432 │ │ │ │ url, │ 2025-06-04T02:38:37.4173101Z │ 433 │ │ │ │ params={"name": os.p │ 2025-06-04T02:38:37.4173462Z │ 434 │ │ │ │ headers={ │ 2025-06-04T02:38:37.4173796Z │ │ 2025-06-04T02:38:37.4174175Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4174611Z │ s/requests/sessions.py:637 in post │ 2025-06-04T02:38:37.4174986Z │ │ 2025-06-04T02:38:37.4175346Z │ 634 │ │ :rtype: requests.Response │ 2025-06-04T02:38:37.4175721Z │ 635 │ │ """ │ 2025-06-04T02:38:37.4176170Z │ 636 │ │ │ 2025-06-04T02:38:37.4176540Z │ ❱ 637 │ │ return self.request("POST", │ 2025-06-04T02:38:37.4176895Z │ 638 │ │ 2025-06-04T02:38:37.4177252Z │ 639 │ def put(self, url, data=None, ** │ 2025-06-04T02:38:37.4177621Z │ 640 │ │ r"""Sends a PUT request. Ret │ 2025-06-04T02:38:37.4177972Z │ │ 2025-06-04T02:38:37.4178345Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4178766Z │ s/requests/sessions.py:589 in request │ 2025-06-04T02:38:37.4179152Z │ │ 2025-06-04T02:38:37.4179492Z │ 586 │ │ │ "allow_redirects": allow │ 2025-06-04T02:38:37.4179852Z │ 587 │ │ } │ 2025-06-04T02:38:37.4180215Z │ 588 │ │ send_kwargs.update(settings) │ 2025-06-04T02:38:37.4189758Z │ ❱ 589 │ │ resp = self.send(prep, **sen │ 2025-06-04T02:38:37.4190470Z │ 590 │ │ │ 2025-06-04T02:38:37.4191087Z │ 591 │ │ return resp │ 2025-06-04T02:38:37.4191638Z │ 592 │ 2025-06-04T02:38:37.4191976Z │ │ 2025-06-04T02:38:37.4192387Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4193036Z │ s/requests/sessions.py:710 in send │ 2025-06-04T02:38:37.4193420Z │ │ 2025-06-04T02:38:37.4193906Z │ 707 │ │ r.elapsed = timedelta(second │ 2025-06-04T02:38:37.4194281Z │ 708 │ │ │ 2025-06-04T02:38:37.4194636Z │ 709 │ │ # Response manipulation hook │ 2025-06-04T02:38:37.4195015Z │ ❱ 710 │ │ r = dispatch_hook("response" │ 2025-06-04T02:38:37.4195366Z │ 711 │ │ │ 2025-06-04T02:38:37.4195713Z │ 712 │ │ # Persist cookies │ 2025-06-04T02:38:37.4196388Z │ 713 │ │ if r.history: │ 2025-06-04T02:38:37.4196753Z │ │ 2025-06-04T02:38:37.4197135Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4197578Z │ s/requests/hooks.py:30 in dispatch_hook │ 2025-06-04T02:38:37.4197959Z │ │ 2025-06-04T02:38:37.4198298Z │ 27 │ │ if hasattr(hooks, "__call__") │ 2025-06-04T02:38:37.4198652Z │ 28 │ │ │ hooks = [hooks] │ 2025-06-04T02:38:37.4199003Z │ 29 │ │ for hook in hooks: │ 2025-06-04T02:38:37.4199357Z │ ❱ 30 │ │ │ _hook_data = hook(hook_da │ 2025-06-04T02:38:37.4199712Z │ 31 │ │ │ if _hook_data is not None │ 2025-06-04T02:38:37.4200082Z │ 32 │ │ │ │ hook_data = _hook_dat │ 2025-06-04T02:38:37.4200440Z │ 33 │ return hook_data │ 2025-06-04T02:38:37.4200791Z │ │ 2025-06-04T02:38:37.4201164Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4201582Z │ s/semantic_release/hvcs/util.py:36 in │ 2025-06-04T02:38:37.4201971Z │ <lambda> │ 2025-06-04T02:38:37.4202306Z │ │ 2025-06-04T02:38:37.4202629Z │ 33 │ """ │ 2025-06-04T02:38:37.4202973Z │ 34 │ session = Session() │ 2025-06-04T02:38:37.4203346Z │ 35 │ if raise_for_status: │ 2025-06-04T02:38:37.4203865Z │ ❱ 36 │ │ session.hooks = {"response": │ 2025-06-04T02:38:37.4204221Z │ 37 │ │ 2025-06-04T02:38:37.4204578Z │ 38 │ if retry: │ 2025-06-04T02:38:37.4204940Z │ 39 │ │ if isinstance(retry, bool): │ 2025-06-04T02:38:37.4205275Z │ │ 2025-06-04T02:38:37.4205647Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:37.4206383Z │ s/requests/models.py:1024 in │ 2025-06-04T02:38:37.4206790Z │ raise_for_status │ 2025-06-04T02:38:37.4207138Z │ │ 2025-06-04T02:38:37.4207493Z │ 1021 │ │ │ ) │ 2025-06-04T02:38:37.4207836Z │ 1022 │ │ │ 2025-06-04T02:38:37.4208336Z │ 1023 │ │ if http_error_msg: │ 2025-06-04T02:38:37.4208758Z │ ❱ 1024 │ │ │ raise HTTPError(http_er │ 2025-06-04T02:38:37.4209112Z │ 1025 │ │ 2025-06-04T02:38:37.4209463Z │ 1026 │ def close(self): │ 2025-06-04T02:38:37.4209832Z │ 1027 │ │ """Releases the connection │ 2025-06-04T02:38:37.4210328Z ╰────────────────────────────────────────────╯ 2025-06-04T02:38:37.4210861Z HTTPError: 403 Client Error: Forbidden for 2025-06-04T02:38:37.4211374Z url: 2025-06-04T02:38:37.4211945Z https://uploads.github.com/repos/python-gitlab 2025-06-04T02:38:37.4212624Z /python-gitlab/releases/222933862/assets?name= 2025-06-04T02:38:37.4213266Z python_gitlab-6.0.0-py3-none-any.whl 2025-06-04T02:38:38.2124813Z ERROR [semantic_release.hvcs.github] ERROR github.py:475 2025-06-04T02:38:38.2126605Z github.upload_dists: error uploading asset 2025-06-04T02:38:38.2128098Z dist/python_gitlab-6.0.0.tar.gz.publish.attest 2025-06-04T02:38:38.2128694Z ation 2025-06-04T02:38:38.2129521Z ╭──── Traceback (most recent call last) ─────╮ 2025-06-04T02:38:38.2130213Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2130939Z │ s/semantic_release/hvcs/github.py:472 in │ 2025-06-04T02:38:38.2131609Z │ upload_dists │ 2025-06-04T02:38:38.2132176Z │ │ 2025-06-04T02:38:38.2132741Z │ 469 │ │ │ f for f in glob.glob(dis │ 2025-06-04T02:38:38.2133233Z │ 470 │ │ ): │ 2025-06-04T02:38:38.2133669Z │ 471 │ │ │ try: │ 2025-06-04T02:38:38.2134136Z │ ❱ 472 │ │ │ │ self.upload_release_ │ 2025-06-04T02:38:38.2134599Z │ 473 │ │ │ │ n_succeeded += 1 │ 2025-06-04T02:38:38.2135060Z │ 474 │ │ │ except HTTPError: # noq │ 2025-06-04T02:38:38.2136012Z │ 475 │ │ │ │ log.exception("error │ 2025-06-04T02:38:38.2136492Z │ │ 2025-06-04T02:38:38.2136994Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2137568Z │ s/semantic_release/helpers.py:53 in │ 2025-06-04T02:38:38.2138082Z │ _wrapper │ 2025-06-04T02:38:38.2138525Z │ │ 2025-06-04T02:38:38.2138947Z │ 50 │ │ │ ) │ 2025-06-04T02:38:38.2139370Z │ 51 │ │ │ │ 2025-06-04T02:38:38.2139809Z │ 52 │ │ │ # Call function │ 2025-06-04T02:38:38.2140275Z │ ❱ 53 │ │ │ result = func(*args, **k │ 2025-06-04T02:38:38.2140716Z │ 54 │ │ │ │ 2025-06-04T02:38:38.2141306Z │ 55 │ │ │ # Log result │ 2025-06-04T02:38:38.2141778Z │ 56 │ │ │ logger.debug("%s -> %s", │ 2025-06-04T02:38:38.2142226Z │ │ 2025-06-04T02:38:38.2142715Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2143280Z │ s/semantic_release/hvcs/github.py:431 in │ 2025-06-04T02:38:38.2143713Z │ upload_release_asset │ 2025-06-04T02:38:38.2144077Z │ │ 2025-06-04T02:38:38.2144410Z │ 428 │ │ ) │ 2025-06-04T02:38:38.2144755Z │ 429 │ │ │ 2025-06-04T02:38:38.2145120Z │ 430 │ │ with open(file, "rb") as dat │ 2025-06-04T02:38:38.2145498Z │ ❱ 431 │ │ │ response = self.session. │ 2025-06-04T02:38:38.2145974Z │ 432 │ │ │ │ url, │ 2025-06-04T02:38:38.2146333Z │ 433 │ │ │ │ params={"name": os.p │ 2025-06-04T02:38:38.2146683Z │ 434 │ │ │ │ headers={ │ 2025-06-04T02:38:38.2147021Z │ │ 2025-06-04T02:38:38.2147400Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2147828Z │ s/requests/sessions.py:637 in post │ 2025-06-04T02:38:38.2148204Z │ │ 2025-06-04T02:38:38.2148556Z │ 634 │ │ :rtype: requests.Response │ 2025-06-04T02:38:38.2148923Z │ 635 │ │ """ │ 2025-06-04T02:38:38.2149267Z │ 636 │ │ │ 2025-06-04T02:38:38.2149625Z │ ❱ 637 │ │ return self.request("POST", │ 2025-06-04T02:38:38.2149973Z │ 638 │ │ 2025-06-04T02:38:38.2150341Z │ 639 │ def put(self, url, data=None, ** │ 2025-06-04T02:38:38.2150732Z │ 640 │ │ r"""Sends a PUT request. Ret │ 2025-06-04T02:38:38.2151078Z │ │ 2025-06-04T02:38:38.2151581Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2152003Z │ s/requests/sessions.py:589 in request │ 2025-06-04T02:38:38.2152481Z │ │ 2025-06-04T02:38:38.2152837Z │ 586 │ │ │ "allow_redirects": allow │ 2025-06-04T02:38:38.2153190Z │ 587 │ │ } │ 2025-06-04T02:38:38.2153545Z │ 588 │ │ send_kwargs.update(settings) │ 2025-06-04T02:38:38.2153923Z │ ❱ 589 │ │ resp = self.send(prep, **sen │ 2025-06-04T02:38:38.2154274Z │ 590 │ │ │ 2025-06-04T02:38:38.2154623Z │ 591 │ │ return resp │ 2025-06-04T02:38:38.2154986Z │ 592 │ 2025-06-04T02:38:38.2155311Z │ │ 2025-06-04T02:38:38.2155692Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2156225Z │ s/requests/sessions.py:710 in send │ 2025-06-04T02:38:38.2156596Z │ │ 2025-06-04T02:38:38.2156945Z │ 707 │ │ r.elapsed = timedelta(second │ 2025-06-04T02:38:38.2157306Z │ 708 │ │ │ 2025-06-04T02:38:38.2157663Z │ 709 │ │ # Response manipulation hook │ 2025-06-04T02:38:38.2158040Z │ ❱ 710 │ │ r = dispatch_hook("response" │ 2025-06-04T02:38:38.2158399Z │ 711 │ │ │ 2025-06-04T02:38:38.2158753Z │ 712 │ │ # Persist cookies │ 2025-06-04T02:38:38.2159116Z │ 713 │ │ if r.history: │ 2025-06-04T02:38:38.2159464Z │ │ 2025-06-04T02:38:38.2159837Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2160262Z │ s/requests/hooks.py:30 in dispatch_hook │ 2025-06-04T02:38:38.2160634Z │ │ 2025-06-04T02:38:38.2160983Z │ 27 │ │ if hasattr(hooks, "__call__") │ 2025-06-04T02:38:38.2161348Z │ 28 │ │ │ hooks = [hooks] │ 2025-06-04T02:38:38.2161705Z │ 29 │ │ for hook in hooks: │ 2025-06-04T02:38:38.2162075Z │ ❱ 30 │ │ │ _hook_data = hook(hook_da │ 2025-06-04T02:38:38.2162431Z │ 31 │ │ │ if _hook_data is not None │ 2025-06-04T02:38:38.2162799Z │ 32 │ │ │ │ hook_data = _hook_dat │ 2025-06-04T02:38:38.2163160Z │ 33 │ return hook_data │ 2025-06-04T02:38:38.2163504Z │ │ 2025-06-04T02:38:38.2163875Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2164308Z │ s/semantic_release/hvcs/util.py:36 in │ 2025-06-04T02:38:38.2164699Z │ <lambda> │ 2025-06-04T02:38:38.2165040Z │ │ 2025-06-04T02:38:38.2165524Z │ 33 │ """ │ 2025-06-04T02:38:38.2166088Z │ 34 │ session = Session() │ 2025-06-04T02:38:38.2166602Z │ 35 │ if raise_for_status: │ 2025-06-04T02:38:38.2166983Z │ ❱ 36 │ │ session.hooks = {"response": │ 2025-06-04T02:38:38.2167341Z │ 37 │ │ 2025-06-04T02:38:38.2167677Z │ 38 │ if retry: │ 2025-06-04T02:38:38.2168035Z │ 39 │ │ if isinstance(retry, bool): │ 2025-06-04T02:38:38.2168380Z │ │ 2025-06-04T02:38:38.2168752Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.2169170Z │ s/requests/models.py:1024 in │ 2025-06-04T02:38:38.2169587Z │ raise_for_status │ 2025-06-04T02:38:38.2169942Z │ │ 2025-06-04T02:38:38.2170287Z │ 1021 │ │ │ ) │ 2025-06-04T02:38:38.2170631Z │ 1022 │ │ │ 2025-06-04T02:38:38.2170982Z │ 1023 │ │ if http_error_msg: │ 2025-06-04T02:38:38.2171351Z │ ❱ 1024 │ │ │ raise HTTPError(http_er │ 2025-06-04T02:38:38.2171708Z │ 1025 │ │ 2025-06-04T02:38:38.2172063Z │ 1026 │ def close(self): │ 2025-06-04T02:38:38.2172425Z │ 1027 │ │ """Releases the connection │ 2025-06-04T02:38:38.2172821Z ╰────────────────────────────────────────────╯ 2025-06-04T02:38:38.2173152Z HTTPError: 403 Client Error: Forbidden for 2025-06-04T02:38:38.2173495Z url: 2025-06-04T02:38:38.2173857Z https://uploads.github.com/repos/python-gitlab 2025-06-04T02:38:38.2174250Z /python-gitlab/releases/222933862/assets?name= 2025-06-04T02:38:38.2174644Z python_gitlab-6.0.0.tar.gz.publish.attestation 2025-06-04T02:38:38.9266249Z [02:38:38] ERROR [semantic_release.hvcs.github] ERROR github.py:475 2025-06-04T02:38:38.9267493Z github.upload_dists: error uploading asset 2025-06-04T02:38:38.9268602Z dist/python_gitlab-6.0.0.tar.gz 2025-06-04T02:38:38.9270050Z ╭──── Traceback (most recent call last) ─────╮ 2025-06-04T02:38:38.9272703Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9273499Z │ s/semantic_release/hvcs/github.py:472 in │ 2025-06-04T02:38:38.9274154Z │ upload_dists │ 2025-06-04T02:38:38.9274701Z │ │ 2025-06-04T02:38:38.9275243Z │ 469 │ │ │ f for f in glob.glob(dis │ 2025-06-04T02:38:38.9275765Z │ 470 │ │ ): │ 2025-06-04T02:38:38.9276520Z │ 471 │ │ │ try: │ 2025-06-04T02:38:38.9277058Z │ ❱ 472 │ │ │ │ self.upload_release_ │ 2025-06-04T02:38:38.9277601Z │ 473 │ │ │ │ n_succeeded += 1 │ 2025-06-04T02:38:38.9278182Z │ 474 │ │ │ except HTTPError: # noq │ 2025-06-04T02:38:38.9278969Z │ 475 │ │ │ │ log.exception("error │ 2025-06-04T02:38:38.9279521Z │ │ 2025-06-04T02:38:38.9280115Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9280775Z │ s/semantic_release/helpers.py:53 in │ 2025-06-04T02:38:38.9281392Z │ _wrapper │ 2025-06-04T02:38:38.9281920Z │ │ 2025-06-04T02:38:38.9282404Z │ 50 │ │ │ ) │ 2025-06-04T02:38:38.9282899Z │ 51 │ │ │ │ 2025-06-04T02:38:38.9283433Z │ 52 │ │ │ # Call function │ 2025-06-04T02:38:38.9283961Z │ ❱ 53 │ │ │ result = func(*args, **k │ 2025-06-04T02:38:38.9284508Z │ 54 │ │ │ │ 2025-06-04T02:38:38.9285039Z │ 55 │ │ │ # Log result │ 2025-06-04T02:38:38.9285577Z │ 56 │ │ │ logger.debug("%s -> %s", │ 2025-06-04T02:38:38.9286254Z │ │ 2025-06-04T02:38:38.9286840Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9287482Z │ s/semantic_release/hvcs/github.py:431 in │ 2025-06-04T02:38:38.9288135Z │ upload_release_asset │ 2025-06-04T02:38:38.9288710Z │ │ 2025-06-04T02:38:38.9289225Z │ 428 │ │ ) │ 2025-06-04T02:38:38.9289767Z │ 429 │ │ │ 2025-06-04T02:38:38.9290298Z │ 430 │ │ with open(file, "rb") as dat │ 2025-06-04T02:38:38.9290881Z │ ❱ 431 │ │ │ response = self.session. │ 2025-06-04T02:38:38.9291446Z │ 432 │ │ │ │ url, │ 2025-06-04T02:38:38.9292003Z │ 433 │ │ │ │ params={"name": os.p │ 2025-06-04T02:38:38.9292572Z │ 434 │ │ │ │ headers={ │ 2025-06-04T02:38:38.9293104Z │ │ 2025-06-04T02:38:38.9293682Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9294597Z │ s/requests/sessions.py:637 in post │ 2025-06-04T02:38:38.9295197Z │ │ 2025-06-04T02:38:38.9295727Z │ 634 │ │ :rtype: requests.Response │ 2025-06-04T02:38:38.9296439Z │ 635 │ │ """ │ 2025-06-04T02:38:38.9296973Z │ 636 │ │ │ 2025-06-04T02:38:38.9297520Z │ ❱ 637 │ │ return self.request("POST", │ 2025-06-04T02:38:38.9298065Z │ 638 │ │ 2025-06-04T02:38:38.9298610Z │ 639 │ def put(self, url, data=None, ** │ 2025-06-04T02:38:38.9299327Z │ 640 │ │ r"""Sends a PUT request. Ret │ 2025-06-04T02:38:38.9299917Z │ │ 2025-06-04T02:38:38.9300533Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9301395Z │ s/requests/sessions.py:589 in request │ 2025-06-04T02:38:38.9302014Z │ │ 2025-06-04T02:38:38.9302572Z │ 586 │ │ │ "allow_redirects": allow │ 2025-06-04T02:38:38.9303138Z │ 587 │ │ } │ 2025-06-04T02:38:38.9303712Z │ 588 │ │ send_kwargs.update(settings) │ 2025-06-04T02:38:38.9304304Z │ ❱ 589 │ │ resp = self.send(prep, **sen │ 2025-06-04T02:38:38.9304894Z │ 590 │ │ │ 2025-06-04T02:38:38.9305476Z │ 591 │ │ return resp │ 2025-06-04T02:38:38.9306241Z │ 592 │ 2025-06-04T02:38:38.9306794Z │ │ 2025-06-04T02:38:38.9307410Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9308093Z │ s/requests/sessions.py:710 in send │ 2025-06-04T02:38:38.9308713Z │ │ 2025-06-04T02:38:38.9309283Z │ 707 │ │ r.elapsed = timedelta(second │ 2025-06-04T02:38:38.9309861Z │ 708 │ │ │ 2025-06-04T02:38:38.9310466Z │ 709 │ │ # Response manipulation hook │ 2025-06-04T02:38:38.9311095Z │ ❱ 710 │ │ r = dispatch_hook("response" │ 2025-06-04T02:38:38.9311666Z │ 711 │ │ │ 2025-06-04T02:38:38.9312235Z │ 712 │ │ # Persist cookies │ 2025-06-04T02:38:38.9312803Z │ 713 │ │ if r.history: │ 2025-06-04T02:38:38.9313337Z │ │ 2025-06-04T02:38:38.9313941Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9314623Z │ s/requests/hooks.py:30 in dispatch_hook │ 2025-06-04T02:38:38.9315224Z │ │ 2025-06-04T02:38:38.9315762Z │ 27 │ │ if hasattr(hooks, "__call__") │ 2025-06-04T02:38:38.9316523Z │ 28 │ │ │ hooks = [hooks] │ 2025-06-04T02:38:38.9317327Z │ 29 │ │ for hook in hooks: │ 2025-06-04T02:38:38.9317910Z │ ❱ 30 │ │ │ _hook_data = hook(hook_da │ 2025-06-04T02:38:38.9318657Z │ 31 │ │ │ if _hook_data is not None │ 2025-06-04T02:38:38.9319238Z │ 32 │ │ │ │ hook_data = _hook_dat │ 2025-06-04T02:38:38.9319818Z │ 33 │ return hook_data │ 2025-06-04T02:38:38.9320365Z │ │ 2025-06-04T02:38:38.9320976Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9321653Z │ s/semantic_release/hvcs/util.py:36 in │ 2025-06-04T02:38:38.9322285Z │ <lambda> │ 2025-06-04T02:38:38.9322854Z │ │ 2025-06-04T02:38:38.9323363Z │ 33 │ """ │ 2025-06-04T02:38:38.9323940Z │ 34 │ session = Session() │ 2025-06-04T02:38:38.9324530Z │ 35 │ if raise_for_status: │ 2025-06-04T02:38:38.9325137Z │ ❱ 36 │ │ session.hooks = {"response": │ 2025-06-04T02:38:38.9325698Z │ 37 │ │ 2025-06-04T02:38:38.9326436Z │ 38 │ if retry: │ 2025-06-04T02:38:38.9327010Z │ 39 │ │ if isinstance(retry, bool): │ 2025-06-04T02:38:38.9327550Z │ │ 2025-06-04T02:38:38.9328168Z │ /opt/psr/.venv/lib/python3.12/site-package │ 2025-06-04T02:38:38.9331408Z │ s/requests/models.py:1024 in │ 2025-06-04T02:38:38.9332052Z │ raise_for_status │ 2025-06-04T02:38:38.9332625Z │ │ 2025-06-04T02:38:38.9333164Z │ 1021 │ │ │ ) │ 2025-06-04T02:38:38.9333720Z │ 1022 │ │ │ 2025-06-04T02:38:38.9334288Z │ 1023 │ │ if http_error_msg: │ 2025-06-04T02:38:38.9334904Z │ ❱ 1024 │ │ │ raise HTTPError(http_er │ 2025-06-04T02:38:38.9335465Z │ 1025 │ │ 2025-06-04T02:38:38.9336221Z │ 1026 │ def close(self): │ 2025-06-04T02:38:38.9336837Z │ 1027 │ │ """Releases the connection │ 2025-06-04T02:38:38.9337479Z ╰────────────────────────────────────────────╯ 2025-06-04T02:38:38.9338023Z HTTPError: 403 Client Error: Forbidden for 2025-06-04T02:38:38.9338554Z url: 2025-06-04T02:38:38.9339111Z https://uploads.github.com/repos/python-gitlab 2025-06-04T02:38:38.9339730Z /python-gitlab/releases/222933862/assets?name= 2025-06-04T02:38:38.9340306Z python_gitlab-6.0.0.tar.gz 2025-06-04T02:38:39.0593613Z Post job cleanup. 2025-06-04T02:38:39.0636217Z Post job cleanup.
The text was updated successfully, but these errors were encountered:
@nejch I haven't dug into this yet. Wondering if you might know off the top of your head about this. Thanks.
Sorry, something went wrong.
No branches or pull requests
Seeing the following message from a release job:
https://github.com/python-gitlab/python-gitlab/actions/runs/15432243188
And some errors about being unable to upload with 403 errors.
Log file snippet
The text was updated successfully, but these errors were encountered: