syft-job
Job submission and execution for SyftBox: data scientists submit bash/Python jobs into a data owner's inbox, the data owner reviews, approves, and runs them.
Releasing
On every release (after bumping the version), run both release scripts:
uv run python scripts/export_release_artifact.py
uv run python scripts/generate_release_fixture.py
export_release_artifact.py always writes
src/syft_job/migrations/history/package-artifacts/syft-job-<version>.json
(the package's identity + the protocol it speaks), and additionally writes
history/protocols/protocol-<n>.json when the release ships a new protocol
version. It refuses to run if the job protocol changed without bumping
JOB_PROTOCOL_VERSION (src/syft_job/migrations/registry.py).
generate_release_fixture.py writes a full SyftBox tree —
tests/migrations/p2p/fixtures/syft_job-<version>-protocol<p>_syftbox/ — exactly
as this release serializes jobs to disk. Commit it: future releases loop over
these fixtures (test_older_protocol_compatibility.py) to prove they can still
read and round-trip older on-disk data.
Tests check the code against these artifacts: released object versions are frozen forever — changing one requires a new version plus migrations.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file syft_job-0.1.40.tar.gz.
File metadata
- Download URL: syft_job-0.1.40.tar.gz
- Upload date:
- Size: 51.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
644f5f1dd173e45a8fff0358f40f4d32aa3dd2e8ac898bdd63e915c2693f90c5
|
|
| MD5 |
e595c50a7c0c382951ac0e4f41f76158
|
|
| BLAKE2b-256 |
7c1cad837b8756a353119f4553106b423804553109e9d1ad4b0ad68318f698b2
|
File details
Details for the file syft_job-0.1.40-py3-none-any.whl.
File metadata
- Download URL: syft_job-0.1.40-py3-none-any.whl
- Upload date:
- Size: 47.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
808c17ccb8a6b4c3911b8ce47c25e3ebec5a6d72a5a2a878a576fc7e8e0155bf
|
|
| MD5 |
367e194a911343881e3b51407ff83918
|
|
| BLAKE2b-256 |
728ff90ac0cb23fe000e60cdad22658ae7f8e94b8b09be7a2e403fd06588e59a
|