Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-golang-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ jobs:
- name: Test Python wheel
run: |
# Test wheel installation
pip install dist/otdf_python-0.1.8-py3-none-any.whl
pip install dist/otdf_python-0.1.9-py3-none-any.whl

# Test wheel functionality
# python3 validate_otdf_python.py

# - uses: ./.github/workflows/platform-integration-test.yaml
# with:
# wheel: dist/otdf_python-0.1.8-py3-none-any.whl
# wheel: dist/otdf_python-0.1.9-py3-none-any.whl

# release:
# needs: build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-golang-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,20 @@ jobs:
- name: Test Python wheel
run: |
# Test wheel installation
pip install dist/otdf_python-0.1.8-py3-none-any.whl
pip install dist/otdf_python-0.1.9-py3-none-any.whl

# DISABLED: Need to figure out Ubuntu nested VM
# Test wheel functionality
# python3 validate_otdf_python.py

- uses: actions/cache/restore@v4
with:
path: dist/otdf_python-0.1.8-py3-none-any.whl
path: dist/otdf_python-0.1.9-py3-none-any.whl
key: ${{ runner.os }}-data-${{ github.sha }}

- uses: actions/cache/save@v4
with:
path: dist/otdf_python-0.1.8-py3-none-any.whl
path: dist/otdf_python-0.1.9-py3-none-any.whl
key: ${{ runner.os }}-data-${{ github.sha }}
restore-keys: |
${{ runner.os }}-data-
Expand All @@ -89,4 +89,4 @@ jobs:
needs: build
uses: ./.github/workflows/platform-integration-test.yaml
with:
wheel: dist/otdf_python-0.1.8-py3-none-any.whl
wheel: dist/otdf_python-0.1.9-py3-none-any.whl
2 changes: 1 addition & 1 deletion .github/workflows/platform-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: actions/cache/restore@v4
with:
path: dist/otdf_python-0.1.8-py3-none-any.whl
path: dist/otdf_python-0.1.9-py3-none-any.whl
key: ${{ runner.os }}-data-${{ github.sha }}

- name: Prove that the input file is available
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
PYTHON_BINARY_PATH: /usr/local/bin/python_for_build
CIBW_BUILD: "cp3${{ matrix.python3_version }}-*"
CIBW_SKIP: "cp36-* cp37-* cp38-* cp39-* cp310-* cp313-* *-musllinux_x86_64"
CIBW_ENVIRONMENT: >
PATH=$PATH:/usr/local/go/bin
GOARCH=${{ matrix.arch_cibw_go[1] }}
Expand Down Expand Up @@ -164,7 +165,7 @@ jobs:
# env:
# # CGO_ENABLED: 1
# CIBW_BUILD: "cp3*"
# CIBW_SKIP: "cp36-* cp37-* cp38-* cp39-* cp310-*"
# CIBW_SKIP: "cp36-* cp37-* cp38-* cp39-* cp310-* cp313-* *-musllinux_x86_64"
# CIBW_ARCHS: "native"
# CIBW_ENVIRONMENT: >
# GOARCH=amd64
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
PYTHON_BINARY_PATH: /usr/local/bin/python_for_build
CIBW_BUILD: "cp3${{ matrix.python3_version }}-*"
CIBW_SKIP: "cp36-* cp37-* cp38-* cp39-* cp310-* cp313-* *-musllinux_x86_64"
CIBW_ENVIRONMENT: >
PATH=$PATH:/usr/local/go/bin
GOARCH=${{ matrix.arch_cibw_go[1] }}
Expand Down
2 changes: 1 addition & 1 deletion make_and_validate_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,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.1.8-py3-none-any.whl
pip install dist/otdf_python-0.1.9-py3-none-any.whl

if [[ "$SKIP_TESTS" == "-s" || "$SKIP_TESTS" == "--skip-tests" ]]; then
echo "Build is complete, skipping tests."
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "otdf-python"
# Should match 'setup.py' version number (used for gopy/pybindgen)
version = "0.1.8"
version = "0.1.9"
description = "Unofficial OpenTDF SDK for Python."
authors = ["b-long <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.8",
version="0.1.9",
author_email="[email protected]",
include_package_data=True,
)
2 changes: 1 addition & 1 deletion setup_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def build_extension(self, ext: Extension):

setuptools.setup(
name="otdf_python",
version="0.1.8",
version="0.1.9",
author="b-long",
description="Unofficial OpenTDF SDK for Python.",
long_description_content_type="text/markdown",
Expand Down
Loading