From e1bb39343abde22e3f48dbf2502c1798920dc632 Mon Sep 17 00:00:00 2001 From: Adrien Montagu Date: Mon, 27 Jan 2025 11:54:07 +0100 Subject: [PATCH] try including package but not working --- django_socio_grpc/protobuf/json_format.py | 2 -- pyproject.toml | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django_socio_grpc/protobuf/json_format.py b/django_socio_grpc/protobuf/json_format.py index 0676834a..560d7d44 100644 --- a/django_socio_grpc/protobuf/json_format.py +++ b/django_socio_grpc/protobuf/json_format.py @@ -6,10 +6,8 @@ # Since protobuf>=26 we have to use the "always_print_fields_with_no_presence" argument if "including_default_value_fields" in signature(MessageToDict).parameters: - print(1) _NO_PRESENCE_ARG = "including_default_value_fields" else: - print(2) _NO_PRESENCE_ARG = "always_print_fields_with_no_presence" diff --git a/pyproject.toml b/pyproject.toml index bcc3eb5d..46cb4d63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,9 @@ license = "Apache-2.0" requires-python = ">=3.10" [tool.poetry] -package-mode = false +packages = [ + { include = "django_socio_grpc" }, +] [tool.poetry.scripts] tests = "test_utils.load_tests:launch"