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
* feat(build): always bundle runpod_flash, remove --use-local-flash
runpod_flash is now unconditionally bundled from site-packages during
every build, making --use-local-flash unnecessary. Adds __version__
constant to __init__.py so bundled code carries its own version for
accurate runtime reporting in deployed workers.
- Rename copy functions to reflect site-packages source
- Remove --use-local-flash from deploy command and docs
- Add tests for unconditional bundling behavior
- Update dotenv test to allow __version__ before imports
* chore(version): automate __version__ sync via release-please extra-files
Added x-release-please-version annotation to __init__.py and configured
extra-files in release-please-config.json so __version__ is bumped
automatically on each release.
* fix(user-agent): use __version__ instead of importlib.metadata
importlib.metadata reads the pip-installed version, which differs from
the bundled version inside worker containers. Using __version__ ensures
the user-agent reports the actual running version.
* fix(user-agent): defer __version__ import to avoid circular imports
* fix(build): normalize package name matching to lowercase per PEP 503
Package names are case-insensitive per PEP 503, so entries like
`Runpod-Flash` or `RUNPOD_FLASH` in requirements.txt would survive
filtering and reintroduce the duplicated-install conflict.
* fix(test): scope ExitStack patches with @contextmanager in _bundle_patches
Patches were entered immediately on ExitStack before the `with` block
started, risking leaks if an exception occurred during setup. Wrapping
in @contextmanager ensures patch lifetime is strictly scoped.
Skips specified packages during dependency installation. Critical for staying under Runpod's 500MB deployment limit. See [flash build](./flash-build.md#managing-deployment-size) for base image package reference.
164
163
165
-
### Local Flash Development
166
-
167
-
```bash
168
-
flash deploy --use-local-flash
169
-
```
170
-
171
-
Bundles your local `runpod_flash` source instead of the PyPI version. Only use this for development and testing.
0 commit comments