Skip to content

Fix a bug in catalog update - #985

Merged
tturocy merged 1 commit into
gambitproject:masterfrom
wyz2368:fix_catalog_update
Jul 10, 2026
Merged

Fix a bug in catalog update#985
tturocy merged 1 commit into
gambitproject:masterfrom
wyz2368:fix_catalog_update

Conversation

@wyz2368

@wyz2368 wyz2368 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

The bug is that build_support/catalog/update.py does not build a fresh catalog from Git directly. It calls:
gbt.catalog.games(include_descriptions=True), so it uses whatever pygambit your current python imports. If that Python has an old installed/editable pygambit, or an old build/lib.../pygambit/catalog_data, it will “remember” deleted games. The remembering is severe: even if one deletes the gambit locally and git clone a new one, reinstalling will still remember old games. Now this has been fixed by updating update.py.

The ruff error has also been fixed.

@tturocy
tturocy merged commit f143296 into gambitproject:master Jul 10, 2026
14 checks passed
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