xmanager-slurm 0.4.10__tar.gz → 0.4.11__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.
Potentially problematic release.
This version of xmanager-slurm might be problematic. Click here for more details.
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/PKG-INFO +1 -1
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/pyproject.toml +1 -1
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/uv.lock +1 -1
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/config.py +8 -3
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.devcontainer.json +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.github/workflows/ci.yml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.github/workflows/deploy-docs.yml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.gitignore +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.pdm-build/.gitignore +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.pdm-build/xm_slurm-0.1+editable.dist-info/METADATA +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.pdm-build/xm_slurm-0.1+editable.dist-info/WHEEL +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.pdm-build/xm_slurm.pth +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.pre-commit-config.yaml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.python-version +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.vscode/settings.json +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/LICENSE.md +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/README.md +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/api/executables.rst +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/api/executors.rst +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/api/packageables.rst +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/assets/workflow-dark.svg +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/assets/workflow-light.svg +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/conf.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/getting-started/xmanager.md +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/guides/index.md +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/guides/remote-dev.md +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/docs/index.md +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/conda/environment.yml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/conda/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/conda/main.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/conda/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/custom-dockerfile/Dockerfile +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/custom-dockerfile/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/custom-dockerfile/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-array-sweep/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-array-sweep/main.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-array-sweep/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-array-sweep/uv.lock +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-dependencies/eval.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-dependencies/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-dependencies/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-dependencies/train.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-dependencies/uv.lock +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-group/Dockerfile +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-group/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-group/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-group/uv.lock +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-timeout/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-timeout/main.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-timeout/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/job-timeout/uv.lock +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/metadata/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/metadata/main.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/metadata/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/metadata/requirements.txt +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/parameter-controller/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/parameter-controller/main.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/parameter-controller/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/parameter-controller/requirements.txt +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/pip/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/pip/main.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/pip/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/pip/requirements.txt +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/uv/launch.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/uv/pyproject.toml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/uv/uv.lock +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/conftest.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/Dockerfile +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/README.md +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/cgroup.conf +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/docker-compose.yml +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/docker-entrypoint.sh +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/host_ed25519 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/host_ed25519.pub +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/id_ed25519 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/id_ed25519.pub +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/slurm.conf +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/slurmdbd.conf +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/sshd_config +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/test_remote_execution.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/test_dependencies.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/__init__.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/api/__init__.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/api/abc.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/api/models.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/api/sqlite/client.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/api/web/client.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/batching.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/console.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/constants.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/contrib/__init__.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/contrib/clusters/__init__.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/contrib/clusters/drac.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/dependencies.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/executables.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/execution.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/executors.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/experiment.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/experimental/parameter_controller.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/filesystem.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/job_blocks.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/metadata_context.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/packageables.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/packaging/__init__.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/packaging/docker.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/packaging/registry.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/packaging/router.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/packaging/utils.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/resources.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/scripts/_cloudpickle.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/scripts/cli.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/status.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/docker/docker-bake.hcl.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/docker/mamba.Dockerfile +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/docker/python.Dockerfile +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/docker/uv.Dockerfile +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/entrypoint.bash.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/fragments/monitor.bash.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/fragments/proxy.bash.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/job-array.bash.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/job-group.bash.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/job.bash.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/runtimes/apptainer.bash.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/runtimes/podman.bash.j2 +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/types.py +0 -0
- {xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/utils.py +0 -0
|
@@ -62,9 +62,14 @@ class SlurmSSHConfig:
|
|
|
62
62
|
if self.host_public_key is None:
|
|
63
63
|
return None
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
hostname = f"{self.host}"
|
|
66
|
+
if self.port is not None and self.port != asyncssh.DEFAULT_PORT:
|
|
67
|
+
hostname = f"[{hostname}]:{self.port}"
|
|
68
|
+
|
|
69
|
+
known_hosts = asyncssh.import_known_hosts(
|
|
70
|
+
f"{hostname} {self.host_public_key.algorithm} {self.host_public_key.key}"
|
|
67
71
|
)
|
|
72
|
+
return known_hosts
|
|
68
73
|
|
|
69
74
|
@functools.cached_property
|
|
70
75
|
def config(self) -> asyncssh.config.SSHConfig:
|
|
@@ -117,9 +122,9 @@ class SlurmSSHConfig:
|
|
|
117
122
|
def connection_options(self) -> asyncssh.SSHClientConnectionOptions:
|
|
118
123
|
options = asyncssh.SSHClientConnectionOptions(
|
|
119
124
|
config=None,
|
|
120
|
-
kbdint_auth=False,
|
|
121
125
|
disable_trivial_auth=True,
|
|
122
126
|
known_hosts=self.known_hosts,
|
|
127
|
+
server_host_key_algs=self.host_public_key.algorithm if self.host_public_key else None,
|
|
123
128
|
)
|
|
124
129
|
options.prepare(last_config=self.config)
|
|
125
130
|
return options
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.pdm-build/xm_slurm-0.1+editable.dist-info/METADATA
RENAMED
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/.pdm-build/xm_slurm-0.1+editable.dist-info/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/parameter-controller/pyproject.toml
RENAMED
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/examples/parameter-controller/requirements.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/cgroup.conf
RENAMED
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/docker-compose.yml
RENAMED
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/host_ed25519
RENAMED
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/host_ed25519.pub
RENAMED
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/id_ed25519.pub
RENAMED
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/slurmdbd.conf
RENAMED
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/tests/integration/fixtures/slurm/sshd_config
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/experimental/parameter_controller.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/docker/docker-bake.hcl.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/fragments/monitor.bash.j2
RENAMED
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/fragments/proxy.bash.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/runtimes/apptainer.bash.j2
RENAMED
|
File without changes
|
{xmanager_slurm-0.4.10 → xmanager_slurm-0.4.11}/xm_slurm/templates/slurm/runtimes/podman.bash.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|