diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8472cd2a..9ac2c4d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - name: Create Cache Hash diff --git a/HISTORY.rst b/HISTORY.rst index 6413e561..2c57bb86 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -4,6 +4,7 @@ History X.Y.Z (YYYY-MM-DD) ------------------ +* Deprecate Python 3.9 support (:pr:`338`) * Update minio server version (:pr:`338`) * Remove complicated push setup in github action workflow (:pr:`338`) * Fix date typo in HISTORY.rst (:pr:`336`) diff --git a/daskms/conftest.py b/daskms/conftest.py index e14e0014..6d4833a3 100644 --- a/daskms/conftest.py +++ b/daskms/conftest.py @@ -297,8 +297,8 @@ def minio_server(tmp_path_factory): server_process = Popen(args, env=env, shell=False, stdout=PIPE, stderr=PIPE) try: - while line := server_process.stdout.readline(): - if "Documentation: ".encode("utf-8") in line: + while line := server_process.stderr.readline(): + if "Docs: ".encode("utf-8") in line: break retcode = server_process.poll() diff --git a/pyproject.toml b/pyproject.toml index 6000a89e..68a0bf83 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ readme = "README.rst" packages = [{include = "daskms"}] [tool.poetry.dependencies] -python = "^3.9, < 3.13" +python = "^3.10, < 3.13" appdirs = "^1.4.4" dask = {extras = ["array"], version = ">= 2023.1.1"} donfig = ">= 0.8.0"