-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use Poetry support for PEP 621
* python-poetry/poetry#9135 * python-poetry/poetry-core#708 * dependabot/dependabot-core#11227 * mtkennerly/poetry-dynamic-versioning#201 * python-poetry/poetry#9943
- Loading branch information
1 parent
5f477d9
commit 9526b90
Showing
7 changed files
with
454 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
pip==24.3.1 | ||
poetry==1.8.5 | ||
poetry-dynamic-versioning==1.4.1 | ||
poetry==2.0.0 | ||
poetry-dynamic-versioning==1.5.0 | ||
poetry-plugin-export==1.8.0 | ||
nox==2024.10.9 | ||
nox-poetry==1.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,44 @@ | ||
[build-system] | ||
build-backend = "poetry_dynamic_versioning.backend" | ||
requires = [ | ||
"poetry-core", | ||
"poetry-core>=2,<3", | ||
"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 <[email protected]>", | ||
readme = "README.md" | ||
keywords = [ | ||
"Better Stack", | ||
"ELT", | ||
"singer.io", | ||
] | ||
license.file = "LICENSE" | ||
authors = [ { name = "Edgar Ramírez-Mondragón", email = "[email protected]" } ] | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: 3.14", | ||
] | ||
keywords = [ | ||
"ELT", | ||
"singer.io", | ||
"Better Stack", | ||
dynamic = [ | ||
"version", | ||
] | ||
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" | ||
dependencies = [ | ||
"singer-sdk~=0.42.1", | ||
] | ||
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.9" | ||
singer-sdk = "~=0.43.1" | ||
[tool.poetry] | ||
version = "0.0.0" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
mypy = ">=1.11.1" | ||
|
@@ -41,10 +47,6 @@ singer-sdk = { version = "*", extras = [ | |
] } | ||
types-requests = "*" | ||
|
||
[tool.poetry.scripts] | ||
# CLI declaration | ||
"tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli" | ||
|
||
[tool.poetry-dynamic-versioning] | ||
enable = true | ||
format-jinja = """ | ||
|
@@ -61,8 +63,6 @@ style = "pep440" | |
vcs = "git" | ||
|
||
[tool.ruff] | ||
target-version = "py39" | ||
|
||
line-length = 88 | ||
src = [ | ||
"tap_betterstack", | ||
|
@@ -72,7 +72,6 @@ lint.select = [ | |
"ALL", | ||
] | ||
lint.ignore = [ | ||
"ANN101", # missing-type-self | ||
"COM812", # missing-trailing-comma | ||
"DJ", # flake8-django | ||
"FIX002", # line-contains-todo | ||
|
@@ -99,7 +98,7 @@ lint.isort.required-imports = [ | |
lint.pydocstyle.convention = "google" | ||
|
||
[tool.pyproject-fmt] | ||
max_supported_python = "3.13" | ||
max_supported_python = "3.14" | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-vvv" | ||
|