Skip to content

Commit

Permalink
Merge pull request #1585 from jertel/jertel/wip
Browse files Browse the repository at this point in the history
restore support for Python 3.12
  • Loading branch information
nsano-rururu authored Nov 30, 2024
2 parents ba8b7a7 + 939a7d0 commit 8b17990
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 2.TBD.TBD

## Breaking changes
- None
- Note that version 2.21 upgraded Python to 3.13 and unintentionally dropped support for Python 3.12. This release, restores support for Python 3.12, while continuing to use Python 3.13 in the official ElastAlert 2 Docker image. Python 3.12 support will be dropped in a future release. - [#1585](https://github.com/jertel/elastalert2/pull/1585) - @jertel

## New features
- None
Expand All @@ -12,7 +12,7 @@
# 2.21.0

## Breaking changes
- None
- Be aware that this version dropped support for Python 3.12. It was re-added in the following release due to some distributions not yet supporting Python 3.13.

## New features
- [Notifications] System error notifications can now be delivered via the same set of alerters as rule alerts - [#1546](https://github.com/jertel/elastalert2/pull/1546) - @jertel
Expand Down
2 changes: 1 addition & 1 deletion docs/source/running_elastalert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Requirements

- Elasticsearch 7.x or 8.x, or OpenSearch 1.x or 2.x
- ISO8601 or Unix timestamped data
- Python 3.13. Require OpenSSL 3.0.8 or newer.
- Python 3.13. Require OpenSSL 3.0.8 or newer. Note that Python 3.12 is still supported but will be removed in a future release.
- pip
- Packages on Ubuntu 24.04: build-essential python3-pip python3.13 python3.13-dev libffi-dev libssl-dev

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
'elastalert=elastalert.elastalert:main']},
packages=find_packages(exclude=["tests"]),
package_data={'elastalert': ['schema.yaml', 'es_mappings/**/*.json']},
python_requires='>=3.13',
python_requires='>=3.12',
install_requires=[
'apscheduler>=3.10.4,<4.0',
'aws-requests-auth>=0.4.3',
Expand Down

0 comments on commit 8b17990

Please sign in to comment.