diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 273802e68..4ee435183 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -49,7 +49,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] + python: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/src/dstack/_internal/cli/services/configurators/run.py b/src/dstack/_internal/cli/services/configurators/run.py index 911e80a6d..caef97f89 100644 --- a/src/dstack/_internal/cli/services/configurators/run.py +++ b/src/dstack/_internal/cli/services/configurators/run.py @@ -34,7 +34,6 @@ BaseRunConfigurationWithPorts, DevEnvironmentConfiguration, PortMapping, - PythonVersion, RunConfigurationType, ServiceConfiguration, TaskConfiguration, @@ -73,12 +72,6 @@ def apply_configuration( ): self.apply_args(conf, configurator_args, unknown_args) self.validate_gpu_vendor_and_image(conf) - if conf.python == PythonVersion.PY38: - logger.warning( - "Specifying [code]python: 3.8[/] in run configurations is deprecated" - " and will be forbidden in a future [code]dstack[/] release." - " Please upgrade your configuration to a newer Python version." - ) if repo is None: repo = self.api.repos.load(Path.cwd()) config_manager = ConfigManager() diff --git a/src/dstack/_internal/core/models/configurations.py b/src/dstack/_internal/core/models/configurations.py index 1ddc69ab8..b416e845b 100644 --- a/src/dstack/_internal/core/models/configurations.py +++ b/src/dstack/_internal/core/models/configurations.py @@ -31,7 +31,6 @@ class RunConfigurationType(str, Enum): class PythonVersion(str, Enum): - PY38 = "3.8" # TODO(0.19 or earlier): drop 3.8, stop building Docker images with 3.8 PY39 = "3.9" PY310 = "3.10" PY311 = "3.11"