From 7c2d216985cf4b25eda3594271dc038b6fdf5d22 Mon Sep 17 00:00:00 2001 From: Ilias Sarantopoulos Date: Wed, 20 Sep 2023 18:40:11 +0300 Subject: [PATCH] fix: upgrade mwparsefromhell to solve memory leak (#549) --- CHANGELOG.md | 4 ++++ requirements.txt | 2 +- revscoring/about.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ec60087..129c2aef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## [2.11.13] +* Force mwparserfromhell to use version older than 0.6.5 as there was a memory leak solved. + https://github.com/earwig/mwparserfromhell/pull/303 + ## [2.11.12] * Switch yamlconf to wmf maintained fork. diff --git a/requirements.txt b/requirements.txt index 1a8b32fc..f59f5619 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ more-itertools >= 7.2.0, < 7.2.999 mwapi >= 0.5.0, < 0.6.999 mwbase >= 0.1.4, < 0.1.999 mwtypes >= 0.2.0, < 0.3.999 -mwparserfromhell >= 0.6.1, < 0.6.999 +mwparserfromhell >= 0.6.5, < 0.6.999 mysqltsv >= 0.0.7, < 0.0.999 nltk >= 3.6.6 numpy >= 1.21.5, < 1.25.0 diff --git a/revscoring/about.py b/revscoring/about.py index 523b1d46..55983d4c 100644 --- a/revscoring/about.py +++ b/revscoring/about.py @@ -1,5 +1,5 @@ __name__ = "revscoring" -__version__ = "2.11.12" +__version__ = "2.11.13" __author__ = "Aaron Halfaker" __author_email__ = "ahalfaker@wikimedia.org" __description__ = ("A set of utilities for generating quality scores for" +