Use SemVer-like versioning for the dependencies

This commit is contained in:
Alexander Hess 2026-11-25 15:59:53 +01:00
commit 4ae9d48f30
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -1,7 +1,7 @@
[build-system]
build-backend = "uv_build"
requires = ["uv_build>=0.12.20,<0.13"]
requires = ["uv_build (>=0.12.20,<0.13.0)"]
@ -29,20 +29,20 @@ requires-python = ">=3.13,<4.0"
# Package => Code developed in *.py files and packaged under src/velofy
dependencies = [
"Shapely>=2.2.0,<3",
"alembic>=1.20.1,<2",
"click>=8.5.1,<9",
"folium>=1.0.0,<2",
"geopy>=2.5.0,<3",
"googlemaps>=4.10.0,<5",
"matplotlib>=3.11.2,<4",
"ordered-set>=4.1.0,<5",
"pandas>=3.1.1,<4",
"psycopg[binary]>=3.3.9,<4", # Adapter for PostgreSQL
"rpy2>=3.6.9,<4",
"sqlalchemy>=2.1.9,<3",
"statsmodels>=0.15.0,<0.16",
"utm>=0.9.0,<0.10",
"Shapely (>=2.2.0,<3.0.0)",
"alembic (>=1.20.1,<2.0.0)",
"click (>=8.5.1,<9.0.0)",
"folium (>=1.0.0,<2.0.0)",
"geopy (>=2.5.0,<3.0.0)",
"googlemaps (>=4.10.0,<5.0.0)",
"matplotlib (>=3.11.2,<4.0.0)",
"ordered-set (>=4.1.0,<5.0.0)",
"pandas (>=3.1.1,<4.0.0)",
"psycopg[binary] (>=3.3.9,<4.0.0)", # Adapter for PostgreSQL
"rpy2 (>=3.6.9,<4.0.0)",
"sqlalchemy (>=2.1.9,<3.0.0)",
"statsmodels (>=0.15.0,<0.16.0)",
"utm (>=0.9.0,<0.10.0)",
]
@ -50,9 +50,9 @@ dependencies = [
# `jupyter lab` => Notebooks with analyses using the developed package
research = [
"jupyterlab>=4.6.6,<5",
"numpy>=2.5.5,<3",
"pytz>=2026.6",
"jupyterlab (>=4.6.6,<5.0.0)",
"numpy (>=2.5.5,<3.0.0)",
"pytz (>=2026.6)",
]
@ -72,37 +72,37 @@ repository = "https://code.webartifex.de/alexander/velofy"
dev = [
# Task Runners
"nox>=2026.10.20",
"pre-commit>=4.7.0,<5",
"nox (>=2026.10.20)",
"pre-commit (>=4.7.0,<5.0.0)",
# Code Formatters
"autoflake>=2.4.0,<3",
"black>=25.12.0,<26",
"isort>=9.0.2,<10",
"autoflake (>=2.4.0,<3.0.0)",
"black (>=25.12.0,<26.0.0)",
"isort (>=9.0.2,<10.0.0)",
# Code Analyzers
"flake8>=7.5.0,<8",
"flake8-annotations>=3.3.1,<4",
"flake8-black>=0.5.0,<0.6",
"flake8-pyproject>=1.2.4,<2",
"flake8-pytest-style>=2.2.0,<3",
"mypy>=2.4.1,<3",
"flake8 (>=7.5.0,<8.0.0)",
"flake8-annotations (>=3.3.1,<4.0.0)",
"flake8-black (>=0.5.0,<0.6.0)",
"flake8-pyproject (>=1.2.4,<2.0.0)",
"flake8-pytest-style (>=2.2.0,<3.0.0)",
"mypy (>=2.4.1,<3.0.0)",
]
test = [
"factory-boy>=3.3.3,<4",
"Faker>=40.63.0,<41",
"packaging>=26.4", # Used to test the packaged version
"pytest-cov>=7.1.0,<8",
"pytest-env>=1.8.8,<2",
"pytest-mock>=3.17.0,<4",
"pytest>=9.2.0,<10",
"xdoctest[optional]>=1.3.2,<2",
"factory-boy (>=3.3.3,<4.0.0)",
"Faker (>=40.63.0,<41.0.0)",
"packaging (>=26.4)", # Used to test the packaged version
"pytest-cov (>=7.1.0,<8.0.0)",
"pytest-env (>=1.8.8,<2.0.0)",
"pytest-mock (>=3.17.0,<4.0.0)",
"pytest (>=9.2.0,<10.0.0)",
"xdoctest[optional] (>=1.3.2,<2.0.0)",
]
docs = [
"sphinx>=9.2.0,<10",
"sphinx-autodoc-typehints>=3.17.7,<4",
"sphinx (>=9.2.0,<10.0.0)",
"sphinx-autodoc-typehints (>=3.17.7,<4.0.0)",
]