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
2 changed files with 40 additions and 41 deletions

6
poetry.lock generated
View file

@ -1455,7 +1455,7 @@ version = "2.1"
description = "The geodesic routines from GeographicLib" description = "The geodesic routines from GeographicLib"
optional = false optional = false
python-versions = ">=3.7" python-versions = ">=3.7"
groups = ["main", "dev"] groups = ["main"]
files = [ files = [
{file = "geographiclib-2.1-py3-none-any.whl", hash = "sha256:e2a873b9b9e7fc38721ad73d5f4e6c9ed140d428a339970f505c07056997d40b"}, {file = "geographiclib-2.1-py3-none-any.whl", hash = "sha256:e2a873b9b9e7fc38721ad73d5f4e6c9ed140d428a339970f505c07056997d40b"},
{file = "geographiclib-2.1.tar.gz", hash = "sha256:6a6545e6262d0ed3522e13c515713718797e37ed8c672c31ad7b249f372ef108"}, {file = "geographiclib-2.1.tar.gz", hash = "sha256:6a6545e6262d0ed3522e13c515713718797e37ed8c672c31ad7b249f372ef108"},
@ -1467,7 +1467,7 @@ version = "2.5.0"
description = "Python Geocoding Toolbox" description = "Python Geocoding Toolbox"
optional = false optional = false
python-versions = ">=3.8" python-versions = ">=3.8"
groups = ["main", "dev"] groups = ["main"]
files = [ files = [
{file = "geopy-2.5.0-py3-none-any.whl", hash = "sha256:8ad8cc226b505ca4d272ae9a2eeba08b8a2c565fc9a04eaefc33ad49c32b51aa"}, {file = "geopy-2.5.0-py3-none-any.whl", hash = "sha256:8ad8cc226b505ca4d272ae9a2eeba08b8a2c565fc9a04eaefc33ad49c32b51aa"},
{file = "geopy-2.5.0.tar.gz", hash = "sha256:7b6c849f18108dcce4faa3d614e2801107b465f7b05fd3c1db9db12e225ae950"}, {file = "geopy-2.5.0.tar.gz", hash = "sha256:7b6c849f18108dcce4faa3d614e2801107b465f7b05fd3c1db9db12e225ae950"},
@ -5570,4 +5570,4 @@ research = ["jupyterlab", "numpy", "pytz"]
[metadata] [metadata]
lock-version = "2.1" lock-version = "2.1"
python-versions = ">=3.13,<4.0" python-versions = ">=3.13,<4.0"
content-hash = "aaec31f7ca506bb17856c4f2fc9412a30f6c3e2c4126a82410ef38aeecac6139" content-hash = "58a1f3c117121076e5f8a72d80318d6373578f3a53e04a9cedae516122babdad"

View file

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