benchmax 0.1.2.dev13__tar.gz → 0.1.2.dev14__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 (51) hide show
  1. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/PKG-INFO +1 -1
  2. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/pyproject.toml +1 -1
  3. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/bundle/bundler.py +18 -0
  4. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax.egg-info/PKG-INFO +1 -1
  5. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/LICENSE +0 -0
  6. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/README.md +0 -0
  7. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/setup.cfg +0 -0
  8. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/adapters/__init__.py +0 -0
  9. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/adapters/benchmax_wrapper.py +0 -0
  10. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/adapters/skyrl/benchmax_data_process.py +0 -0
  11. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/adapters/skyrl/skyrl_adapter.py +0 -0
  12. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/bundle/__init__.py +0 -0
  13. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/bundle/errors.py +0 -0
  14. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/bundle/loader.py +0 -0
  15. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/bundle/payload.py +0 -0
  16. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/bundle/validator.py +0 -0
  17. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/__init__.py +0 -0
  18. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/base_env.py +0 -0
  19. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/crm/crm_env.py +0 -0
  20. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/crm/workdir/reward_fn.py +0 -0
  21. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/crm/workdir/salesforce_mcp.py +0 -0
  22. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/excel/data_utils.py +0 -0
  23. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/excel/excel_env.py +0 -0
  24. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/excel/workdir/__init__.py +0 -0
  25. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/excel/workdir/excel_code_runner_mcp.py +0 -0
  26. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/excel/workdir/excel_utils.py +0 -0
  27. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/excel/workdir/reward_fn.py +0 -0
  28. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/math/math_env.py +0 -0
  29. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/math/workdir/reward_fn.py +0 -0
  30. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/__init__.py +0 -0
  31. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/example_workdir/demo_mcp_server.py +0 -0
  32. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/example_workdir/reward_fn.py +0 -0
  33. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/parallel_mcp_env.py +0 -0
  34. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/provisioners/__init__.py +0 -0
  35. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/provisioners/base_provisioner.py +0 -0
  36. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/provisioners/local_provisioner.py +0 -0
  37. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/provisioners/manual_provisioner.py +0 -0
  38. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/provisioners/skypilot_provisioner.py +0 -0
  39. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/provisioners/utils.py +0 -0
  40. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/proxy_server.py +0 -0
  41. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/server_pool.py +0 -0
  42. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/mcp/utils.py +0 -0
  43. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/types.py +0 -0
  44. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/wikipedia/utils.py +0 -0
  45. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/envs/wikipedia/wiki_env.py +0 -0
  46. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/prompts/__init__.py +0 -0
  47. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax/prompts/tools.py +0 -0
  48. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax.egg-info/SOURCES.txt +0 -0
  49. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax.egg-info/dependency_links.txt +0 -0
  50. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax.egg-info/requires.txt +0 -0
  51. {benchmax-0.1.2.dev13 → benchmax-0.1.2.dev14}/src/benchmax.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: benchmax
3
- Version: 0.1.2.dev13
3
+ Version: 0.1.2.dev14
4
4
  Summary: Framework-Agnostic RL Environments for LLM Fine-Tuning
5
5
  Author: cgft.io
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "benchmax"
3
- version = "0.1.2.dev13"
3
+ version = "0.1.2.dev14"
4
4
  description = "Framework-Agnostic RL Environments for LLM Fine-Tuning"
5
5
  readme = "README.md"
6
6
  authors = [{ name = "cgft.io" }]
@@ -46,6 +46,7 @@ def bundle_env(
46
46
  BundlingError: If serialization fails.
47
47
  ValidationError: If structural validation fails.
48
48
  """
49
+ ensure_safe_python_version()
49
50
  pip_dependencies = pip_dependencies or []
50
51
  # --- Structural validation ---
51
52
  if validate:
@@ -110,6 +111,23 @@ def bundle_env(
110
111
  return payload
111
112
 
112
113
 
114
+ def ensure_safe_python_version() -> None:
115
+ v = sys.version_info
116
+
117
+ if (v.major, v.minor) == (3, 13):
118
+ full_version = f"{v.major}.{v.minor}.{v.micro}"
119
+ raise RuntimeError(
120
+ "\n"
121
+ "❌ Unsupported Python version detected.\n\n"
122
+ f"Current interpreter: Python {full_version}\n\n"
123
+ "Python 3.13.x has a pathlib.Path pickle incompatibility "
124
+ "that breaks cross-version unpickling.\n\n"
125
+ "Please use:\n"
126
+ " • Python <= 3.12\n"
127
+ " • OR Python >= 3.14\n"
128
+ )
129
+
130
+
113
131
  def write_bundle_files(
114
132
  bundle: BundledEnv, pickle_path: Path, metadata_path: Path
115
133
  ) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: benchmax
3
- Version: 0.1.2.dev13
3
+ Version: 0.1.2.dev14
4
4
  Summary: Framework-Agnostic RL Environments for LLM Fine-Tuning
5
5
  Author: cgft.io
6
6
  Classifier: Programming Language :: Python :: 3
File without changes
File without changes
File without changes