| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR resolves a Windows PyInstaller collect_all("arcade") collision by renaming the packaged version data file from arcade/VERSION to arcade/_VERSION, updating readers and packaging inputs, and adding regression tests to prevent future case-insensitive path conflicts.
Changes:
Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file| File | Description |
|---|---|
| webplayground/server.py | Updates local web playground version-file read path to _VERSION. |
| tests/unit/test_version.py | Adds tests to ensure _VERSION is loaded and data/module names don’t collide when case-folded. |
| tests/unit/test_pyinstaller_hook.py | Adds regression test asserting _VERSION is bundled to arcade/_VERSION. |
| RELEASE_CHECKLIST.md | Updates release instructions to point to arcade/_VERSION. |
| MANIFEST.in | Updates sdist inclusion rule from VERSION to _VERSION. |
| doc/conf.py | Updates commented-out version read path to _VERSION. |
| CHANGELOG.md | Documents the PyInstaller collision fix. |
| arcade/version.py | Switches default version file path and updates docstrings to _VERSION. |
| arcade/_VERSION | Adds the new version data file. |
| arcade/__pyinstaller/hook-arcade.py | Updates hook to collect _VERSION and fixes the destination directory. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Root cause and impact
The version data file case-folded to the same name as the arcade.version module. The hook also used ./arcade/VERSION as a filename-shaped destination, although PyInstaller treats that value as a directory. Together with collect_all("arcade"), this caused a file/directory collision during the Windows COLLECT phase.
The public arcade.VERSION and arcade.__version__ APIs are unchanged.
Fixes #2837
Validation
Disclosure: this contribution was prepared with AI assistance. I reviewed the final diff and ran every check listed above.