uv/tests: add new 'ecosystem' integration tests (#5970)
At a high level, this PR adds a smattering of new tests that effectively snapshot the output of `uv lock` for a selection of "ecosystem" projects. That is, real Python projects for which we expect `uv` to work well with. The main idea with these tests is to get a better idea of how changes in `uv` impact the lock files of real world projects. For example, we're hoping that these tests will help give us data for how #5733 differs from #5887. This has already revealed some bugs. Namely, re-running `uv lock` for a second time will produce a different lock file for some projects. So to prioritize getting the tests added, for those projects, we don't do the deterministic checking.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
[project]
|
||||
name = "github-wikidata-bot"
|
||||
version = "0.4.0"
|
||||
requires-python = ">=3.12"
|
||||
license = { text = "BSD-2-Clause-Patent" }
|
||||
description = "Updates Wikidata entries using metadata from github"
|
||||
authors = [
|
||||
{ name = "konstin", email = "konstin@mailbox.org" },
|
||||
{ name = "Michael Schönitzer", email = "michael@schoenitzer.de" },
|
||||
]
|
||||
dependencies = [
|
||||
"CacheControl[filecache]>=0.14,<0.15",
|
||||
"mwparserfromhell >=0.6.4,<0.7",
|
||||
"pydantic >=2.7.1",
|
||||
"pywikibot >=9.1.2,<10",
|
||||
"sentry-sdk >=2.0.1,<3",
|
||||
"yarl >=1.9,<2",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
dev-dependencies = [
|
||||
"httpx >=0.27.0,<0.28",
|
||||
"pytest >=8.0.0,<9",
|
||||
"ruff >=0.5.0,<0.6",
|
||||
"tqdm >=4.66.4,<4.67",
|
||||
"types-requests >=2.31.0.20240406,<3",
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = ["B", "PT", "PTH", "TRY", "UP"]
|
||||
|
||||
[tool.mypy]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
Reference in New Issue
Block a user