-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use
hynek/build-and-inspect-python-package
(#2142)
* ci: Use `hynek/build-and-inspect-python-package` * Use dynamic versioning * Fetch tags in tests
- Loading branch information
1 parent
a79cff8
commit 2fe3e8d
Showing
4 changed files
with
30 additions
and
39 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,6 +1,7 @@ | ||
pip==23.3.2 | ||
poetry==1.7.1 | ||
poetry-plugin-export==1.6.0 | ||
poetry-dynamic-versioning==1.2.0 | ||
pre-commit==3.6.0 | ||
nox==2023.4.22 | ||
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "singer-sdk" | ||
version = "0.34.1" | ||
version = "0.0.0" | ||
description = "A framework for building Singer taps" | ||
authors = ["Meltano Team and Contributors <[email protected]>"] | ||
maintainers = ["Meltano Team and Contributors <[email protected]>"] | ||
|
@@ -174,7 +174,6 @@ prerelease_offset = 1 | |
tag_format = "v$major.$minor.$patch$prerelease" | ||
version_files = [ | ||
"docs/conf.py:^release =", | ||
"pyproject.toml:^version =", | ||
"cookiecutter/tap-template/{{cookiecutter.tap_id}}/pyproject.toml:singer-sdk", | ||
"cookiecutter/target-template/{{cookiecutter.target_id}}/pyproject.toml:singer-sdk", | ||
"cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/pyproject.toml:singer-sdk", | ||
|
@@ -230,9 +229,13 @@ module = [ | |
"pyarrow.*", # TODO: Remove when https://github.com/apache/arrow/issues/32609 if implemented and released | ||
] | ||
|
||
[tool.poetry-dynamic-versioning] | ||
enable = true | ||
style = "pep440" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["poetry-core==1.8.1", "poetry-dynamic-versioning==1.2.0"] | ||
build-backend = "poetry_dynamic_versioning.backend" | ||
|
||
[tool.poetry.scripts] | ||
pytest11 = { reference = "singer_sdk:testing.pytest_plugin", extras = ["testing"], type = "console" } | ||
|