Skip to content

Commit

Permalink
chore: Use Poetry support for PEP 621
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Jul 9, 2024
1 parent 9c6c161 commit ac34395
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip==24.1.1
poetry==1.8.3
pip==24.1.2
poetry @ git+https://github.com/radoering/poetry.git@pep621-support
poetry-dynamic-versioning==1.4.0
nox==2024.4.15
nox-poetry==1.0.3
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 24 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,50 +1,52 @@
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = [
"poetry-core==1.9",
"poetry-core @ git+https://github.com/radoering/poetry-core.git@pep621-support",
"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 <edgarrm358@gmail.com>",
readme = "README.md"
keywords = [
"Better Stack",
"ELT",
"singer.io",
]
license.file = "LICENSE"
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",
"Programming Language :: Python :: 3.13",
]
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 = [
"cffi>=1.17.0rc1; python_version>='3.13'",
"singer-sdk~=0.38.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"
cffi = { version = ">=1.17.0rc1", python = ">=3.13" }
singer-sdk = "~=0.38.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 = """
Expand Down

0 comments on commit ac34395

Please sign in to comment.