Skip to content

Commit

Permalink
Deprecate Python 3.9 support and update the minio server version (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjperkins authored Nov 7, 2024
1 parent 5e144d8 commit 586dd75
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ name: Ubuntu CI

on:
push:
branches:
- master
tags:
- "*"
pull_request:
schedule:
- cron: '30 2 * * 1,4' # Every Monday and Thursday @ 2h30am UTC

env:
POETRY_VERSION: 1.6.1
MINIO_SERVER_DOWNLOAD_URL: https://dl.min.io/server/minio/release/linux-amd64/archive/minio_20231111081441.0.0_amd64.deb
POETRY_VERSION: 1.8.3
MINIO_SERVER_DOWNLOAD_URL: https://dl.min.io/server/minio/release/linux-amd64/archive/minio_20241029160148.0.0_amd64.deb

jobs:
check_skip:
Expand All @@ -33,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
Expand Down
3 changes: 3 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ 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`)

0.2.21 (2024-06-18)
Expand Down
4 changes: 2 additions & 2 deletions daskms/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 586dd75

Please sign in to comment.