1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-01-03 01:27:05 +01: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" } license= { file = "LICENSE.txt" }
dependencies = [ dependencies = [
"pandas[feather,performance]>=2.2.1", "pandas[feather,performance]~=2.2",
"python-stdnum>=1.19", "python-stdnum~=1.19",
"requests>=2.31.0", "requests~=2.31",
"requests-cache>=1.2.0", "requests-cache~=1.2",
"colorama>=0.4.6", "colorama~=0.4",
"ftfy>=6.1.3", "ftfy~=6.1",
"country-converter>=1.2", "country-converter~=1.2",
"pycountry>=23.12.11", "pycountry~=23.12",
"py3langid>=0.2.2", "py3langid~=0.2",
] ]
readme = "README.md" readme = "README.md"
requires-python = ">= 3.9" requires-python = ">= 3.9"
@ -47,12 +47,12 @@ build-backend = "hatchling.build"
[tool.rye] [tool.rye]
managed = true managed = true
dev-dependencies = [ dev-dependencies = [
"pytest>=8.0.2", "pytest~=8.0",
"pytest-clarity>=1.0.1", "pytest-clarity~=1.0",
"isort>=5.13.2", "isort~=5.13",
"csvkit>=1.4.0", "csvkit~=1.4",
"ipython>=8.22.1", "ipython~=8.22",
"fixit>=2.1.0", "fixit~=2.1",
] ]
# So hatch doesn't try to build other top-level directories like "data" # So hatch doesn't try to build other top-level directories like "data"