From e0c44dd860b0fcc8646901d0466369dce1180cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Nowak?= Date: Fri, 27 Dec 2024 21:45:50 +0100 Subject: [PATCH] Update rowerowe_gminy dependency to include otel support in pyproject.toml --- pdm.lock | 22 +++++++++++----------- pyproject.toml | 5 +++-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/pdm.lock b/pdm.lock index 1ea321f..d086732 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "api", "api-worker", "db", "db-common", "dev", "geo", "geobase", "otel", "scrap", "wha", "wkk", "worker"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:2cea32bbb29f7bb8933154a1b7ab7319de974f0c79454f85f28d8f581c3052db" +content_hash = "sha256:958eb838472ec0f3f76b8c88ea846d82fb29359543b82f67a2fbd13eaa443e40" [[metadata.targets]] requires_python = ">=3.12" @@ -33,7 +33,7 @@ name = "aiofiles" version = "24.1.0" requires_python = ">=3.8" summary = "File support for asyncio." -groups = ["geo", "geobase", "worker"] +groups = ["geobase"] files = [ {file = "aiofiles-24.1.0-py3-none-any.whl", hash = "sha256:b4ec55f4195e3eb5d7abd1bf7e061763e864dd4954231fb8539a0ef8bb8260e5"}, {file = "aiofiles-24.1.0.tar.gz", hash = "sha256:22a075c9e5a3810f0c2e48f3008c94d68c65d763b9b03857924c99e57355166c"}, @@ -391,7 +391,7 @@ name = "duckdb" version = "1.1.3" requires_python = ">=3.7.0" summary = "DuckDB in-process database" -groups = ["geo", "geobase", "worker"] +groups = ["geobase"] files = [ {file = "duckdb-1.1.3-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:a433ae9e72c5f397c44abdaa3c781d94f94f4065bcbf99ecd39433058c64cb38"}, {file = "duckdb-1.1.3-cp312-cp312-macosx_12_0_universal2.whl", hash = "sha256:d08308e0a46c748d9c30f1d67ee1143e9c5ea3fbcccc27a47e115b19e7e78aa9"}, @@ -640,7 +640,7 @@ name = "geojson" version = "3.1.0" requires_python = ">=3.7" summary = "Python bindings and utilities for GeoJSON" -groups = ["geo", "geobase", "worker"] +groups = ["geobase"] files = [ {file = "geojson-3.1.0-py3-none-any.whl", hash = "sha256:68a9771827237adb8c0c71f8527509c8f5bef61733aa434cefc9c9d4f0ebe8f3"}, {file = "geojson-3.1.0.tar.gz", hash = "sha256:58a7fa40727ea058efc28b0e9ff0099eadf6d0965e04690830208d3ef571adac"}, @@ -684,7 +684,7 @@ name = "greenlet" version = "3.1.1" requires_python = ">=3.7" summary = "Lightweight in-process concurrent programming" -groups = ["api", "db", "db-common", "wha", "wkk"] +groups = ["api", "db", "db-common"] marker = "(platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\") and python_version < \"3.13\" or sys_platform == \"darwin\"" files = [ {file = "greenlet-3.1.1-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:4afe7ea89de619adc868e087b4d2359282058479d7cfb94970adf4b55284574d"}, @@ -1496,7 +1496,7 @@ name = "polyline" version = "2.0.2" requires_python = ">=3.7" summary = "A Python implementation of Google's Encoded Polyline Algorithm Format." -groups = ["geo", "geobase", "wkk", "worker"] +groups = ["geobase", "wkk"] files = [ {file = "polyline-2.0.2-py3-none-any.whl", hash = "sha256:389655c893bdabf2863c6aaa49490cf83dcdcec86ae715f67044ee98be57bef5"}, {file = "polyline-2.0.2.tar.gz", hash = "sha256:10541e759c5fd51f746ee304e9af94744089a4055b6257b293b3afd1df64e369"}, @@ -1566,7 +1566,7 @@ name = "psycopg" version = "3.2.3" requires_python = ">=3.8" summary = "PostgreSQL database adapter for Python" -groups = ["api", "db", "db-common", "wha", "wkk"] +groups = ["db-common"] dependencies = [ "backports-zoneinfo>=0.2.0; python_version < \"3.9\"", "typing-extensions>=4.6; python_version < \"3.13\"", @@ -1582,7 +1582,7 @@ name = "psycopg-binary" version = "3.2.3" requires_python = ">=3.8" summary = "PostgreSQL database adapter for Python -- C optimisation distribution" -groups = ["api", "db", "db-common", "wha", "wkk"] +groups = ["db-common"] marker = "implementation_name != \"pypy\"" files = [ {file = "psycopg_binary-3.2.3-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:48f8ca6ee8939bab760225b2ab82934d54330eec10afe4394a92d3f2a0c37dd6"}, @@ -1615,7 +1615,7 @@ version = "3.2.3" extras = ["binary"] requires_python = ">=3.8" summary = "PostgreSQL database adapter for Python" -groups = ["api", "db", "db-common", "wha", "wkk"] +groups = ["db-common"] dependencies = [ "psycopg-binary==3.2.3; implementation_name != \"pypy\"", "psycopg==3.2.3", @@ -2045,7 +2045,7 @@ name = "sqlalchemy" version = "2.0.36" requires_python = ">=3.7" summary = "Database Abstraction Library" -groups = ["api", "db", "db-common", "wha", "wkk"] +groups = ["api", "db", "db-common"] dependencies = [ "greenlet!=0.4.17; (platform_machine == \"win32\" or platform_machine == \"WIN32\" or platform_machine == \"AMD64\" or platform_machine == \"amd64\" or platform_machine == \"x86_64\" or platform_machine == \"ppc64le\" or platform_machine == \"aarch64\") and python_version < \"3.13\"", "importlib-metadata; python_version < \"3.8\"", @@ -2177,7 +2177,7 @@ name = "tzdata" version = "2024.2" requires_python = ">=2" summary = "Provider of IANA time zone data" -groups = ["api", "db", "db-common", "geo", "scrap", "wha", "wkk"] +groups = ["db-common", "geo", "scrap"] files = [ {file = "tzdata-2024.2-py2.py3-none-any.whl", hash = "sha256:a48093786cdcde33cad18c2555e8532f34422074448fbc874186f0abd79565cd"}, {file = "tzdata-2024.2.tar.gz", hash = "sha256:7d85cc416e9382e69095b7bdf4afd9e3880418a2413feec7069d533d6b4e31cc"}, diff --git a/pyproject.toml b/pyproject.toml index 3cf0af9..94f196f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,12 +47,13 @@ geobase = [ otel = [ "opentelemetry-distro>=0.48b0", "opentelemetry-exporter-otlp>=1.27.0", + "opentelemetry-sdk>=1.28.2", ] scrap = ["pandas>=2.2.2", "lxml>=5.3.0", "beautifulsoup4>=4.12.3"] wha = [ "litestar[standard, opentelemetry]>=2.11.0", "nats-py[nkeys]>=2.9.0", - "rowerowe_gminy[db-common]", + "rowerowe_gminy[db-common, otel]", ] wkk = [ "polyline>=2.0.2", @@ -65,7 +66,7 @@ worker = [ "faststream[nats, otel]>=0.5.25", "click>=8.1.7", "nats-py[nkeys,aiohttp]>=2.9.0", - "rowerowe_gminy[geobase]", + "rowerowe_gminy[geobase, otel]", ] [build-system]