Require Python 3.7 or greater.

This commit is contained in:
Tom Keffer
2025-09-18 18:04:41 -07:00
parent 291e02b999
commit 463a9eaf89
4 changed files with 12 additions and 6 deletions

View File

@@ -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:

View File

@@ -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!

View File

@@ -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`.

View File

@@ -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 <tkeffer@gmail.com>",
@@ -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"