-
Notifications
You must be signed in to change notification settings - Fork 71
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
- Loading branch information
1 parent
702c0db
commit db56d55
Showing
4 changed files
with
37 additions
and
25 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,5 @@ | ||
griffe==1.3.2 | ||
pip==24.2 | ||
poetry==1.8.3 | ||
poetry @ git+https://github.com/python-poetry/poetry.git@main | ||
pre-commit==4.0.0 | ||
nox==2024.4.15 |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,13 +1,12 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "singer-sdk" | ||
version = "0.0.0" | ||
dynamic = [ | ||
"dependencies", | ||
"version", | ||
] | ||
description = "A framework for building Singer taps" | ||
authors = ["Meltano Team and Contributors <[email protected]>"] | ||
maintainers = ["Meltano Team and Contributors <[email protected]>"] | ||
readme = "README.md" | ||
homepage = "https://sdk.meltano.com/en/latest/" | ||
repository = "https://github.com/meltano/sdk" | ||
documentation = "https://sdk.meltano.com/en/latest/" | ||
authors = [{ name = "Meltano Team and Contributors", email = "[email protected]" }] | ||
maintainers = [{ name = "Meltano Team and Contributors", email = "[email protected]" }] | ||
keywords = [ | ||
"Meltano", | ||
"Singer", | ||
|
@@ -28,15 +27,26 @@ classifiers = [ | |
"Topic :: Software Development :: Libraries :: Application Frameworks", | ||
"Typing :: Typed", | ||
] | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
license.file = "LICENSE" | ||
requires-python = ">=3.8" | ||
|
||
[tool.poetry.urls] | ||
[project.urls] | ||
Homepage = "https://sdk.meltano.com/en/latest/" | ||
Repository = "https://github.com/meltano/sdk" | ||
Documentation = "https://sdk.meltano.com/en/latest/" | ||
"Issue Tracker" = "https://github.com/meltano/sdk/issues" | ||
"Twitter" = "https://twitter.com/meltanodata/" | ||
"Changelog" = "https://github.com/meltano/sdk/blob/main/CHANGELOG.md" | ||
"Slack" = "https://meltano.com/slack" | ||
"Youtube" = "https://www.youtube.com/meltano" | ||
|
||
[tool.poetry] | ||
# TODO: remove this duplicate name when nox-poetry supports PEP 621 | ||
# https://github.com/cjolowicz/nox-poetry/pull/1223 | ||
name = "singer-sdk" | ||
version = "0.0.0" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8" | ||
backoff = { version = ">=2.0.0", python = "<4" } | ||
|
@@ -296,13 +306,16 @@ enable = true | |
style = "pep440" | ||
|
||
[build-system] | ||
requires = ["poetry-core==1.9.0", "poetry-dynamic-versioning==1.4.0"] | ||
requires = [ | ||
"poetry-core@ git+https://github.com/python-poetry/poetry-core.git@main", | ||
"poetry-dynamic-versioning", | ||
] | ||
build-backend = "poetry_dynamic_versioning.backend" | ||
|
||
[tool.poetry.plugins."pytest11"] | ||
[project.entry-points."pytest11"] | ||
singer_testing = "singer_sdk.testing.pytest_plugin" | ||
|
||
[tool.poetry.plugins."singer_sdk.batch_encoders"] | ||
[project.entry-points."singer_sdk.batch_encoders"] | ||
jsonl = "singer_sdk.contrib.batch_encoder_jsonl:JSONLinesBatcher" | ||
parquet = "singer_sdk.contrib.batch_encoder_parquet:ParquetBatcher" | ||
|
||
|
@@ -311,7 +324,6 @@ extend-exclude = [ | |
"cookiecutter/*", | ||
] | ||
line-length = 88 | ||
target-version = "py38" | ||
|
||
[tool.ruff.format] | ||
docstring-code-format = true | ||
|