<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def increment_version(version):
 """ get the next version """


    parts = [int(v) for v in version.split('.')]
    parts[-1] += 1
    parts.append('dev0')

    return '.'.join(map(str, parts))