diff --git a/.github/workflows/publish-computer.yml b/.github/workflows/publish-computer.yml index 9175907e..80e15730 100644 --- a/.github/workflows/publish-computer.yml +++ b/.github/workflows/publish-computer.yml @@ -26,7 +26,6 @@ jobs: runs-on: macos-latest outputs: version: ${{ steps.get-version.outputs.version }} - pylume_version: ${{ steps.update-deps.outputs.pylume_version }} core_version: ${{ steps.update-deps.outputs.core_version }} steps: - uses: actions/checkout@v4 @@ -91,20 +90,16 @@ jobs: return fallback # Get latest versions - print(get_package_version('pylume')) print(get_package_version('cua-core')) EOF # Execute the script to get the versions VERSIONS=($(python get_latest_versions.py)) - LATEST_PYLUME=${VERSIONS[0]} - LATEST_CORE=${VERSIONS[1]} + LATEST_CORE=${VERSIONS[0]} - echo "Latest pylume version: $LATEST_PYLUME" echo "Latest cua-core version: $LATEST_CORE" # Output the versions for the next job - echo "pylume_version=$LATEST_PYLUME" >> $GITHUB_OUTPUT echo "core_version=$LATEST_CORE" >> $GITHUB_OUTPUT # Determine major version for version constraint @@ -114,17 +109,15 @@ jobs: # Update dependencies in pyproject.toml if [[ "$OSTYPE" == "darwin"* ]]; then # macOS version of sed needs an empty string for -i - sed -i '' "s/\"pylume>=.*\"/\"pylume>=$LATEST_PYLUME\"/" pyproject.toml sed -i '' "s/\"cua-core>=.*,<.*\"/\"cua-core>=$LATEST_CORE,<$NEXT_CORE_MAJOR.0.0\"/" pyproject.toml else # Linux version - sed -i "s/\"pylume>=.*\"/\"pylume>=$LATEST_PYLUME\"/" pyproject.toml sed -i "s/\"cua-core>=.*,<.*\"/\"cua-core>=$LATEST_CORE,<$NEXT_CORE_MAJOR.0.0\"/" pyproject.toml fi # Display the updated dependencies echo "Updated dependencies in pyproject.toml:" - grep -E "pylume|cua-core" pyproject.toml + grep -E "cua-core" pyproject.toml publish: needs: prepare @@ -144,5 +137,4 @@ jobs: steps: - name: Set environment variables for use in other jobs run: | - echo "PYLUME_VERSION=${{ needs.prepare.outputs.pylume_version }}" >> $GITHUB_ENV echo "CORE_VERSION=${{ needs.prepare.outputs.core_version }}" >> $GITHUB_ENV \ No newline at end of file diff --git a/libs/computer/pyproject.toml b/libs/computer/pyproject.toml index 9226f481..a1de047d 100644 --- a/libs/computer/pyproject.toml +++ b/libs/computer/pyproject.toml @@ -31,8 +31,10 @@ ui = [ "datasets>=3.6.0,<4.0.0", ] all = [ + # Include all optional dependencies "gradio>=5.23.3,<6.0.0", "python-dotenv>=1.0.1,<2.0.0", + "datasets>=3.6.0,<4.0.0", ] [tool.pdm] diff --git a/libs/lumier/README.md b/libs/lumier/README.md index a3296d98..5235f1b8 100644 --- a/libs/lumier/README.md +++ b/libs/lumier/README.md @@ -54,9 +54,9 @@ Here's what's happening behind the scenes: ```bash # Run the container with temporary storage (using pre-built image from Docker Hub) docker run -it --rm \ - --name lumier-vm \ + --name macos-vm \ -p 8006:8006 \ - -e VM_NAME=lumier-vm \ + -e VM_NAME=macos-vm \ -e VERSION=ghcr.io/trycua/macos-sequoia-cua:latest \ -e CPU_CORES=4 \ -e RAM_SIZE=8192 \