1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-09-19 16:38:25 +02:00

pyproject.toml: use ~= for dependencies

These are the closest to semantic versioning in Python that I can
find with PEP 621 syntax. For example:

> ~=3.1: version 3.1 or later, but not version 4.0 or later.
> ~=3.1.2: version 3.1.2 or later, but not version 3.2.0 or later.

For most cases I want to bump the minor and micro / patch.

See: https://packaging.python.org/en/latest/specifications/version-specifiers/#examples
This commit is contained in:
Alan Orth 2024-05-23 10:01:46 +03:00
parent f500fac64b
commit f6c6c94a1e
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -7,15 +7,15 @@ authors = [
]
license= { file = "LICENSE.txt" }
dependencies = [
"pandas[feather,performance]>=2.2.1",
"python-stdnum>=1.19",
"requests>=2.31.0",
"requests-cache>=1.2.0",
"colorama>=0.4.6",
"ftfy>=6.1.3",
"country-converter>=1.2",
"pycountry>=23.12.11",
"py3langid>=0.2.2",
"pandas[feather,performance]~=2.2",
"python-stdnum~=1.19",
"requests~=2.31",
"requests-cache~=1.2",
"colorama~=0.4",
"ftfy~=6.1",
"country-converter~=1.2",
"pycountry~=23.12",
"py3langid~=0.2",
]
readme = "README.md"
requires-python = ">= 3.9"
@ -47,12 +47,12 @@ build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.0.2",
"pytest-clarity>=1.0.1",
"isort>=5.13.2",
"csvkit>=1.4.0",
"ipython>=8.22.1",
"fixit>=2.1.0",
"pytest~=8.0",
"pytest-clarity~=1.0",
"isort~=5.13",
"csvkit~=1.4",
"ipython~=8.22",
"fixit~=2.1",
]
# So hatch doesn't try to build other top-level directories like "data"