Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fixes #109 and add iterator to VersionInfo #124

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

Merged
merged 1 commit into from
Mar 24, 2019

Conversation

tomschr
Copy link
Member

@tomschr tomschr commented Mar 24, 2019

This PR is based on #109 by Karol Werner and contains:

  • Add Karol to the CONTRIBUTORS file and added him as primary author.
  • Use version fixture in test function test_version_info_should_be_iterable.
  • I've deviated from Karol's test function a bit and avoided the "private" _astuple() function and created the tuple manually.
  • This PR does not contains a conflict. 😉

I think, Karol's idea is useful as it allows to create a sequence with just tuple(version) or list(version) without using the (kind of) "private" member function _astuple().

If the maintainers of this project find it useful, I suggest to close #109 as well (as it is related and contains a conflict).

* Add Karl to CONTRIBUTORS
* Use version fixture in test function test_version_info_should_be_iterable

based on the work of Karol Werner in PR python-semver#109
@s-celles
Copy link
Member

Thanks @tomschr and @ppkt for this work

@s-celles s-celles merged commit 373af82 into python-semver:master Mar 24, 2019
@tomschr
Copy link
Member Author

tomschr commented Mar 24, 2019

Wow, that was quick! 😆 Thanks! 👍

@tomschr tomschr deleted the make-versioninfo-iterable branch March 24, 2019 14:45
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

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.