nucliadb-utils 5.1.2.post1364__py3-none-any.whl → 5.1.2.post1377__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nucliadb_utils/const.py CHANGED
@@ -76,11 +76,6 @@ class Features:
76
76
  READ_REPLICA_SEARCHES = "nucliadb_read_replica_searches"
77
77
  VERSIONED_PRIVATE_PREDICT = "nucliadb_versioned_private_predict"
78
78
  REBALANCE_KB = "nucliadb_rebalance_kb"
79
- CORS_MIDDLEWARE = "nucliadb_cors_middleware_enabled"
80
- NODE_SET_RESOURCE_FROM_STORAGE = "nucliadb_node_set_resource_from_storage"
81
- FIND_MERGE_ORDER_FIX = "nucliadb_find_merge_order_fix"
82
- PG_CATALOG_READ = "nucliadb_pg_catalog_read"
83
- PG_CATALOG_WRITE = "nucliadb_pg_catalog_write"
84
79
  SKIP_EXTERNAL_INDEX = "nucliadb_skip_external_index"
85
80
  NATS_SYNC_ACK = "nucliadb_nats_sync_ack"
86
81
  LOG_REQUEST_PAYLOADS = "nucliadb_log_request_payloads"
@@ -53,26 +53,6 @@ DEFAULT_FLAG_DATA: dict[str, Any] = {
53
53
  "rollout": 0,
54
54
  "variants": {"environment": ["local"]},
55
55
  },
56
- const.Features.CORS_MIDDLEWARE: {
57
- "rollout": 0,
58
- "variants": {"environment": ["local"]},
59
- },
60
- const.Features.NODE_SET_RESOURCE_FROM_STORAGE: {
61
- "rollout": 0,
62
- "variants": {"environment": ["none"]},
63
- },
64
- const.Features.FIND_MERGE_ORDER_FIX: {
65
- "rollout": 0,
66
- "variants": {"environment": ["local"]},
67
- },
68
- const.Features.PG_CATALOG_READ: {
69
- "rollout": 0,
70
- "variants": {"environment": ["local"]},
71
- },
72
- const.Features.PG_CATALOG_WRITE: {
73
- "rollout": 0,
74
- "variants": {"environment": ["local"]},
75
- },
76
56
  const.Features.SKIP_EXTERNAL_INDEX: {
77
57
  "rollout": 0,
78
58
  "variants": {"environment": ["none"]},
@@ -39,9 +39,12 @@ from nucliadb_utils.tests import free_port
39
39
  DOCKER_ENV_GROUPS = re.search(r"//([^:]+)", docker.from_env().api.base_url)
40
40
  DOCKER_HOST: Optional[str] = DOCKER_ENV_GROUPS.group(1) if DOCKER_ENV_GROUPS else None
41
41
 
42
+ # This images has the XML API in this PR https://github.com/fsouza/fake-gcs-server/pull/1164
43
+ # which is needed because the Rust crate object_store uses it
44
+ # If this gets merged, we can switch to the official image
42
45
  images.settings["gcs"] = {
43
- "image": "fsouza/fake-gcs-server",
44
- "version": "1.44.1",
46
+ "image": "tustvold/fake-gcs-server",
47
+ "version": "latest",
45
48
  "options": {},
46
49
  }
47
50
 
@@ -57,7 +60,7 @@ class GCS(BaseImage):
57
60
  options = super().get_image_options()
58
61
  options["ports"] = {str(self.port): str(self.port)}
59
62
  options["command"] = (
60
- f"-scheme http -external-url http://{DOCKER_HOST}:{self.port} -port {self.port}"
63
+ f"-scheme http -external-url http://{DOCKER_HOST}:{self.port} -port {self.port} -public-host 172.17.0.1:{self.port}"
61
64
  )
62
65
  return options
63
66
 
@@ -88,7 +91,7 @@ def gcs_storage_settings(gcs) -> dict[str, Any]:
88
91
  "gcs_location": "location",
89
92
  }
90
93
  extended_settings = {
91
- "gcs_deadletter_bucket": "deadletters",
94
+ "gcs_deadletter_bucket": "deadletter",
92
95
  "gcs_indexing_bucket": "indexing",
93
96
  }
94
97
  with ExitStack() as stack:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nucliadb_utils
3
- Version: 5.1.2.post1364
3
+ Version: 5.1.2.post1377
4
4
  Home-page: https://nuclia.com
5
5
  License: BSD
6
6
  Classifier: Development Status :: 4 - Beta
@@ -24,8 +24,8 @@ Requires-Dist: PyNaCl
24
24
  Requires-Dist: pyjwt>=2.4.0
25
25
  Requires-Dist: memorylru>=1.1.2
26
26
  Requires-Dist: mrflagly>=0.2.9
27
- Requires-Dist: nucliadb-protos>=5.1.2.post1364
28
- Requires-Dist: nucliadb-telemetry>=5.1.2.post1364
27
+ Requires-Dist: nucliadb-protos>=5.1.2.post1377
28
+ Requires-Dist: nucliadb-telemetry>=5.1.2.post1377
29
29
  Provides-Extra: cache
30
30
  Requires-Dist: redis>=4.3.4; extra == "cache"
31
31
  Requires-Dist: orjson>=3.6.7; extra == "cache"
