From 463a9eaf89dceb5e2e2facf0fc5f49ca83dc599f Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Thu, 18 Sep 2025 18:04:41 -0700 Subject: [PATCH] Require Python 3.7 or greater. --- README.md | 2 +- docs_src/changes.md | 2 ++ docs_src/upgrade.md | 5 +++++ pyproject.toml | 9 ++++----- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 89e23772..703ec0c5 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ stations using WeeWX. * Extensive almanac information * Uploads to your website via FTP, FTPS, or rsync * Uploads to online weather services -* Requires Python 3.6 or greater +* Requires Python 3.7 or greater Support for many online weather services, including: diff --git a/docs_src/changes.md b/docs_src/changes.md index 8355b543..7742b996 100644 --- a/docs_src/changes.md +++ b/docs_src/changes.md @@ -3,6 +3,8 @@ WeeWX change history ### 5.2.0 MM/DD/YYYY +Now require Python 3.7 or greater. + Added support for WOW-BE. PR [#1014](https://github.com/weewx/weewx/pull/1014). Fixes issue [#1013](https://github.com/weewx/weewx/issues/1013). Thanks to user John! diff --git a/docs_src/upgrade.md b/docs_src/upgrade.md index 9d4b2a96..e63075f5 100644 --- a/docs_src/upgrade.md +++ b/docs_src/upgrade.md @@ -44,6 +44,11 @@ sudo weectl station upgrade --config=/etc/weewx/other.conf ## Upgrading to V5.2 +### Python 3.7 or later is now required + +It has been 4 years since Python 3.6 reached end-of-life. + + ### Module `schema` has been relocated Module `schema` has been relocated such that it is now part of module `weewx`. diff --git a/pyproject.toml b/pyproject.toml index 26f96f92..6bae2ee1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "weewx" -version = "5.1.0" +version = "5.2.0" description = "The WeeWX weather software system." authors = [ "Tom Keffer ", @@ -20,13 +20,13 @@ classifiers = [ 'Operating System :: Unix', 'Operating System :: MacOS', 'Programming Language :: Python', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: Scientific/Engineering :: Physics' ] packages = [ @@ -52,7 +52,7 @@ exclude = [ ] [tool.poetry.dependencies] -python = "^3.6" +python = "^3.7" configobj = "^5.0" # This is the renamed "Cheetah" package: CT3 = "^3.1" @@ -61,7 +61,6 @@ ephem = "^4.1" PyMySQL = "^1.0" pyserial = "^3.4" pyusb = "^1.0.2" -importlib-resources = {version = ">=3.3", python = "3.6"} [tool.poetry.scripts] weectl = 'weectl:main' @@ -69,6 +68,6 @@ weewxd = 'weewxd:main' [build-system] # Minimum requirements for the build system to execute. -requires = ["poetry>=0.12"] +requires = ["poetry>1.5.1"] build-backend = "poetry.masonry.api"