diff --git a/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py b/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py index c7fd98c17..eea4b80b2 100644 --- a/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py +++ b/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py @@ -7,11 +7,11 @@ import zlib from contextlib import closing from dataclasses import InitVar, dataclass +from math import nan from typing import Any, Dict, Iterable, Mapping, Optional, Tuple import pandas as pd import requests -from numpy import nan from airbyte_cdk.sources.declarative.extractors.record_extractor import RecordExtractor diff --git a/airbyte_cdk/sources/file_based/file_types/excel_parser.py b/airbyte_cdk/sources/file_based/file_types/excel_parser.py index 5a0332171..f99ca0180 100644 --- a/airbyte_cdk/sources/file_based/file_types/excel_parser.py +++ b/airbyte_cdk/sources/file_based/file_types/excel_parser.py @@ -9,8 +9,6 @@ import orjson import pandas as pd -from numpy import datetime64, issubdtype -from numpy import dtype as dtype_ from pydantic.v1 import BaseModel from airbyte_cdk.sources.file_based.config.file_based_stream_config import ( @@ -141,7 +139,7 @@ def file_read_mode(self) -> FileReadMode: @staticmethod def dtype_to_json_type( current_type: Optional[str], - dtype: dtype_, # type: ignore [type-arg] + dtype: Any, # Type object from pandas DataFrame ) -> str: """ Convert Pandas DataFrame types to Airbyte Types. @@ -163,7 +161,7 @@ def dtype_to_json_type( return "number" if dtype == "bool" and (not current_type or current_type == "boolean"): return "boolean" - if issubdtype(dtype, datetime64): + if pd.api.types.is_datetime64_any_dtype(dtype): return "date-time" return "string" diff --git a/poetry.lock b/poetry.lock index cb83c9b16..60cf255e4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -349,7 +349,7 @@ description = "Python module to generate and modify bytecode" optional = true python-versions = ">=3.8" groups = ["main"] -markers = "extra == \"manifest-server\" and python_version <= \"3.13.0\"" +markers = "extra == \"manifest-server\"" files = [ {file = "bytecode-0.16.2-py3-none-any.whl", hash = "sha256:0a7dea0387ec5cae5ec77578690c5ca7470c8a202c50ce64a426d86380cddd7f"}, {file = "bytecode-0.16.2.tar.gz", hash = "sha256:f05020b6dc1f48cdadd946f7c3a03131ba0f312bd103767c5d75559de5c308f8"}, @@ -1053,74 +1053,88 @@ langdetect = ["langdetect (>=1.0.0)"] [[package]] name = "ddtrace" -version = "3.12.3" +version = "3.16.0" description = "Datadog APM client library" optional = true python-versions = ">=3.8" groups = ["main"] markers = "extra == \"manifest-server\"" files = [ - {file = "ddtrace-3.12.3-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:ac11aa9b477545e4b8936d2ada2170d61842b4094baeb0a0b0ebb461f6ab9450"}, - {file = "ddtrace-3.12.3-cp310-cp310-macosx_12_0_x86_64.whl", hash = "sha256:7eac2a773699357620f7323bba659a98cf1e5a46c7f0ee25c2626153e85cd28d"}, - {file = "ddtrace-3.12.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:62ce8b387e44ab0e7e64348d4cd7f48a200155aae0b6e2498f8a769b9d0bdf30"}, - {file = "ddtrace-3.12.3-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4e246037dd87030e29691f254ab2d920d235544440432c85d06bc056a72b1ed0"}, - {file = "ddtrace-3.12.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b016552532fad37afe6e3d78e6eb230b5b2a5836231e22d76650a9e2bf484373"}, - {file = "ddtrace-3.12.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:2eaa41b720bd135b2f05a876252409907f5e38be9a0e6aa13acab45f339872fe"}, - {file = "ddtrace-3.12.3-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:06c7ab7f6fde06a21c01d0f4ab9cedd614d771ee26fca9576b7decc8d78d5122"}, - {file = "ddtrace-3.12.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:9531f5b4347365e21742bb04f0d5b3fac4f7b3d675b53f41137fdaf5a30e53f3"}, - {file = "ddtrace-3.12.3-cp310-cp310-win32.whl", hash = "sha256:51452a6e090fa47f50fa9bca7ed2c689e3f42884dc531a3e6d49d88fcf4da61c"}, - {file = "ddtrace-3.12.3-cp310-cp310-win_amd64.whl", hash = "sha256:b84335ad5608bd926677f3c6578b14ccb5b523525922f7af45265fbd54910431"}, - {file = "ddtrace-3.12.3-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:4ff7419975d3d0caa8665ca122dd1d40a0ab27ea7f872dc054e7dd4d4313e587"}, - {file = "ddtrace-3.12.3-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:e349cc75c7edd252a78c3568096665a339770ff7dc65d1e5e1338089cc4142cc"}, - {file = "ddtrace-3.12.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b4d1f43a08fb5e73e9dea4205993b4ecd24937cdd0be8b83d4ab40ca22607d"}, - {file = "ddtrace-3.12.3-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a34fbd0ae4e9c74a21156882375a8a11839588b76db60fee35bd24623b425f99"}, - {file = "ddtrace-3.12.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1a78cb69829c7255f5475634d59b00a78f83d39adb18961c5b532e3b49214c36"}, - {file = "ddtrace-3.12.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ff4c8985c888a5445216547a4c0ab0b1e6381c37c4bb66c02a814eba835c07d3"}, - {file = "ddtrace-3.12.3-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:d52310bb6063577c17619d1b8fa562b960e9d233c2b93a96a0ee47afcb751079"}, - {file = "ddtrace-3.12.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:26cd3c92e532e599b191054f54bf99fda3fa7ede1c5de6f762612c5ea15c7e39"}, - {file = "ddtrace-3.12.3-cp311-cp311-win32.whl", hash = "sha256:48a1df8d8d7c9bd36fb19d5f895528226fbf454ed89286a8d5894ef620300ff3"}, - {file = "ddtrace-3.12.3-cp311-cp311-win_amd64.whl", hash = "sha256:e1f6ff52fad0d9ed6ab30ac0da78ea8c6f5f1e4b41821d2ebe985ff23a59d516"}, - {file = "ddtrace-3.12.3-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:5a359f97559ea1cbcebbfb391ebbf805e72cb2ea4bc44c0878536426f8ce4ecb"}, - {file = "ddtrace-3.12.3-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:9751f9953bb92b34ed94ab3127605eaf700787e2e57eeba37f6d5c9d08ae51c1"}, - {file = "ddtrace-3.12.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3bbc613f3c9d78582053ebf38b096ad1bacc9cad604934facd5d32756b83c0a5"}, - {file = "ddtrace-3.12.3-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:747970f503676b552b00d7638d57f1db2ec136e5aa91fb575ef6822b4555949d"}, - {file = "ddtrace-3.12.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9432c6c3f60c6b566b40c2b679e1e23d0dceb18a2a012982855243bdcf5bbd1a"}, - {file = "ddtrace-3.12.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d0ac765c79213defa9f3bbbf07188a9c9dce387edd1de4a62cd064775522c763"}, - {file = "ddtrace-3.12.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:f9bddc2ee83b62caec9c41c2e403188c34dc97fa4d58982c5c22048554c7db4f"}, - {file = "ddtrace-3.12.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:40c3f0b8ba31965a87b7b3df69c9179f95b1dd85cd052472821809f1ef704bf5"}, - {file = "ddtrace-3.12.3-cp312-cp312-win32.whl", hash = "sha256:081b7228254f5c899ba082387fa3c686da6ebc928c448523e4cb86c8f1893e64"}, - {file = "ddtrace-3.12.3-cp312-cp312-win_amd64.whl", hash = "sha256:648198520d5d725d16fb1600e6b0c686bf11c16743129ca00198e096806f1151"}, - {file = "ddtrace-3.12.3-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:9dfdd062a3c78c42d1de4fe34b6b5e6a81cef07c360ff72385fcebc6ccec5f8f"}, - {file = "ddtrace-3.12.3-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:ccb61b996a9b3f0aeab35f1da3a16a1a0211bdbdecfc198b4c2ab3e7825d92ec"}, - {file = "ddtrace-3.12.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:05e848977805edc7e15c35e8704e2e205e9b5d05a4fcb4c61e7e3029d28022f2"}, - {file = "ddtrace-3.12.3-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:341d1179c490c701880f45683d5f573b3a000bc743ab3719137b4e68522d847b"}, - {file = "ddtrace-3.12.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1278628694a54e13fa2960ff1918901e820cba6835f48e26eb763a3dfb64bfb4"}, - {file = "ddtrace-3.12.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:56e8b92446df7a0f66eaedf8ce208ec1683ff3161861ea874b8cb667c51a4102"}, - {file = "ddtrace-3.12.3-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:b8ffdd825243329fb8faa2532d81ae58976a2407316df0143d4d862bdb199db5"}, - {file = "ddtrace-3.12.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5dca7e1dc255cb9b840d2c1aaf0d2d883da6497c22b49bdddabaac233b3f4055"}, - {file = "ddtrace-3.12.3-cp313-cp313-win32.whl", hash = "sha256:f19b00ae78fa08d1c7b068d206f2b7419e4be1604ca365d946cc781daf69027a"}, - {file = "ddtrace-3.12.3-cp313-cp313-win_amd64.whl", hash = "sha256:4c65f0f5ec30d685653e58184d176e2318be3404a133f10b43bf19c5217a41f8"}, - {file = "ddtrace-3.12.3-cp38-cp38-macosx_12_0_arm64.whl", hash = "sha256:0d594b95ee48756935b7502c73389463661016db04ac1bb3a83d246926d255ce"}, - {file = "ddtrace-3.12.3-cp38-cp38-macosx_12_0_x86_64.whl", hash = "sha256:00bae64781c5c678bf554343812d66cf23a1214009fbc6e343356cbc00c931c8"}, - {file = "ddtrace-3.12.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9ac1b9f97571ad2e686537e5199bd77cb3fa557f19f8ad5fb18df91cd66cae3d"}, - {file = "ddtrace-3.12.3-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:67d9b95a7358f8e722cdc8e1c5955e1cf7c3a4f59aa244640b693272f4e68740"}, - {file = "ddtrace-3.12.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2f42fec10a261b606be989b4d761b1deb44005cc654b17cc8923a2c57f68189f"}, - {file = "ddtrace-3.12.3-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:9a571b0f1d1adcd3f4d46372cc9d195b9a1667cfa9156169f8ea284b0e5610a5"}, - {file = "ddtrace-3.12.3-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:bc1606af20569481f13d3c8851c67ffb608fcdb4d65b8cd13e95cd9975c0bfe2"}, - {file = "ddtrace-3.12.3-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:1598c414529c6e9171c8084589cb74194abc992aca6e37137a2517ccdb01f81a"}, - {file = "ddtrace-3.12.3-cp38-cp38-win32.whl", hash = "sha256:b5487dcbc37dd1cbdae211cf0e548c58d0e0ff42b74217097e83222340cbd5d4"}, - {file = "ddtrace-3.12.3-cp38-cp38-win_amd64.whl", hash = "sha256:20fb311bf0780b94b29f6369f62e7ff195b1b12a6b9604b774344bd697c649d7"}, - {file = "ddtrace-3.12.3-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:71abd9986a44f7843b95656c930a3cced9f440a3ff76d9b2a1fe815ae2bd010c"}, - {file = "ddtrace-3.12.3-cp39-cp39-macosx_12_0_x86_64.whl", hash = "sha256:3fe3964b60b49d59fc7be7600ff0132d05b1802793edc1034f7e50db05a7b4fa"}, - {file = "ddtrace-3.12.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:960a74c23e29e4f8769f75666fb89b8cfb91eacbb0989c072f2abf1601443e54"}, - {file = "ddtrace-3.12.3-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b08c128f89821e888a0807915b9308b6a0a296ba620e829519f758abaccbfbd5"}, - {file = "ddtrace-3.12.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb2e7e2bd50382013e94cb49d2580a5f2690e97d5732104e6d862cd4d55050c3"}, - {file = "ddtrace-3.12.3-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:492cccf99b35b32e781277e3ac0af4076ab20b930ac88f54f972889316f94156"}, - {file = "ddtrace-3.12.3-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:d698628ed3d3f90174514c478a89f9bf9e14fda1ca1d9099548eb4dc67785a92"}, - {file = "ddtrace-3.12.3-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:d3dfe99c1778cb4106a81a7456b53de3728250da06d73c0299ebb5d8783b905f"}, - {file = "ddtrace-3.12.3-cp39-cp39-win32.whl", hash = "sha256:3435de3ec51a59c087ab554b8b8c55818100633711aecab90ea62476b2493165"}, - {file = "ddtrace-3.12.3-cp39-cp39-win_amd64.whl", hash = "sha256:7804ff9c7bf86e8a572f9e36b92d5485228976b3fcfe71d98650d422f9e07f53"}, - {file = "ddtrace-3.12.3.tar.gz", hash = "sha256:680c5f1676249d2ec85d2f0ed3ab11f7a8ebd2748ee3e566369456bd405961b6"}, + {file = "ddtrace-3.16.0-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:fa4590b3f3feb8ed7035c3577e6eb03bf2f11ae42d1ae681bc1b66e68c43e83e"}, + {file = "ddtrace-3.16.0-cp310-cp310-macosx_12_0_x86_64.whl", hash = "sha256:55fd4265637c505509de5dafe19080ea2499270d7710397d7eb1974d0a48baa3"}, + {file = "ddtrace-3.16.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:063fc00ebec059a6ce6b53c31749bfdb46416007c442b13d283a88b041dc5e08"}, + {file = "ddtrace-3.16.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:589dd300c965d86442825e68acfd7f069088c2d9c7c95cef1dff831e8f9696d6"}, + {file = "ddtrace-3.16.0-cp310-cp310-manylinux_2_28_i686.whl", hash = "sha256:02e8a83d0fad9f935110b67e14ccd0b5db276d042167f311533e9cb4b3621677"}, + {file = "ddtrace-3.16.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:5f6f262ec2f315880406d2af06472685a98d1ff5f2d57f88089cfe16a91bc82f"}, + {file = "ddtrace-3.16.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:a831d5f5b122156ee64e3427e56a59c97b9e3642917f9447337271ea26cbaa6b"}, + {file = "ddtrace-3.16.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:88f65ee38597927f16d9b4b38f50d33233f6d0fe8398b3e28863b91c6c1ad864"}, + {file = "ddtrace-3.16.0-cp310-cp310-win32.whl", hash = "sha256:65c11e54191b140ac029e7001c7e18f6faf82ace59b8c3166d615a129fea0bb3"}, + {file = "ddtrace-3.16.0-cp310-cp310-win_amd64.whl", hash = "sha256:016af666f116af360aca816bbc05706156b7340a7715eecbc381055d6484309b"}, + {file = "ddtrace-3.16.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:3f8ff171c9f624e972726102101be0ddb672404b21749c11c7406f518de728fb"}, + {file = "ddtrace-3.16.0-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:0699f1aa7cdbe6a891ce07edd6cb0a4983626bf0d28d1263f6235b9de9f7632f"}, + {file = "ddtrace-3.16.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0f521557c655db05a1f189535bbec1aff0f03221c287fec01098c9e872b82a0f"}, + {file = "ddtrace-3.16.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d6ad3d2ff982b17716122acb9d027577f3385a43952669f67cf7677736706ba8"}, + {file = "ddtrace-3.16.0-cp311-cp311-manylinux_2_28_i686.whl", hash = "sha256:3a27f2343cbf9e2d7d25b1cb3d801002939ea47416acfe6aee50651944b732ad"}, + {file = "ddtrace-3.16.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47fc72d41dfe523e1b0beb0bfd2dbf6665fc36a6aaf8297e18b2548224551a54"}, + {file = "ddtrace-3.16.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:7e883a7e436ce9510186f4e587d6a27f5ea869e09a14306578aa09d0b3b72556"}, + {file = "ddtrace-3.16.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:1a0bb0e7f92ecc58fb3b031af0928d92b6404192d7882cd53c39dd157ee09f53"}, + {file = "ddtrace-3.16.0-cp311-cp311-win32.whl", hash = "sha256:b23a2c7f143e46b848e499be6a527f634153337e021d66d9bc038c4bf7aa0e10"}, + {file = "ddtrace-3.16.0-cp311-cp311-win_amd64.whl", hash = "sha256:37b01bf21c7d3ccf7aa3e8da2e0b945fd54a653f0d732231bb07e220a411f213"}, + {file = "ddtrace-3.16.0-cp311-cp311-win_arm64.whl", hash = "sha256:ce21fd9c9b25cc94c92bef97b33e825b09506e0ab3a6c18c43f5bbfd943fca55"}, + {file = "ddtrace-3.16.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:25d5901a9581f21d4329749a79019ae43844ef2a04bc12dfc43a26307782a866"}, + {file = "ddtrace-3.16.0-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:1678699ae42d9727bccc1410c819226da4c9c6c60dc496cb2ca6ae3b11e7cf2c"}, + {file = "ddtrace-3.16.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:60da7149c53c92aad696684ca0a492263f67818986482acc0091d0a404469d79"}, + {file = "ddtrace-3.16.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fa66cd33d290f01462fa5f428cad420619dde4b5de6b57ba23a6b2c41c7ee7cb"}, + {file = "ddtrace-3.16.0-cp312-cp312-manylinux_2_28_i686.whl", hash = "sha256:74814f0657443e4d5e8325c09e76bc2690e9edaa8267c210d319cbc1ed14d3dc"}, + {file = "ddtrace-3.16.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d341336b2bd6ab88ff6bc25563a5cc7494a38bc3aee3b1265b52b3dae7f96ed6"}, + {file = "ddtrace-3.16.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:4deb6563312f420ee477bb60395517274712931a7435505927d3fb0c88edbd9a"}, + {file = "ddtrace-3.16.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:439fcb2483365d14e46b1ec200dba0a02b0bbbada7aa4c0caf84319c17017c49"}, + {file = "ddtrace-3.16.0-cp312-cp312-win32.whl", hash = "sha256:785a155ea3df8309af25b24d5707c8ff44eeaa81b92bb8ca927f6b9fbd198228"}, + {file = "ddtrace-3.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:8262f4791a1c70b875e5947202bc11b273c14090b87f79911aa12635214d4c6e"}, + {file = "ddtrace-3.16.0-cp312-cp312-win_arm64.whl", hash = "sha256:5bd780182492da91d53f56bd5df7067262dea22ec0ccd2f4096256bddb091b34"}, + {file = "ddtrace-3.16.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:ebd0ad03e49e677451326315722541c73c82e95a233f6d3c0099fa42079dcfea"}, + {file = "ddtrace-3.16.0-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:2e4911995616bb0674355d65a9b8476c19155ec0d74d8969c99a049124181797"}, + {file = "ddtrace-3.16.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:25a8ebbd29feea4456e1a30bdd6f9c5d3bf51ca2478186d7c4234db7c54e4ac8"}, + {file = "ddtrace-3.16.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2c467dc886ca2c02aa86b82fcb5aa2765dd628b5416fabf03b2765876c5ccf76"}, + {file = "ddtrace-3.16.0-cp313-cp313-manylinux_2_28_i686.whl", hash = "sha256:571de0358135c242ab58652128c34bac9a5e326e008653c7b635924003a924be"}, + {file = "ddtrace-3.16.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5a019c3e0e926d57619c1c667b9bf498c9c5a13e98b9e8a1dcf7d47572a79fbd"}, + {file = "ddtrace-3.16.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:15a4c5e53fc59d9f0963f1f3a05688a18ce69007e7412357173c00c64df63e17"}, + {file = "ddtrace-3.16.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e80df7b13ceb689aca6e4fdb9deac5bccc97e2119f8aced9669589909ebd452b"}, + {file = "ddtrace-3.16.0-cp313-cp313-win32.whl", hash = "sha256:adf62017d0bd93cc4e7027a9581d55c9e722ee82a798224009fe7ff90d9e0c43"}, + {file = "ddtrace-3.16.0-cp313-cp313-win_amd64.whl", hash = "sha256:b11c98b590da73a8b74e85914de83ec346d596550aa97f9fe99661aeba296616"}, + {file = "ddtrace-3.16.0-cp313-cp313-win_arm64.whl", hash = "sha256:aa8b64da1090fe2948f4209d387fa698cd60648188e892cd24591b78cd689d30"}, + {file = "ddtrace-3.16.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:fe08163cd8d0923a15502e94b7f4a15b376eb6d520d2d03647393995b8506295"}, + {file = "ddtrace-3.16.0-cp314-cp314-macosx_12_0_x86_64.whl", hash = "sha256:472267c94f53eae2d7cee32a44448f4e74b52cf7950262c1aa2cf8e9545dff07"}, + {file = "ddtrace-3.16.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:a1e4cbf47b367b95f20d25ceaa3e585a7e2e3af267c203cc9850c71c0f110076"}, + {file = "ddtrace-3.16.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8d8304a04e5a885a5d31ce13621eadc72349aa11ada834d00cf5251f4654fd5d"}, + {file = "ddtrace-3.16.0-cp314-cp314-manylinux_2_28_i686.whl", hash = "sha256:81f07be2c0987c89d5dd4bd49437f09eaf387c2d8d7d4d56f8a3ea53de892b71"}, + {file = "ddtrace-3.16.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:4ba580a93552cb9a63541db59bdbdfe5a47e62f10f84afb30eb5ead11300d723"}, + {file = "ddtrace-3.16.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:ea97c9017b47c2b394cee85223f4ac9cc0e80d96cd8c73bc75d13d5b5401135e"}, + {file = "ddtrace-3.16.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:effb026929d63c2045a5f69fecf71443bd2f1784d050d2166d7044ead4272c59"}, + {file = "ddtrace-3.16.0-cp314-cp314-win32.whl", hash = "sha256:4c7f47dcb4d7ea2d6c88eeb4c9fc6ab437d4169e4430c483525ecc71a7c191f1"}, + {file = "ddtrace-3.16.0-cp314-cp314-win_amd64.whl", hash = "sha256:ec6df9b08df5fed7fbeeb8e0b1227adfe0d12d6d146de92835742987c415f918"}, + {file = "ddtrace-3.16.0-cp314-cp314-win_arm64.whl", hash = "sha256:c1fb81580872756c31e1d5ac765a0cca46e957af32d7370dcdc07e1a3b6882aa"}, + {file = "ddtrace-3.16.0-cp38-cp38-macosx_12_0_arm64.whl", hash = "sha256:39cf476a8ecc6123a5b3533ce4a3918fbde6829045923ebe8b59f8caef714b9a"}, + {file = "ddtrace-3.16.0-cp38-cp38-macosx_12_0_x86_64.whl", hash = "sha256:0d24061ff044d979adec51ca638e6343f597937077b1e3d04934603df4b066c2"}, + {file = "ddtrace-3.16.0-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:62f28da697afef7ca92e4fd5a153529d8532e0bdf0aa281914cac48a96a5686b"}, + {file = "ddtrace-3.16.0-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:87db8cf330d7f168bef9f204dceb72b8936d21fd573892d62b75214ae0dda2cd"}, + {file = "ddtrace-3.16.0-cp38-cp38-manylinux_2_28_i686.whl", hash = "sha256:0cae203637b9b44bc78e741acefba6c990d048445e7d214928849f54b27a6023"}, + {file = "ddtrace-3.16.0-cp38-cp38-musllinux_1_2_aarch64.whl", hash = "sha256:f349442ef1f60e094ea39dc36e7732526c89d733e6c1041bf9cd86b67f1643c7"}, + {file = "ddtrace-3.16.0-cp38-cp38-musllinux_1_2_i686.whl", hash = "sha256:343d90a065f7a3dbbb8acca9212b00dee4c47065b0e99fe356255d82511f52a3"}, + {file = "ddtrace-3.16.0-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:2ad8f210997a27fa7171daeb69dc735b5206bc10ea5cc9ac708127a792912e9e"}, + {file = "ddtrace-3.16.0-cp38-cp38-win32.whl", hash = "sha256:01bd0414a8935da4b9a42213ef6f6b85ff0da87ed87b1856e037d9a9b2adc796"}, + {file = "ddtrace-3.16.0-cp38-cp38-win_amd64.whl", hash = "sha256:763b29799b37724f1749143a6efe99e34bc7d47c12b310dff08e15c248b1a30f"}, + {file = "ddtrace-3.16.0-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:564a1a39885d1d255cb3d47f607a73f0b4c0970089ede8ad88f9e6dd67b9fedd"}, + {file = "ddtrace-3.16.0-cp39-cp39-macosx_12_0_x86_64.whl", hash = "sha256:4c4c59aca0de615fe058a488a6fdd767fdaa3a5c19303865105f44ac7c07e7c5"}, + {file = "ddtrace-3.16.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f13b1d49ab34c0443368e56eefa049621226e1884d37241b951dc024377d7d5e"}, + {file = "ddtrace-3.16.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:b39fee266695c25589f22b14693badda8ffa89583f50f52e327caa4cd159a42b"}, + {file = "ddtrace-3.16.0-cp39-cp39-manylinux_2_28_i686.whl", hash = "sha256:ce4b55b6437b74a133dbb5e68710efb8c28dab98968a639948c0e7cca2b8987a"}, + {file = "ddtrace-3.16.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:a152d001760749ce1b331cbb5f002cbd7cbdf7ee02d067afcbb62157b3599e38"}, + {file = "ddtrace-3.16.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:215c1cf6f19d18ba44352960aed2dbc307c1bf3e77584baed656e0c9d20829fd"}, + {file = "ddtrace-3.16.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:171e06b37d63db7d3b144a07c29df6f1968758355d7fb83902ee52971777df09"}, + {file = "ddtrace-3.16.0-cp39-cp39-win32.whl", hash = "sha256:169d808d9eae389ab6cffcd8a79506b25533f98a4356e77186a7fff4f4a94c45"}, + {file = "ddtrace-3.16.0-cp39-cp39-win_amd64.whl", hash = "sha256:89594ee8b24f91c877d62f11b76e05dd39adac0241917476b339215ecbc84700"}, + {file = "ddtrace-3.16.0.tar.gz", hash = "sha256:90e41d27a86ed8f9bd8231cfd82c52a0a6bebd6447c59933b8275e421f9e6e58"}, ] [package.dependencies] @@ -1128,13 +1142,12 @@ bytecode = [ {version = ">=0.16.0", markers = "python_version >= \"3.13.0\""}, {version = ">=0.15.1", markers = "python_version ~= \"3.12.0\""}, {version = ">=0.14.0", markers = "python_version ~= \"3.11.0\""}, - {version = ">=0.13.0", markers = "python_version < \"3.11\""}, + {version = ">=0.13.0", markers = "python_version < \"3.11.0\""}, ] envier = ">=0.6.1,<0.7.0" legacy-cgi = {version = ">=2.0.0", markers = "python_version >= \"3.13.0\""} opentelemetry-api = ">=1" protobuf = ">=3" -typing_extensions = "*" wrapt = ">=1" [package.extras] @@ -1653,7 +1666,7 @@ google-auth = ">=2.14.1,<3.0.0" googleapis-common-protos = ">=1.56.2,<2.0.0" grpcio = [ {version = ">=1.49.1,<2.0dev", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""}, - {version = ">=1.33.2,<2.0dev", optional = true, markers = "python_version < \"3.11\" and extra == \"grpc\""}, + {version = ">=1.33.2,<2.0dev", optional = true, markers = "extra == \"grpc\""}, ] grpcio-status = [ {version = ">=1.49.1,<2.0.dev0", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""}, @@ -1717,7 +1730,7 @@ google-auth = ">=2.14.1,<2.24.0 || >2.24.0,<2.25.0 || >2.25.0,<3.0.0" grpc-google-iam-v1 = ">=0.14.0,<1.0.0" proto-plus = [ {version = ">=1.25.0,<2.0.0", markers = "python_version >= \"3.13\""}, - {version = ">=1.22.3,<2.0.0", markers = "python_version < \"3.13\""}, + {version = ">=1.22.3,<2.0.0"}, ] protobuf = ">=3.20.2,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<7.0.0" @@ -1790,7 +1803,7 @@ description = "Lightweight in-process concurrent programming" optional = true python-versions = ">=3.7" groups = ["main"] -markers = "(platform_machine == \"aarch64\" or platform_machine == \"ppc64le\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"win32\" or platform_machine == \"WIN32\") and (extra == \"vector-db-based\" or extra == \"sql\")" +markers = "(extra == \"vector-db-based\" or extra == \"sql\") and (platform_machine == \"aarch64\" or platform_machine == \"ppc64le\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"win32\" or platform_machine == \"WIN32\")" files = [ {file = "greenlet-3.1.1-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:0bbae94a29c9e5c7e4a2b7f0aae5c17e8e90acbfd3bf6270eeba60c39fce3563"}, {file = "greenlet-3.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0fde093fb93f35ca72a556cf72c92ea3ebfda3d79fc35bb19fbe685853869a83"}, @@ -2229,14 +2242,14 @@ files = [ [[package]] name = "jsonref" -version = "0.2" -description = "An implementation of JSON Reference for Python" +version = "1.1.0" +description = "jsonref is a library for automatic dereferencing of JSON Reference objects for Python." optional = false -python-versions = "*" +python-versions = ">=3.7" groups = ["main"] files = [ - {file = "jsonref-0.2-py3-none-any.whl", hash = "sha256:b1e82fa0b62e2c2796a13e5401fe51790b248f6d9bf9d7212a3e31a3501b291f"}, - {file = "jsonref-0.2.tar.gz", hash = "sha256:f3c45b121cf6257eafabdc3a8008763aed1cd7da06dbabc59a9e4d2a5e4e6697"}, + {file = "jsonref-1.1.0-py3-none-any.whl", hash = "sha256:590dc7773df6c21cbf948b5dac07a72a251db28b0238ceecce0a2abfa8ec30a9"}, + {file = "jsonref-1.1.0.tar.gz", hash = "sha256:32fe8e1d85af0fdefbebce950af85590b22b60f9e95443176adbde4e1ecea552"}, ] [[package]] @@ -2528,7 +2541,7 @@ description = "Fork of the standard library cgi and cgitb modules removed in Pyt optional = true python-versions = ">=3.8" groups = ["main"] -markers = "extra == \"manifest-server\" and python_version == \"3.13\"" +markers = "python_version >= \"3.13.0\" and extra == \"manifest-server\"" files = [ {file = "legacy_cgi-2.6.3-py3-none-any.whl", hash = "sha256:6df2ea5ae14c71ef6f097f8b6372b44f6685283dc018535a75c924564183cdab"}, {file = "legacy_cgi-2.6.3.tar.gz", hash = "sha256:4c119d6cb8e9d8b6ad7cc0ddad880552c62df4029622835d06dfd18f438a8154"}, @@ -6645,4 +6658,4 @@ vector-db-based = ["cohere", "langchain", "openai", "tiktoken"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<3.14" -content-hash = "2060a9ead9660b9ba830e169a437c169fcdad869a4eabb43ddf0fe900978059d" +content-hash = "48e67efade0c5586fbd2669a88b74e36517b2f71ae09da736e43707e32fc3a70" diff --git a/pyproject.toml b/pyproject.toml index 228842116..c54bb6348 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ genson = "1.3.0" google-cloud-secret-manager = "^2.17.0" isodate = "~0.6.1" Jinja2 = "~3.1.2" -jsonref = "~0.2" +jsonref = "^1" jsonschema = ">=4.17.3,<5.0" packaging = "*" # Transitive dependency used directly in code referencing = ">=0.36.2" @@ -76,9 +76,6 @@ python-calamine = { version = "0.2.3", optional = true } # TODO: Remove if unus python-snappy = { version = "0.7.3", optional = true } # TODO: remove if unused tiktoken = { version = "0.8.0", optional = true } nltk = { version = "3.9.1", optional = true } -# This will ensure that even when you run poetry install or pip install, the compatible version of numpy will always be chosen. -# airbyte-ci will try to install latest version when --use-local-cdk is used, resulting in the conflict. -numpy = "<2" unstructured = { version = "0.10.27", extras = ["docx", "pptx"], optional = true } "unstructured.pytesseract" = { version = ">=0.3.12", optional = true } pyjwt = "^2.8.0" @@ -90,7 +87,7 @@ serpyco-rs = "^1.10.2" sqlalchemy = {version = "^2.0,!=2.0.36", optional = true } fastapi = { version = ">=0.116.1", optional = true } uvicorn = { version = ">=0.35.0", optional = true} -ddtrace = { version = "^3.12.3", optional = true } +ddtrace = { version = "^3", optional = true } xmltodict = ">=0.13,<0.15" anyascii = "^0.3.2" whenever = ">=0.7.3,<0.9.0"