raulcd opened a new issue, #50811:
URL: https://github.com/apache/arrow/issues/50811

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The `dev/release/02-source.sh` scripts fails when creating the RC PR with 
the following:
   ```
   $ SOURCE_DEFAULT=0 SOURCE_PR=1 dev/release/02-source.sh 25.0.1 0
   Preparing source for tag apache-arrow-25.0.1-rc0
   Using commit 2efbed957cb79a58f2a3af264d5d9956f38ecea6
   Traceback (most recent call last):
     File "/home/raulcd/code/archery/bin/archery", line 7, in <module>
       sys.exit(archery())
                ~~~~~~~^^
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/click/core.py", line 
1462, in __call__
       return self.main(*args, **kwargs)
              ~~~~~~~~~^^^^^^^^^^^^^^^^^
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/click/core.py", line 
1383, in main
       rv = self.invoke(ctx)
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/click/core.py", line 
1850, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
                              ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/click/core.py", line 
1850, in invoke
       return _process_result(sub_ctx.command.invoke(sub_ctx))
                              ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/click/core.py", line 
1246, in invoke
       return ctx.invoke(self.callback, **ctx.params)
              ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/click/core.py", line 
814, in invoke
       return callback(*args, **kwargs)
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/click/decorators.py", 
line 46, in new_func
       return f(get_current_context().obj, *args, **kwargs)
     File "/home/raulcd/code/arrow/dev/archery/archery/crossbow/cli.py", line 
196, in verify_release_candidate
       response = arrow.github_pr(title=pr_title, head=head_branch,
                                  base=base_branch, body=pr_body,
                                  github_token=obj['queue'].github_token,
                                  create=create_pr)
     File "/home/raulcd/code/arrow/dev/archery/archery/crossbow/core.py", line 
566, in github_pr
       return repo.create_pull(title=title, base=base, head=head,
              ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                               body=body or "")
                               ^^^^^^^^^^^^^^^^
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/github/Repository.py", 
line 1858, in create_pull
       headers, data = self._requester.requestJsonAndCheck("POST", 
f"{self.url}/pulls", input=post_parameters)
                       
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/github/Requester.py", 
line 623, in requestJsonAndCheck
       return self.__check(
              ~~~~~~~~~~~~^
           *self.requestJson(
           ^^^^^^^^^^^^^^^^^^
       ...<7 lines>...
           )
           ^
       )
       ^
     File 
"/home/raulcd/code/archery/lib/python3.13/site-packages/github/Requester.py", 
line 853, in __check
       raise self.createException(status, responseHeaders, data)
   github.GithubException.GithubException: Validation Failed: 422 {"message": 
"Validation Failed", "errors": [{"resource": "PullRequest", "field": "base", 
"code": "invalid"}], "documentation_url": 
"https://docs.github.com/rest/pulls/pulls#create-a-pull-request";, "status": 
"422"}
   
   ```
   
   ### Component(s)
   
   Release


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to