Skip to content
New issue

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

Doesn't work in python 3.7 #277

Open
himanshu219 opened this issue Nov 21, 2019 · 0 comments
Open

Doesn't work in python 3.7 #277

himanshu219 opened this issue Nov 21, 2019 · 0 comments

Comments

@himanshu219
Copy link

I am getting following error when trying to run in MacOS with python 3.7

Traceback (most recent call last):
  File "/Users/hpal/.pyenv/versions/awstest3.7/bin/changes", line 11, in <module>
    sys.exit(main())
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/click/core.py", line 933, in invoke
    Command.invoke(self, ctx)
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/changes/cli.py", line 44, in main
    no_input, major, minor, patch,
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/changes/version.py", line 25, in get_new_version
    patch=patch
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/changes/version.py", line 48, in increment
    version = semantic_version.Version(version)
  File "/Users/hpal/.pyenv/versions/3.7.0/envs/awstest3.7/lib/python3.7/site-packages/semantic_version/base.py", line 102, in __init__
    raise ValueError("Call either Version('1.2.3') or Version(major=1, ...).")
ValueError: Call either Version('1.2.3') or Version(major=1, ...).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant