diff --git a/poetry.lock b/poetry.lock index de5c7ae..d61a670 100644 --- a/poetry.lock +++ b/poetry.lock @@ -728,16 +728,6 @@ files = [ importlib-resources = {version = ">=1.4.0", markers = "python_version < \"3.9\""} referencing = ">=0.31.0" -[[package]] -name = "memoization" -version = "0.4.0" -description = "A powerful caching library for Python, with TTL support and multiple algorithm options. (https://github.com/lonelyenvoy/python-memoization)" -optional = false -python-versions = ">=3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4" -files = [ - {file = "memoization-0.4.0.tar.gz", hash = "sha256:fde5e7cd060ef45b135e0310cfec17b2029dc472ccb5bbbbb42a503d4538a135"}, -] - [[package]] name = "mypy" version = "1.8.0" @@ -1248,17 +1238,6 @@ files = [ [package.extras] cli = ["click (>=5.0)"] -[[package]] -name = "pytz" -version = "2023.4" -description = "World timezone definitions, modern and historical" -optional = false -python-versions = "*" -files = [ - {file = "pytz-2023.4-py2.py3-none-any.whl", hash = "sha256:f90ef520d95e7c46951105338d918664ebfd6f1d995bd7d153127ce90efafa6a"}, - {file = "pytz-2023.4.tar.gz", hash = "sha256:31d4583c4ed539cd037956140d695e42c033a19e984bfce9964a3f7d59bc2b40"}, -] - [[package]] name = "pyyaml" version = "6.0.1" @@ -1625,13 +1604,13 @@ files = [ [[package]] name = "singer-sdk" -version = "0.34.1" +version = "0.35.0" description = "A framework for building Singer taps" optional = false -python-versions = ">=3.7.1" +python-versions = ">=3.8" files = [ - {file = "singer_sdk-0.34.1-py3-none-any.whl", hash = "sha256:2b9afa40722c2d7288992d86d16298128e38387941306267d908b9cd954227a3"}, - {file = "singer_sdk-0.34.1.tar.gz", hash = "sha256:5da11da3de07cc31cc8c1f3f19a40b8f8be4a0df9b5535fb90880c263e58aee5"}, + {file = "singer_sdk-0.35.0-py3-none-any.whl", hash = "sha256:0f56be58655708dd97df4b892ad86bc74cc7a96c360bf4d22362391d0668b8be"}, + {file = "singer_sdk-0.35.0.tar.gz", hash = "sha256:3e4048a0e2aaef080acff2bca1d27a0dafcf24684f763cc46ed2b1a0c6970fd7"}, ] [package.dependencies] @@ -1640,22 +1619,21 @@ backports-datetime-fromisoformat = {version = ">=2.0.1", markers = "python_versi click = ">=8.0,<9.0" cryptography = ">=3.4.6" fs = ">=2.4.16" -importlib-metadata = {version = "<7.0.0", markers = "python_version < \"3.12\""} +importlib-metadata = {version = "<8.0.0", markers = "python_version < \"3.12\""} importlib-resources = {version = ">=5.12.0", markers = "python_version < \"3.9\""} inflection = ">=0.5.1" joblib = ">=1.0.1" jsonpath-ng = ">=1.5.3" -jsonschema = {version = ">=4.16.0", markers = "python_version >= \"3.8\""} -memoization = {version = ">=0.3.2,<0.5.0", markers = "python_version < \"4\""} +jsonschema = ">=4.16.0" packaging = ">=23.1" -pendulum = {version = ">=2.1.0,<4", markers = "python_version >= \"3.8\""} +pendulum = ">=2.1.0,<4" PyJWT = ">=2.4,<3.0" pytest = {version = ">=7.2.1", optional = true, markers = "extra == \"testing\""} pytest-durations = {version = ">=1.2.0", optional = true, markers = "extra == \"testing\""} python-dateutil = ">=2.8.2" python-dotenv = ">=0.20" -pytz = ">=2022.2.1" PyYAML = ">=6.0" +referencing = ">=0.30.0" requests = ">=2.25.1" simpleeval = ">=0.9.13" simplejson = ">=3.17.6" @@ -1665,7 +1643,8 @@ urllib3 = ">=1.26,<2" [package.extras] docs = ["furo (>=2022.12.7)", "myst-parser (>=1)", "sphinx (>=4.5)", "sphinx-autobuild (>=2021.3.14)", "sphinx-copybutton (>=0.3.1)", "sphinx-inline-tabs (>=2023.4.21)", "sphinx-notfound-page (>=1.0.0)", "sphinx-reredirects (>=0.1.1)"] -parquet = ["numpy (<1.22)", "numpy (>=1.22)", "numpy (>=1.22,<1.25)", "pyarrow (>=11,<13)", "pyarrow (>=13)"] +faker = ["faker (>=22.5,<23.0)"] +parquet = ["numpy (>=1.22)", "numpy (>=1.22,<1.25)", "pyarrow (>=13)"] s3 = ["fs-s3fs (>=1.1.1)"] testing = ["pytest (>=7.2.1)", "pytest-durations (>=1.2.0)"] @@ -1964,4 +1943,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "<3.13,>=3.8.1" -content-hash = "cb6c8f4020309fa9daf6ad06f16ca6532c07f9914685bd3cd6219ccace4a84cb" +content-hash = "5b211facd5c7629ec58069c53a2496a28ea6ed09f09ad90b58d90cd4ff4107e7" diff --git a/pyproject.toml b/pyproject.toml index 7f04055..e9e4a16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ sqlalchemy = "<2" sshtunnel = "0.4.0" [tool.poetry.dependencies.singer-sdk] -version = "~=0.34.0" +version = "~=0.35.0" [tool.poetry.group.dev.dependencies] faker = ">=18.5.1" @@ -112,7 +112,7 @@ banned-from = ["sqlalchemy"] [tool.ruff.lint.flake8-import-conventions.extend-aliases] sqlalchemy = "sa" -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "tests/*" = [ "D", ] diff --git a/tap_postgres/tap.py b/tap_postgres/tap.py index a603c34..25b9ceb 100644 --- a/tap_postgres/tap.py +++ b/tap_postgres/tap.py @@ -580,7 +580,7 @@ def catalog(self) -> Catalog: ) return new_catalog - def discover_streams(self) -> Sequence[Stream]: # type: ignore[override] + def discover_streams(self) -> Sequence[Stream]: """Initialize all available streams and return them as a list. Returns: diff --git a/tests/conftest.py b/tests/conftest.py index 6bb3ec2..4ba4b21 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1 @@ """Test Configuration.""" - -pytest_plugins = ("singer_sdk.testing.pytest_plugin",)