Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump python ipware dependency, we are lagging behind in other projects #298

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 6 additions & 27 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "troncos"
version = "4.3.1"
version = "4.4.0"
description = "Collection of Python logging, tracing and profiling tools"
authors = [
"Guðmundur Björn Birkisson <gudmundur.birkisson@oda.com>",
Expand All @@ -21,7 +21,7 @@ opentelemetry-sdk = ">=1.19,<2"
opentelemetry-exporter-otlp-proto-http = ">=1.19,<2"
opentelemetry-exporter-otlp-proto-grpc = { version = ">=1.19,<2", optional = true }
structlog-sentry = { version = ">=2.0.0,<3", optional = true }
python-ipware = ">=1,<2"
python-ipware = ">=2,<3"
pyroscope-io = ">=0.8.0,<1"

[tool.poetry.extras]
Expand Down
2 changes: 1 addition & 1 deletion troncos/contrib/asgi/logging/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Any, Awaitable, Callable, Iterator, Mapping, MutableMapping, cast

import ddtrace
from ipware.ipware import IpWare
from python_ipware.python_ipware import IpWare
from starlette.types import ASGIApp

try:
Expand Down
2 changes: 1 addition & 1 deletion troncos/contrib/django/logging/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from asgiref.sync import iscoroutinefunction
from django.http import HttpRequest, HttpResponse
from django.utils.decorators import sync_and_async_middleware
from ipware.ipware import IpWare
from python_ipware.python_ipware import IpWare

try:
from structlog import get_logger
Expand Down
Loading