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

Scan_Offsets Depreciated #78

Open
ghost opened this issue Jan 29, 2019 · 3 comments
Open

Scan_Offsets Depreciated #78

ghost opened this issue Jan 29, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 29, 2019

New in v0.24.0
chess.pgn.scan_headers() and chess.pgn.scan_offsets() have been removed.

This breaks the sl.py worker code. I tried to re-write but I was unsuccessful. Does anyone have a solution?

@brianprichardson
Copy link
Collaborator

In situations like this you could simply use an older version. For instance, I am stuck on tensorflow 1.5 due to my old CPU.

@ghost
Copy link
Author

ghost commented Jan 29, 2019

What version last worked?

@brianprichardson
Copy link
Collaborator

python-chess (0.22.1) is the version I use, but I have also modified it slightly for supervised learning to try to parse both UCI and SAN move formats. I think those changes might have been incorporated into a subsequent release, but I'm not sure. In any case, once I have a collection of versions of things that work, I try to avoid "upgrading" them.

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