Move pywikidiff2 from a [tool.uv.sources] entry to a direct git URL in the dependency list, and switch it from ssh to anonymous https. The ssh URL required an account on the gitea instance just to install the package. A PEP 508 direct reference is understood by pip and every other standards-compliant installer, not just uv, so this is a step toward making uv an optional convenience rather than a requirement for working with this repository. Hatchling rejects direct references by default because they are not allowed in packages published to PyPI (this one is not); set tool.hatch.metadata.allow-direct-references to permit them. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
50 lines
1.1 KiB
TOML
50 lines
1.1 KiB
TOML
[project]
|
|
name = "mediawiki-dump-tools"
|
|
version = "0.1.1"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"deltas>=0.7.0",
|
|
"mediawiki-utilities>=0.4.18",
|
|
"more-itertools>=10.7.0",
|
|
"mwparserfromhell>=0.6.0",
|
|
"mwpersistence>=0.2.4",
|
|
"mwreverts>=0.1.5",
|
|
"mwtypes>=0.4.0",
|
|
"mwxml>=0.3.6",
|
|
"pyarrow>=20.0.0",
|
|
"pywikidiff2 @ git+https://gitea.communitydata.science/groceryheist/pywikidiff2.git",
|
|
"sortedcontainers>=2.4.0",
|
|
"yamlconf>=0.2.6",
|
|
]
|
|
|
|
[project.scripts]
|
|
wikiq = "wikiq:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/wikiq"]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[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",
|
|
"memray>=1.17.2",
|
|
"pandas>=2.1.0",
|
|
"pytest>=8.4.1",
|
|
"pytest-asyncio>=1.0.0",
|
|
"pytest-benchmark>=5.1.0",
|
|
]
|