From 507335941de93a25722e4d5de419631c3b0cb476 Mon Sep 17 00:00:00 2001 From: Nathan TeBlunthuis Date: Tue, 15 Jul 2025 15:23:50 -0700 Subject: [PATCH] Revert "Merge branch 'compute-diffs' into HEAD" This reverts commit 907a35323edac3c751256a32a04d88b33f3da0f3, reversing changes made to c40506137b0a829bebd17cefdb5f139a75f40044. --- pyproject.toml | 1 - src/wikiq/__init__.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 60f2110..b312298 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ requires-python = ">=3.9" dependencies = [ "deltas>=0.7.0", "mediawiki-utilities>=0.4.18", - "more-itertools>=10.7.0", "mwpersistence>=0.2.4", "mwreverts>=0.1.5", "mwtypes>=0.4.0", diff --git a/src/wikiq/__init__.py b/src/wikiq/__init__.py index 6f0e508..52a68e8 100755 --- a/src/wikiq/__init__.py +++ b/src/wikiq/__init__.py @@ -12,7 +12,6 @@ import sys from collections import deque from hashlib import sha1 from io import TextIOWrapper -from more_itertools import chunked from itertools import groupby from subprocess import PIPE, Popen from typing import IO, Any, Generator, TextIO, Union @@ -677,8 +676,6 @@ class WikiqParser: writer = pq_writers[page.mwpage.namespace] writer.write(pa.record_batch(row_buffer, schema=schema)) - record_batch = pa.record_batch(output_buffer, schema=schema) - writer.write_batch(record_batch) page_count += 1 print(