solari-e2b-compat 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/COMPAT.md +2 -2
  2. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/PKG-INFO +1 -1
  3. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/pyproject.toml +4 -1
  4. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/__init__.py +1 -1
  5. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/.gitignore +0 -0
  6. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/LICENSE +0 -0
  7. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/LICENSE-E2B +0 -0
  8. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/NOTICE +0 -0
  9. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/README.md +0 -0
  10. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_box.py +0 -0
  11. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_commands.py +0 -0
  12. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_config.py +0 -0
  13. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_filesystem.py +0 -0
  14. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_loop.py +0 -0
  15. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_redact.py +0 -0
  16. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_sandbox.py +0 -0
  17. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_sync.py +0 -0
  18. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_template.py +0 -0
  19. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/_vendor_user.py +0 -0
  20. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/code_interpreter.py +0 -0
  21. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/exceptions.py +0 -0
  22. {solari_e2b_compat-0.2.3 → solari_e2b_compat-0.2.4}/solari_e2b/models.py +0 -0
@@ -98,9 +98,9 @@ and the differences that are specific to Python.
98
98
  - Tested on Python 3.14; the code avoids syntax newer than 3.9 but only 3.14 is exercised here.
99
99
 
100
100
  ## Default user and home directory (matching E2B)
101
- **Today's sandboxes run as `root` in `/home/root`. E2B's own run as `user` in `/home/user`; this arrives with a Solari server update, and this package already asks for it** (below).
101
+ **Sandboxes run as `user` in `/home/user` on the hosted Solari API, matching E2B's default** (checked on staging and production on 2026-11-03). Only a gateway or a template that predates user support falls back to root, as below.
102
102
 
103
- Once the gateway supports it, E2B sandboxes run as `user` in `/home/user`; commands, code and files all start there, and relative paths resolve against it. This package
103
+ Here, E2B sandboxes run as `user` in `/home/user`; commands, code and files all start there, and relative paths resolve against it. This package
104
104
  asks the gateway for exactly that at create time (`user: "user"`, `cwd: "/home/user"`; the gateway creates the user at first boot with passwordless
105
105
  sudo). Restores from a snapshot keep the snapshot's own user.
106
106
  - **Gateway that predates `user` / `cwd`** (it answers 400 naming them, or ignores them): the plain create is used and the sandbox runs as **root in
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: solari-e2b-compat
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: E2B-compatible Python interface (sandboxes and code interpreter) over Solari Sandboxes. Not affiliated with E2B.
5
5
  Project-URL: Homepage, https://getsolari.com
6
6
  Author: Solari
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "solari-e2b-compat"
7
- version = "0.2.3"
7
+ version = "0.2.4"
8
8
  description = "E2B-compatible Python interface (sandboxes and code interpreter) over Solari Sandboxes. Not affiliated with E2B."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -21,6 +21,9 @@ Homepage = "https://getsolari.com"
21
21
 
22
22
  [tool.hatch.build.targets.wheel]
23
23
  packages = ["solari_e2b"]
24
+ # The docs and error messages point at COMPAT.md, so the wheel carries it next to the package.
25
+ [tool.hatch.build.targets.wheel.force-include]
26
+ "COMPAT.md" = "solari_e2b/COMPAT.md"
24
27
 
25
28
  [tool.hatch.build.targets.sdist]
26
29
  include = ["solari_e2b", "README.md", "COMPAT.md", "NOTICE", "LICENSE", "LICENSE-E2B"]
@@ -36,4 +36,4 @@ from .models import * # noqa: F401,F403
36
36
  Volume = _Unsupported("Volume")
37
37
  Secret = _Unsupported("Secret")
38
38
 
39
- __version__ = "0.2.3"
39
+ __version__ = "0.2.4"