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