diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt index c6c2cb8..48d017f 100644 --- a/.github/workflows/constraints.txt +++ b/.github/workflows/constraints.txt @@ -1,5 +1,5 @@ pip==24.0 -poetry==1.8.2 +poetry @ git+https://github.com/radoering/poetry.git@pep621-support poetry-dynamic-versioning==1.3.0 nox==2024.4.15 nox-poetry==1.0.3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9f8e538..af8c5e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-json exclude: "\\.vscode/.*.json" @@ -16,19 +16,19 @@ repos: - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.7.0" + rev: "1.8.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.5" + rev: "v0.4.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.9.0 + rev: v1.10.0 hooks: - id: mypy pass_filenames: true diff --git a/poetry.lock b/poetry.lock index 026e124..0b37986 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.9.0.dev0 and should not be changed by hand. [[package]] name = "appdirs" @@ -1389,4 +1389,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.8" -content-hash = "2e035e9ea0169f8c2c4a39484ee34efdc8d904cb8f37e8167c700989dc8aadcb" +content-hash = "8bd74b10df893436fb20d3ba9b8fa0f6ce5024ff4fd584f55aeb30a03017ecf7" diff --git a/pyproject.toml b/pyproject.toml index e621687..d97297b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,33 +5,44 @@ requires = [ "poetry-dynamic-versioning", ] -[tool.poetry] +[project] name = "tap-betterstack" -version = "0.0.0" description = "`tap-betterstack` is a Singer tap for Better Stack, built with the Meltano SDK for Singer Taps." -authors = ["Edgar Ramírez-Mondragón "] +readme = "README.md" keywords = [ + "Better Stack", "ELT", "singer.io", - "Better Stack", ] -license = "Apache-2.0" -readme = "README.md" -homepage = "https://github.com/edgarrmondragon/tap-betterstack" -repository = "https://github.com/edgarrmondragon/tap-betterstack" -documentation = "https://github.com/edgarrmondragon/tap-betterstack#readme" +license.file = "Apache-2.0" +authors = [{ name = "Edgar Ramírez-Mondragón", email = "edgarrm358@gmail.com" }] +requires-python = ">=3.8" +classifiers = [ + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] +dynamic = [ + "version", +] +dependencies = [ + "singer-sdk~=0.37.0", +] +urls.Documentation = "https://github.com/edgarrmondragon/tap-betterstack#readme" +urls.Homepage = "https://github.com/edgarrmondragon/tap-betterstack" +urls.Repository = "https://github.com/edgarrmondragon/tap-betterstack" +scripts."tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli" -[tool.poetry.dependencies] -python = ">=3.8" -singer-sdk = "~=0.37.0" +[tool.poetry] +name = "tap-betterstack" +version = "0.0.0" [tool.poetry.group.dev.dependencies] singer-sdk = {version = "*", extras = ["testing"]} -[tool.poetry.scripts] -# CLI declaration -"tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli" - [tool.poetry-dynamic-versioning] enable = true format-jinja = """