Skip to content

Commit 3b9fafa

Browse files
chore: Use Poetry support for PEP 621
* python-poetry/poetry#9135 * python-poetry/poetry-core#708
1 parent 9c09426 commit 3b9fafa

2 files changed

Lines changed: 24 additions & 22 deletions

File tree

.github/workflows/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pip==24.3.1
2-
poetry==1.8.4
2+
poetry @ git+https://github.com/python-poetry/poetry.git@main
33
poetry-dynamic-versioning==1.4.1
44
nox==2024.10.9
55
nox-poetry==1.0.3

pyproject.toml

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,44 @@
11
[build-system]
22
build-backend = "poetry_dynamic_versioning.backend"
33
requires = [
4-
"poetry-core",
4+
"poetry-core @ git+https://github.com/python-poetry/poetry-core.git@main",
55
"poetry-dynamic-versioning",
66
]
77

8-
[tool.poetry]
8+
[project]
99
name = "tap-betterstack"
10-
version = "0.0.0"
1110
description = "`tap-betterstack` is a Singer tap for Better Stack, built with the Meltano SDK for Singer Taps."
12-
authors = [
13-
"Edgar Ramírez-Mondragón <edgarrm358@gmail.com>",
11+
readme = "README.md"
12+
keywords = [
13+
"Better Stack",
14+
"ELT",
15+
"singer.io",
1416
]
17+
license.file = "LICENSE"
18+
authors = [ { name = "Edgar Ramírez-Mondragón", email = "edgarrm358@gmail.com" } ]
19+
requires-python = ">=3.9"
1520
classifiers = [
21+
"Programming Language :: Python :: 3 :: Only",
1622
"Programming Language :: Python :: 3.9",
1723
"Programming Language :: Python :: 3.10",
1824
"Programming Language :: Python :: 3.11",
1925
"Programming Language :: Python :: 3.12",
2026
"Programming Language :: Python :: 3.13",
2127
]
22-
keywords = [
23-
"ELT",
24-
"singer.io",
25-
"Better Stack",
28+
dynamic = [
29+
"version",
2630
]
27-
license = "Apache-2.0"
28-
readme = "README.md"
29-
homepage = "https://github.com/edgarrmondragon/tap-betterstack"
30-
repository = "https://github.com/edgarrmondragon/tap-betterstack"
31-
documentation = "https://github.com/edgarrmondragon/tap-betterstack#readme"
31+
dependencies = [
32+
"singer-sdk~=0.42.1",
33+
]
34+
urls.Documentation = "https://github.com/edgarrmondragon/tap-betterstack#readme"
35+
urls.Homepage = "https://github.com/edgarrmondragon/tap-betterstack"
36+
urls.Repository = "https://github.com/edgarrmondragon/tap-betterstack"
37+
scripts."tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli"
3238

33-
[tool.poetry.dependencies]
34-
python = ">=3.9"
35-
singer-sdk = "~=0.42.1"
39+
[tool.poetry]
40+
name = "tap-betterstack"
41+
version = "0.0.0"
3642

3743
[tool.poetry.group.dev.dependencies]
3844
mypy = ">=1.11.1"
@@ -41,10 +47,6 @@ singer-sdk = { version = "*", extras = [
4147
] }
4248
types-requests = "*"
4349

44-
[tool.poetry.scripts]
45-
# CLI declaration
46-
"tap-betterstack" = "tap_betterstack.tap:TapBetterStack.cli"
47-
4850
[tool.poetry-dynamic-versioning]
4951
enable = true
5052
format-jinja = """

0 commit comments

Comments
 (0)