Remove Docker sed patches - repos now have PySide6
All ecosystem repos have been updated with PySide6 changes, so the build-time patches are no longer needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a2b2de457d
commit
39a85b6748
19
Dockerfile
19
Dockerfile
|
|
@ -40,25 +40,6 @@ RUN git clone ${GITEA_URL}/CmdForge.git CmdForge && \
|
||||||
git clone ${GITEA_URL}/orchestrated-discussions.git orchestrated-discussions && \
|
git clone ${GITEA_URL}/orchestrated-discussions.git orchestrated-discussions && \
|
||||||
git clone ${GITEA_URL}/development-hub.git development-hub
|
git clone ${GITEA_URL}/development-hub.git development-hub
|
||||||
|
|
||||||
# Apply patches for PySide6 unification (until changes are pushed to Gitea)
|
|
||||||
# Patch pyproject.toml files
|
|
||||||
RUN sed -i 's|PyQt6|PySide6|g' /workspace/development-hub/pyproject.toml && \
|
|
||||||
sed -i 's|file:///home/rob/PycharmProjects|file:///workspace|g' /workspace/development-hub/pyproject.toml && \
|
|
||||||
sed -i 's|PyQt6|PySide6|g' /workspace/artifact-editor/pyproject.toml
|
|
||||||
|
|
||||||
# Patch source files: PyQt6 -> PySide6
|
|
||||||
RUN find /workspace/development-hub/src -name "*.py" -exec sed -i \
|
|
||||||
-e 's/from PyQt6/from PySide6/g' \
|
|
||||||
-e 's/import PyQt6/import PySide6/g' \
|
|
||||||
-e 's/pyqtSignal/Signal/g' \
|
|
||||||
-e 's/pyqtSlot/Slot/g' {} \;
|
|
||||||
|
|
||||||
RUN find /workspace/artifact-editor/src -name "*.py" -exec sed -i \
|
|
||||||
-e 's/from PyQt6/from PySide6/g' \
|
|
||||||
-e 's/import PyQt6/import PySide6/g' \
|
|
||||||
-e 's/pyqtSignal/Signal/g' \
|
|
||||||
-e 's/pyqtSlot/Slot/g' {} \;
|
|
||||||
|
|
||||||
# Create venv and install
|
# Create venv and install
|
||||||
RUN python -m venv /venv
|
RUN python -m venv /venv
|
||||||
ENV PATH="/venv/bin:$PATH"
|
ENV PATH="/venv/bin:$PATH"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue