Lock the major versions of all direct dependencies
All checks were successful
CI / Tests (Python 3.13) (push) Successful in 1m14s

Use ">=installed,<next major" as the version range,
the minor version for 0.x packages, and only
a lower bound for calendar-versioned packages.

`black` stays below v26 to keep 2 lines after the `import`s.

Also, remove the redundant `geopy` entry in the "dev" group.
This commit is contained in:
Alexander Hess 2026-11-25 14:15:57 +01:00
commit eb62ff2048
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -29,20 +29,20 @@ requires-python = ">=3.13,<4.0"
# Package => Code developed in *.py files and packaged under src/velofy
dependencies = [
"Shapely>=1.7.1",
"alembic>=1.4.2",
"click>=7.1.2",
"folium>=0.12.1",
"geopy>=2.1.0,<3",
"googlemaps>=4.4.2,<5",
"matplotlib>=3.3.3",
"ordered-set>=4.0.2,<5",
"pandas>=1.1.0",
"psycopg[binary]>=3.2", # Adapter for PostgreSQL
"rpy2>=3.4.1,<4",
"sqlalchemy>=1.3.18",
"statsmodels>=0.12.1",
"utm>=0.7.0",
"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",
]
@ -50,9 +50,9 @@ dependencies = [
# `jupyter lab` => Notebooks with analyses using the developed package
research = [
"jupyterlab>=2.2.2",
"numpy>=1.19.1",
"pytz>=2020.1",
"jupyterlab>=4.6.6,<5",
"numpy>=2.5.5,<3",
"pytz>=2026.6",
]
@ -81,32 +81,31 @@ skip-string-normalization = true # `wemake-python-styleguide` enforces single q
[tool.poetry.group.dev.dependencies]
# Task Runners
nox = ">=2020.5.24"
pre-commit = ">=2.6.0"
nox = ">=2026.10.20"
pre-commit = ">=4.7.0,<5"
# Code Formatters
autoflake = ">=1.3.1"
black = ">=19.10b0,<26"
isort = ">=4.3.21"
autoflake = ">=2.4.0,<3"
black = ">=25.12.0,<26"
isort = ">=9.0.2,<10"
# Code Analyzers
flake8 = ">=3.8.3"
flake8-annotations = ">=2.3.0"
flake8-black = ">=0.2.1"
flake8-pytest-style = ">=1.2.2"
mypy = ">=0.782"
flake8 = ">=7.5.0,<8"
flake8-annotations = ">=3.3.1,<4"
flake8-black = ">=0.5.0,<0.6"
flake8-pytest-style = ">=2.2.0,<3"
mypy = ">=2.4.1,<3"
# Test Suite
Faker = ">=5.0.1"
factory-boy = ">=3.1.0,<3.4"
geopy = "^2.1.0"
packaging = ">=20.4" # Used to test the packaged version
pytest = ">=6.0.1"
pytest-cov = ">=2.10.0"
pytest-env = ">=0.6.2"
pytest-mock = ">=3.5.1"
xdoctest = { version=">=0.13.0", extras=["optional"] }
Faker = ">=40.63.0,<41"
factory-boy = ">=3.3.3,<4"
packaging = ">=26.4" # Used to test the packaged version
pytest = ">=9.2.0,<10"
pytest-cov = ">=7.1.0,<8"
pytest-env = ">=1.8.8,<2"
pytest-mock = ">=3.17.0,<4"
xdoctest = { version=">=1.3.2,<2", extras=["optional"] }
# Documentation
sphinx = ">=3.1.2"
sphinx-autodoc-typehints = ">=1.11.0"
sphinx = ">=9.2.0,<10"
sphinx-autodoc-typehints = ">=3.17.7,<4"