-
Notifications
You must be signed in to change notification settings - Fork 0
feat: configure release-please #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| ".": "0.2.20" | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -47,7 +47,7 @@ python3 -m pip install --upgrade setuptools wheel | |||||
| python3 setup.py bdist_wheel | ||||||
|
|
||||||
| # Prove that the wheel can be installed | ||||||
| pip install dist/otdf_python-0.2.19-py3-none-any.whl | ||||||
| pip install dist/otdf_python-0.2.20-py3-none-any.whl | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hardcoding the version number in the wheel filename makes the build script brittle as it needs to be updated for every release. Using a wildcard (glob) to find the wheel file would make this script more robust and reduce maintenance for version bumps.
Suggested change
|
||||||
|
|
||||||
| if [[ "$SKIP_TESTS" == "-s" || "$SKIP_TESTS" == "--skip-tests" ]]; then | ||||||
| echo "Build is complete, skipping tests." | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -70,7 +70,7 @@ loud_print "Installing wheel" | |||||
| uv venv .venv-wheel --python 3.12 "$PY_TYPE" | ||||||
| source "${BUILD_ROOT}/.venv-wheel/bin/activate" | ||||||
| pip install pybindgen | ||||||
| pip install dist/otdf_python-0.2.19-py3-none-any.whl | ||||||
| pip install dist/otdf_python-0.2.20-py3-none-any.whl | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hardcoding the version number in the wheel filename makes the build script brittle as it needs to be updated for every release. Using a wildcard (glob) to find the wheel file would make this script more robust and reduce maintenance for version bumps.
Suggested change
|
||||||
|
|
||||||
| if [[ "$SKIP_TESTS" == "-s" || "$SKIP_TESTS" == "--skip-tests" ]]; then | ||||||
| echo "Build is complete, skipping tests." | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| [project] | ||
| name = "otdf-python" | ||
| # Should match 'setup.py' version number (used for gopy/pybindgen) | ||
| version = "0.2.19" | ||
| version = "0.2.20" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The project version is duplicated across several files ( Consider defining the version only in |
||
| description = "Unofficial OpenTDF SDK for Python." | ||
| authors = [ | ||
| {name="b-long", email="[email protected]"} | ||
|
|
@@ -19,7 +19,7 @@ pybindgen = "^0.22.1" | |
|
|
||
| [tool.poetry] | ||
| package-mode = false | ||
| version = "0.2.19" | ||
| version = "0.2.20" | ||
|
|
||
| [tool.poetry.dependencies] | ||
| python = ">=3.10,<3.14" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,7 +24,7 @@ | |
| url="https://github.com/b-long/opentdf-python-sdk", | ||
| package_data={"otdf_python": ["*.so"]}, | ||
| # Should match 'pyproject.toml' version number | ||
| version="0.2.19", | ||
| version="0.2.20", | ||
| author_email="[email protected]", | ||
| include_package_data=True, | ||
| ) | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hardcoding the version number in the wheel filename makes the build script brittle as it needs to be updated for every release. Using a wildcard (glob) to find the wheel file would make this script more robust and reduce maintenance for version bumps.