Update dependency installation commands

- Changed `uv pip install` to `uv pip sync` in workflow and Dockerfile.
- Added new package with dependencies in lock file.
- Removed old package definition from lock file.
This commit is contained in:
Jonathon Broughton
2025-03-24 17:29:23 +00:00
parent 218b889302
commit 1fa18fb657
3 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
pip install uv pip install uv
uv pip install --system . uv pip sync --system
- name: Extract functionInputSchema - name: Extract functionInputSchema
id: extract_schema id: extract_schema
+1 -1
View File
@@ -13,6 +13,6 @@ COPY . /home/speckle
RUN pip install uv RUN pip install uv
# Install your package and dependencies # Install your package and dependencies
RUN uv pip install --system . RUN uv pip sync --system
CMD ["python", "main.py", "run"] CMD ["python", "main.py", "run"]
Generated
+21 -21
View File
@@ -105,6 +105,27 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 }, { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 },
] ]
[[package]]
name = "data-shield"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
{ name = "mypy" },
{ name = "pydantic-settings" },
{ name = "pytest" },
{ name = "ruff" },
{ name = "specklepy" },
]
[package.metadata]
requires-dist = [
{ name = "mypy", specifier = ">=1.15.0" },
{ name = "pydantic-settings", specifier = ">=2.8.1" },
{ name = "pytest", specifier = ">=8.3.4" },
{ name = "ruff", specifier = ">=0.9.9" },
{ name = "specklepy", specifier = ">=2.21.3" },
]
[[package]] [[package]]
name = "deprecated" name = "deprecated"
version = "1.2.18" version = "1.2.18"
@@ -520,27 +541,6 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 },
] ]
[[package]]
name = "speckle-automate-data-shield"
version = "0.1.0"
source = { virtual = "." }
dependencies = [
{ name = "mypy" },
{ name = "pydantic-settings" },
{ name = "pytest" },
{ name = "ruff" },
{ name = "specklepy" },
]
[package.metadata]
requires-dist = [
{ name = "mypy", specifier = ">=1.15.0" },
{ name = "pydantic-settings", specifier = ">=2.8.1" },
{ name = "pytest", specifier = ">=8.3.4" },
{ name = "ruff", specifier = ">=0.9.9" },
{ name = "specklepy", specifier = ">=2.21.3" },
]
[[package]] [[package]]
name = "specklepy" name = "specklepy"
version = "2.21.3" version = "2.21.3"