From 5e581a78416238af001d1ec4fabd6689e9e3dbf2 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Fri, 20 Oct 2023 09:58:09 +0200 Subject: [PATCH] Issue #127 bump to python 3.10 --- CHANGELOG.md | 17 +++++++++++++---- Dockerfile | 2 +- Jenkinsfile | 2 +- pyproject.toml | 1 + setup.py | 2 +- src/openeo_aggregator/about.py | 2 +- 6 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5deecb80..28d0fa60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,21 +4,30 @@ All notable changes to this project will be documented in this file. The format is roughly based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [Current: 0.11.x] + +## [Current: 0.12.x] ### Added ### Changed -- Dockerfile: switch to `python:3.9-slim-bullseye` base image -- Parallelize `/jobs` requests to upstream back-ends ([#28](https://github.com/Open-EO/openeo-aggregator/issues/28)) -- Increase timeout on getting batch job logs to 120s ([#128](https://github.com/Open-EO/openeo-aggregator/issues/128)) +- Bump minimal required Python version to 3.10 ([#127](https://github.com/Open-EO/openeo-aggregator/issues/127)) ### Fixed ### Removed + +## [0.11.x] + +### Changed + +- Dockerfile: switch to `python:3.9-slim-bullseye` base image +- Parallelize `/jobs` requests to upstream back-ends ([#28](https://github.com/Open-EO/openeo-aggregator/issues/28)) +- Increase timeout on getting batch job logs to 120s ([#128](https://github.com/Open-EO/openeo-aggregator/issues/128)) + + ## [0.10.x] ### Added diff --git a/Dockerfile b/Dockerfile index 1820f1b6..297e9530 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-slim-bullseye +FROM python:3.10-slim-bullseye # Workaround for IPv4/IPv6 networking performance issues. diff --git a/Jenkinsfile b/Jenkinsfile index e99a1e7f..4c4845b5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,7 +5,7 @@ pythonPipeline { package_name = 'openeo-aggregator' test_module_name = 'openeo_aggregator' wipeout_workspace = true - python_version = ["3.8"] + python_version = ["3.10"] extras_require = 'dev' upload_dev_wheels = false build_container_image = true diff --git a/pyproject.toml b/pyproject.toml index 06022854..ee627a94 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,4 @@ [tool.black] line-length = 120 +target-version = ["py310", "py311"] diff --git a/setup.py b/setup.py index 1d181eaf..a6bc30da 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ data_files=[ ("openeo-aggregator", ["CHANGELOG.md"]), ], - python_requires=">=3.8", + python_requires=">=3.10", install_requires=[ "requests", "attrs", diff --git a/src/openeo_aggregator/about.py b/src/openeo_aggregator/about.py index f63d43d8..af952b5c 100644 --- a/src/openeo_aggregator/about.py +++ b/src/openeo_aggregator/about.py @@ -1,7 +1,7 @@ import logging import sys -__version__ = "0.11.1a1" +__version__ = "0.12.0a1" def log_version_info():