You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: old catalog_data not cleared out on a pip install #920
I've come across this issue before and found it fiddly to get around, though it isn't an issue if you switch to an editable install when doing catalog changes (which I recommend in the "important" block at the top of the dev doc, worth doing anyway so you don't need to redo a pip install each time before running the update script), however you're right that this would be good to fix anyway.
The issue seems to be that the package data that gets added via these lines in pyproject.toml doesn't always remove files that have been removed on a reinstall:
I've come across this issue before and found it fiddly to get around, though it isn't an issue if you switch to an editable install when doing catalog changes (which I recommend in the "important" block at the top of the dev doc, worth doing anyway so you don't need to redo a pip install each time before running the update script), however you're right that this would be good to fix anyway.
The issue seems to be that the package data that gets added via these lines in pyproject.toml doesn't always remove files that have been removed on a reinstall:
OK, I think we should expand the docs to mention this issue and indeed suggest doing -e not just for convenience but for robust testing. Then we can close issue #920.
Activity
edwardchalstrey1 commentedon Jun 4, 2026
I've come across this issue before and found it fiddly to get around, though it isn't an issue if you switch to an editable install when doing catalog changes (which I recommend in the "important" block at the top of the dev doc, worth doing anyway so you don't need to redo a pip install each time before running the update script), however you're right that this would be good to fix anyway.
The issue seems to be that the package data that gets added via these lines in
pyproject.tomldoesn't always remove files that have been removed on a reinstall:rahulsavani commentedon Jun 4, 2026
OK, I think we should expand the docs to mention this issue and indeed suggest doing -e not just for convenience but for robust testing. Then we can close issue #920.
edwardchalstrey1 commentedon Jun 4, 2026
From Rahul: Are there perhaps some other pip flags like a "clean" analog that we are missing and would fix this?
A first fix on issue gambitproject#920
tturocy commentedon Sep 11, 2026
This should be deal with by having the catalog be a separate resource; see PR #1132.