[
https://issues.apache.org/jira/browse/ARROW-10367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Micah Kornfield reassigned ARROW-10367:
---------------------------------------
Assignee: (was: Micah Kornfield)
Description:
{{Patch is not a keyword on Version.}}
{{[https://github.com/apache/arrow/pull/8475/checks?check_run_id=1290624398]}}
Seems like something in the SemVer library?
was:
{{Patch is not a keyword on Version.}}
{{[https://github.com/apache/arrow/pull/8475/checks?check_run_id=1290624398]}}
{{cls = <class 'archery.release.Version'>, version = '0.17.1'}}{{@classmethod}}
{{ def parse(cls, version):}}
{{ """}}
{{ Parse version string to a VersionInfo instance.}}
{{ :param version: version string}}
{{ :return: a :class:`VersionInfo` instance}}
{{ :raises: :class:`ValueError`}}
{{ :rtype: :class:`VersionInfo`}}
{{ .. versionchanged:: 2.11.0}}
{{ Changed method from static to classmethod to}}
{{ allow subclasses.}}
{{ >>> semver.VersionInfo.parse('3.4.5-pre.2+build.4')}}
{{ VersionInfo(major=3, minor=4, patch=5, \}}
{{ prerelease='pre.2', build='build.4')}}
{{ """}}
{{ match = cls._REGEX.match(ensure_str(version))}}
{{ if match is None:}}
{{ raise ValueError("%s is not valid SemVer string" % version)}}
{{ version_parts = match.groupdict()}}
{{ version_parts["major"] = int(version_parts["major"])}}
{{ version_parts["minor"] = int(version_parts["minor"])}}
{{ version_parts["patch"] = int(version_parts["patch"])}}
{{> return cls(**version_parts)}}
{{E TypeError: __init__() got an unexpected keyword argument 'patch'}}
> [Archery] unit tests seem to be broken due to "patch" argument not being on
> constructor
> ---------------------------------------------------------------------------------------
>
> Key: ARROW-10367
> URL: https://issues.apache.org/jira/browse/ARROW-10367
> Project: Apache Arrow
> Issue Type: Bug
> Components: Archery
> Reporter: Micah Kornfield
> Priority: Major
>
> {{Patch is not a keyword on Version.}}
>
> {{[https://github.com/apache/arrow/pull/8475/checks?check_run_id=1290624398]}}
> Seems like something in the SemVer library?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)