From ac8110894b6fdd0d70bab692a775a961e0ad39f7 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Thu, 13 Aug 2026 13:35:14 -0700 Subject: [PATCH] resolve dependencies from PyPI instead of pinned git forks Drop the [tool.uv.sources] pins of deltas, mwxml, and yamlconf to forks under a personal github account: - The deltas fork was byte-identical to upstream. - The mwxml fork carried one patch to mwxml.map(), which wikiq does not call, and was missing eleven upstream commits of fixes. Require mwxml >= 0.3.8 for those fixes; note that 0.3.7 changed namespace handling to trust the dump's embedded tag rather than overriding it based on the title prefix. - The yamlconf fork loosened an old pyyaml pin. yamlconf is not imported by wikiq and is only needed transitively via deltas, so drop the direct dependency. PyPI's 0.2.6 pinned pyyaml == 5.4.1, which has no wheels for 3.11+ and no longer builds from source; that was fixed upstream in 0.2.7, and the project has since moved to the mediawiki-utilities organization. With pywikidiff2 no longer a dependency at all, no uv-specific configuration remains and the package installs with plain pip. Co-Authored-By: Claude Opus 5 --- pyproject.toml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 38d69e7..c7db2c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,10 +11,9 @@ dependencies = [ "mwpersistence>=0.2.4", "mwreverts>=0.1.5", "mwtypes>=0.4.0", - "mwxml>=0.3.6", + "mwxml>=0.3.8", "pyarrow>=20.0.0", "sortedcontainers>=2.4.0", - "yamlconf>=0.2.6", ] # Two features carry dependencies that are awkward enough to install that they @@ -38,12 +37,6 @@ build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["src/wikiq"] -[tool.uv.sources] - -yamlconf = { git = "https://github.com/groceryheist/yamlconf" } -mwxml = { git = "https://github.com/groceryheist/python-mwxml" } -deltas = { git = "https://github.com/groceryheist/deltas" } - [dependency-groups] dev = [ "ipython>=8.18.1",