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

Adjust parsing of major version number to account for development builds #12

Closed
wants to merge 3 commits into from

Conversation

kieferro
Copy link
Member

@kieferro kieferro commented Apr 1, 2023

Closes #11

The version numbering system for development builds has been changed. Previous development builds had their release date as version number (like 200222) but the system was changed and now they contain more information (like dev-20230329-3f01e3f4). The parser is not able to understand that version number and fails.

This PR solves that problem and implements a try/catch for unrecognized version numbers.

@github-actions
Copy link

github-actions bot commented Apr 1, 2023

Coverage report

The coverage rate went from 93.35% to 93.53% ⬆️
The branch rate is 87%.

100% of new lines are covered.

Diff Coverage details (click to unfold)

stockfish/models.py

100% of new lines are covered (93.53% of the complete file).

@kieferro kieferro marked this pull request as ready for review April 1, 2023 14:01
@kieferro
Copy link
Member Author

kieferro commented Apr 7, 2023

I didn't see that there was already a PR addressing the issue in the old repo. Closing this in favor of zhelyabuzhsky#124

@kieferro kieferro closed this Apr 7, 2023
@kieferro kieferro deleted the version-number-parse branch July 13, 2023 14:35
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.

Not working with newer versions of stockfish
1 participant