@@ -1,10 +1,10 @@
1
1
  nucliadb_utils/__init__.py,sha256=EvBCH1iTODe-AgXm48aj4kVUt_Std3PeL8QnwimR5wI,895
2
2
  nucliadb_utils/asyncio_utils.py,sha256=h8Y-xpcFFRgNzaiIW0eidz7griAQa7ggbNk34-tAt2c,2888
3
3
  nucliadb_utils/authentication.py,sha256=N__d2Ez3JHJv5asYK5TgUcIkKqcAC8ZTLlnfLhfSneM,5837
4
- nucliadb_utils/const.py,sha256=TlRuxCvvK0xp6Dmqe5D-yUuF5p0J0y-xfYTRFQ0wgVw,2711
4
+ nucliadb_utils/const.py,sha256=yYE1yqHCzoko43IXmNCSFChv5YUfvrUvSA7KVkdc4vI,2416
5
5
  nucliadb_utils/debug.py,sha256=Q56Nx9Dp7V2ae3CU2H0ztaZcHTJXdlflPLKLeOPZ170,2436
6
6
  nucliadb_utils/exceptions.py,sha256=y_3wk77WLVUtdo-5FtbBsdSkCtK_DsJkdWb5BoPn3qo,1094
7
- nucliadb_utils/featureflagging.py,sha256=gh_2r8waIn3ZCs_ea9569FKLnWyt8Q_aUMqbT_8GRsc,3427
7
+ nucliadb_utils/featureflagging.py,sha256=teyM2dJu0B_WxbVODWEXsFyLJgvz6KNbD267A0tUTSo,2832
8
8
  nucliadb_utils/grpc.py,sha256=apu0uePnkGHCAT7GRQ9YZfRYyFj26kJ440i8jitbM3U,3314
9
9
  nucliadb_utils/helpers.py,sha256=nPw8yod3hP-pxq80VF8QC36s7ygSg0dBUdfI-LatvCs,1600
10
10
  nucliadb_utils/indexing.py,sha256=Luaqcar3CySpdYOFp6Q9Fyr8ZYwhYhaKRHQ_VGL78f8,2318
@@ -59,13 +59,13 @@ nucliadb_utils/tests/__init__.py,sha256=Oo9CAE7B0eW5VHn8sHd6o30SQzOWUhktLPRXdlDO
59
59
  nucliadb_utils/tests/asyncbenchmark.py,sha256=x4be2IwCawle9zWgMOJkmwoUwk5p1tv7cLQGmybkEOg,10587
60
60
  nucliadb_utils/tests/azure.py,sha256=Dg-Eb4KVScG-O6P9y-bVQZTAKTNUMQ0i-CKEd9IdrWw,4474
61
61
  nucliadb_utils/tests/fixtures.py,sha256=i0sqPqe5a5JlKGFdaIvOlHYkZ3pHZ2hTIgTsaIB3vSM,3472
62
- nucliadb_utils/tests/gcs.py,sha256=Bx-kxf2NoYYeyNFPpBFxbRN8kIiYFpELEvqG0V1_9Ks,4183
62
+ nucliadb_utils/tests/gcs.py,sha256=wlFDWAnwONp6qSAjPlP6-aY-WnHhxF-mS2SV0Mahv7M,4434
63
63
  nucliadb_utils/tests/indexing.py,sha256=YW2QhkhO9Q_8A4kKWJaWSvXvyQ_AiAwY1VylcfVQFxk,1513
64
64
  nucliadb_utils/tests/local.py,sha256=7nuP8EFUAiA8ZH50R1iPV9EUXBySQxOanVm3Zht_e0g,1835
65
65
  nucliadb_utils/tests/nats.py,sha256=xqpww4jZjTKY9oPGlJdDJG67L3FIBQsa9qDHxILR8r8,7687
66
66
  nucliadb_utils/tests/s3.py,sha256=IdMxK_cNdSHLvO1u8BwsKFzD87Hk1MVPDZ57zx6h-rA,3656
67
- nucliadb_utils-5.1.2.post1364.dist-info/METADATA,sha256=xJ9c-d_nGfz0jk9BP6CRj0sIIOM1r0ILwj7ncUN0nYI,2071
68
- nucliadb_utils-5.1.2.post1364.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
69
- nucliadb_utils-5.1.2.post1364.dist-info/top_level.txt,sha256=fE3vJtALTfgh7bcAWcNhcfXkNPp_eVVpbKK-2IYua3E,15
70
- nucliadb_utils-5.1.2.post1364.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
71
- nucliadb_utils-5.1.2.post1364.dist-info/RECORD,,
67
+ nucliadb_utils-5.1.2.post1377.dist-info/METADATA,sha256=C4spw23_RHx8YbOOyTYZSXNdDYYOqYsR_KwTMri7-zA,2071
68
+ nucliadb_utils-5.1.2.post1377.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
69
+ nucliadb_utils-5.1.2.post1377.dist-info/top_level.txt,sha256=fE3vJtALTfgh7bcAWcNhcfXkNPp_eVVpbKK-2IYua3E,15
70
+ nucliadb_utils-5.1.2.post1377.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
71
+ nucliadb_utils-5.1.2.post1377.dist-info/RECORD,,