Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

test workflow

patcher9484171212adc
diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml
index 50271bf8..6e5dd8be 100644
--- a/.github/workflows/pypi-release.yml
+++ b/.github/workflows/pypi-release.yml
@@ -30,13 +30,46 @@ jobs:
working-directory: sdk/python
run: |
rm -rf dist/
- poetry build
+ echo "=== Current directory ==="
+ pwd
+ echo "=== Directory contents ==="
+ ls -la
+ echo "=== Checking if src/openlit exists ==="
+ if [ -d "src/openlit" ]; then
+ echo "✅ src/openlit directory exists"
+ ls -la src/openlit/
+ else
+ echo "❌ src/openlit directory NOT found"
+ echo "Available directories:"
+ find . -type d -name "*openlit*"
+ fi
+ echo "=== pyproject.toml content ==="
+ cat pyproject.toml
+ echo "=== Source directory structure ==="
+ find . -name "*.py" | head -20
+ echo "=== Poetry check ==="
+ poetry check
+ echo "=== Building with verbose output ==="
+ poetry build -vvv
- name: Validate package
working-directory: sdk/python
run: |
pip install twine
- twine check dist/*
+ echo "=== Built files ==="
+ ls -la dist/
+ echo "=== Wheel contents ==="
+ python -m zipfile -l dist/*.whl
+ echo "=== Extracting wheel ==="
+ python -m zipfile -e dist/*.whl temp_extract/
+ echo "=== Searching for metadata ==="
+ find temp_extract/ -type f -name "*" | sort
+ echo "=== METADATA file content ==="
+ find temp_extract/ -name "METADATA" -exec cat {} \;
+ echo "=== PKG-INFO content (if exists) ==="
+ find temp_extract/ -name "PKG-INFO" -exec cat {} \;
+ echo "=== Running twine check ==="
+ twine check dist/* --verbose
- name: Publish package
uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0