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

"YYYY.MM.PP.dev20201230" is not marked as dev, and is of type unknown #14

Closed
ludeeus opened this issue Dec 30, 2020 · 2 comments · Fixed by #15
Closed

"YYYY.MM.PP.dev20201230" is not marked as dev, and is of type unknown #14

ludeeus opened this issue Dec 30, 2020 · 2 comments · Fixed by #15
Assignees

Comments

@ludeeus
Copy link
Owner

ludeeus commented Dec 30, 2020

The problem

2021.1.0.dev20201230 should be marked as dev, and should be of type CalVer / SemVer

Environment

  • Operating system:
  • Python version:

Problem-relevant code

from awesomeversion.strategy import AwesomeVersionStrategy
from awesomeversion import AwesomeVersion

version = AwesomeVersion("2021.1.0.dev20201230")
assert version.dev
assert version.strategy != AwesomeVersionStrategy.UNKNOWN

Traceback/Error logs

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AssertionError

Additional information

@ludeeus ludeeus added the bug Something isn't working label Dec 30, 2020
@ludeeus ludeeus changed the title "20.1.0.dev20201230" "YYYY.MM.PP.dev20201230" is not marked as dev, and is of type unknown Dec 30, 2020
@ludeeus ludeeus added bug Something isn't working and removed bug Something isn't working labels Dec 31, 2020
Repository owner deleted a comment from github-actions bot Dec 31, 2020
@ludeeus ludeeus removed bug Something isn't working reproduced labels Dec 31, 2020
Repository owner deleted a comment from github-actions bot Dec 31, 2020
Repository owner deleted a comment from github-actions bot Dec 31, 2020
@github-actions
Copy link

🚀 The code example has been verified by the GitHub action

@github-actions
Copy link

🚀 The code example has been verified by the GitHub action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant