Skip to content

Commit

Permalink
Bump python ipware dependency, we are lagging behind in other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
eirsyl committed Jan 30, 2024
1 parent 6ab7637 commit 7d6fce9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 31 deletions.
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 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 import IpWare

try:
from structlog import get_logger
Expand Down

0 comments on commit 7d6fce9

Please sign in to comment.