Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
fa121dd
Use go routines for multifile work
b-long Feb 6, 2025
ca5ad9c
Bump 0.2.4 -> 0.2.5
b-long Feb 6, 2025
acf145a
Merge pull request #37 from b-long/feature/go-routines-for-multifile-…
b-long Feb 6, 2025
0e4f84a
Use one client per go routine
b-long Feb 7, 2025
2ed949b
Bump 0.2.5 -> 0.2.6
b-long Feb 7, 2025
4b70e54
Merge pull request #39 from b-long/bugfix/one-client-per-goroutine
b-long Feb 7, 2025
1f3c048
Use file extensions not glob pattern
b-long Feb 7, 2025
b1d408b
Update tests
b-long Feb 7, 2025
9cd3685
Cleanup & improve testing
b-long Feb 7, 2025
fe9f370
Update codespell
b-long Feb 7, 2025
0de67b4
Bump 0.2.6 -> 0.2.7
b-long Feb 7, 2025
5329bec
Merge pull request #40 from b-long/feature/use-file-extensions-not-gl…
b-long Feb 9, 2025
7c860e4
More logging
b-long Feb 11, 2025
cd9e41b
Bump 0.2.7 -> 0.2.8
b-long Feb 11, 2025
88ebada
Merge pull request #41 from b-long/feature/more-logging
b-long Feb 11, 2025
1742f85
Initialize with a size for speed
b-long Feb 11, 2025
4bff87e
Provide more error detail
b-long Feb 11, 2025
2faddcb
Provide comment for 'logOutputPaths'
b-long Feb 11, 2025
4eab9cf
Improve return values/logic
b-long Feb 11, 2025
44ff880
Initialize with a size for speed
b-long Feb 11, 2025
2ba4f60
Use newSdkClient in loop & use channels for data
b-long Feb 11, 2025
c95e1dc
Add timeout to ARM builds
b-long Feb 12, 2025
18525f6
Bump 0.2.8 -> 0.2.9
b-long Feb 12, 2025
768b3eb
Merge pull request #42 from b-long/bugfix/improve-decrypt-directory-w…
b-long Feb 12, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/build-golang-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:

# - uses: ./.github/workflows/platform-integration-test.yaml
# with:
# wheel: dist/otdf_python-0.2.4-py3-none-any.whl
# wheel: dist/otdf_python-0.2.9-py3-none-any.whl
6 changes: 3 additions & 3 deletions .github/workflows/build-golang-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:

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

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

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

- name: Prove that the input file is available
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jobs:
build_linux_arm:
name: Linux Python ARM
runs-on: ubuntu-22.04
timeout-minutes: 60

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ jobs:
build_linux_arm:
name: Linux Python ARM
runs-on: ubuntu-22.04
timeout-minutes: 60

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
# - id: validate-toml
- id: no-go-testing
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
args: ["--ignore-words-list", "b-long, otdf_python", "--skip=go.sum,otdf_python/"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Install from the [Python Package Index (PyPI)](https://pypi.org):
pip install otdf_python

# Install a pinned version
pip install otdf-python==0.2.4
pip install otdf-python==0.2.9

# Install a pinned version, from test.pypi.org
pip install -i https://test.pypi.org/simple/ otdf-python==0.2.4
pip install -i https://test.pypi.org/simple/ otdf-python==0.2.9
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ echo "✨✨✨ Build wheel"
poetry run python3 setup.py bdist_wheel

echo "✨✨✨ Install wheel"
pip install dist/otdf_python-0.2.4-py3-none-any.whl
pip install dist/otdf_python-0.2.9-py3-none-any.whl
2 changes: 1 addition & 1 deletion build-scripts/make_and_validate_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.4-py3-none-any.whl
pip install dist/otdf_python-0.2.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 build-scripts/uv_make_and_validate_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.4-py3-none-any.whl
pip install dist/otdf_python-0.2.9-py3-none-any.whl

if [[ "$SKIP_TESTS" == "-s" || "$SKIP_TESTS" == "--skip-tests" ]]; then
echo "Build is complete, skipping tests."
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug=
github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM=
github.com/opentdf/platform/lib/fixtures v0.2.8 h1:lGYrMnbORtU62lxsJi8qPsxjFuNIkc4Dop8rVkH6pD0=
github.com/opentdf/platform/lib/fixtures v0.2.8/go.mod h1:8yCSe+oUzW9jbM573r9qgE68rjwDMNzktObiGVsO/W8=
github.com/opentdf/platform/lib/fixtures v0.2.9 h1:lGYrMnbORtU62lxsJi8qPsxjFuNIkc4Dop8rVkH6pD0=
github.com/opentdf/platform/lib/fixtures v0.2.9/go.mod h1:8yCSe+oUzW9jbM573r9qgE68rjwDMNzktObiGVsO/W8=
github.com/opentdf/platform/lib/ocrypto v0.1.7 h1:IcCYRrwmMqntqUE8frmUDg5EZ0WMdldpGeGhbv9+/A8=
github.com/opentdf/platform/lib/ocrypto v0.1.7/go.mod h1:4bhKPbRFzURMerH5Vr/LlszHvcoXQbfJXa0bpY7/7yg=
github.com/opentdf/platform/protocol/go v0.2.22 h1:C/jjtwu5yTon8g0ewuN29QE7VXSQHyb2dx9W0U6Oqok=
Expand Down
Loading
Loading