You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by Andy Grove <an...@gmail.com> on 2020/05/07 12:20:02 UTC

Merge tool failing to update JIRA

I've hit this error this morning on merging some PRs.

Would you like to update the associated JIRA? (y/n): y
Traceback (most recent call last):
  File "./dev/merge_arrow_pr.py", line 597, in <module>
    cli()
  File "./dev/merge_arrow_pr.py", line 591, in cli
    fix_versions_json = prompt_for_fix_version(cmd, pr.jira_issue)
  File "./dev/merge_arrow_pr.py", line 473, in prompt_for_fix_version
    default_fix_versions) = jira_issue.get_candidate_fix_versions()
  File "./dev/merge_arrow_pr.py", line 168, in get_candidate_fix_versions
    (major, minor, patch) = v.name.split(".")
ValueError: need more than 2 values to unpack

Does anyone know what would cause this before I start trying to debug it?

I'm wondering if it is a data issue in JIRA?

Thanks,

Andy.

Re: Merge tool failing to update JIRA

Posted by Wes McKinney <we...@gmail.com>.
I don't know how 0.18.0 got there but I just deleted it. The next
release is hopefully 1.0.0

On Thu, May 7, 2020 at 7:28 AM Antoine Pitrou <an...@python.org> wrote:
>
>
> Nevermind, I got the issue too.  I think it's because the "0.18" release
> should be renamed "0.18.0"...
>
>
> Le 07/05/2020 à 14:22, Antoine Pitrou a écrit :
> >
> > JIRA was down this morning, can you try again?
> >
> >
> > Le 07/05/2020 à 14:20, Andy Grove a écrit :
> >> I've hit this error this morning on merging some PRs.
> >>
> >> Would you like to update the associated JIRA? (y/n): y
> >> Traceback (most recent call last):
> >>   File "./dev/merge_arrow_pr.py", line 597, in <module>
> >>     cli()
> >>   File "./dev/merge_arrow_pr.py", line 591, in cli
> >>     fix_versions_json = prompt_for_fix_version(cmd, pr.jira_issue)
> >>   File "./dev/merge_arrow_pr.py", line 473, in prompt_for_fix_version
> >>     default_fix_versions) = jira_issue.get_candidate_fix_versions()
> >>   File "./dev/merge_arrow_pr.py", line 168, in get_candidate_fix_versions
> >>     (major, minor, patch) = v.name.split(".")
> >> ValueError: need more than 2 values to unpack
> >>
> >> Does anyone know what would cause this before I start trying to debug it?
> >>
> >> I'm wondering if it is a data issue in JIRA?
> >>
> >> Thanks,
> >>
> >> Andy.
> >>

Re: Merge tool failing to update JIRA

Posted by Antoine Pitrou <an...@python.org>.
Nevermind, I got the issue too.  I think it's because the "0.18" release
should be renamed "0.18.0"...


Le 07/05/2020 à 14:22, Antoine Pitrou a écrit :
> 
> JIRA was down this morning, can you try again?
> 
> 
> Le 07/05/2020 à 14:20, Andy Grove a écrit :
>> I've hit this error this morning on merging some PRs.
>>
>> Would you like to update the associated JIRA? (y/n): y
>> Traceback (most recent call last):
>>   File "./dev/merge_arrow_pr.py", line 597, in <module>
>>     cli()
>>   File "./dev/merge_arrow_pr.py", line 591, in cli
>>     fix_versions_json = prompt_for_fix_version(cmd, pr.jira_issue)
>>   File "./dev/merge_arrow_pr.py", line 473, in prompt_for_fix_version
>>     default_fix_versions) = jira_issue.get_candidate_fix_versions()
>>   File "./dev/merge_arrow_pr.py", line 168, in get_candidate_fix_versions
>>     (major, minor, patch) = v.name.split(".")
>> ValueError: need more than 2 values to unpack
>>
>> Does anyone know what would cause this before I start trying to debug it?
>>
>> I'm wondering if it is a data issue in JIRA?
>>
>> Thanks,
>>
>> Andy.
>>

Re: Merge tool failing to update JIRA

Posted by Antoine Pitrou <an...@python.org>.
JIRA was down this morning, can you try again?


Le 07/05/2020 à 14:20, Andy Grove a écrit :
> I've hit this error this morning on merging some PRs.
> 
> Would you like to update the associated JIRA? (y/n): y
> Traceback (most recent call last):
>   File "./dev/merge_arrow_pr.py", line 597, in <module>
>     cli()
>   File "./dev/merge_arrow_pr.py", line 591, in cli
>     fix_versions_json = prompt_for_fix_version(cmd, pr.jira_issue)
>   File "./dev/merge_arrow_pr.py", line 473, in prompt_for_fix_version
>     default_fix_versions) = jira_issue.get_candidate_fix_versions()
>   File "./dev/merge_arrow_pr.py", line 168, in get_candidate_fix_versions
>     (major, minor, patch) = v.name.split(".")
> ValueError: need more than 2 values to unpack
> 
> Does anyone know what would cause this before I start trying to debug it?
> 
> I'm wondering if it is a data issue in JIRA?
> 
> Thanks,
> 
> Andy.
>