@leverege/build-tools 2.80.1-beta.1 → 2.80.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.80.1-beta.1",
3
+ "version": "2.80.1",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -31,6 +31,8 @@ RUN mkdir -p /home/{{runuser}}/.config/pip && \
31
31
  echo "[global]" >> /home/{{runuser}}/.config/pip/pip.conf && \
32
32
  echo "break-system-packages = true" >> /home/{{runuser}}/.config/pip/pip.conf
33
33
 
34
+ COPY --chown=python:python ./workspace/.python-version /usr/src/app/
35
+
34
36
  # Set up venv and keyring tools before app copy
35
37
  RUN uv venv && \
36
38
  uv tool install keyring --with keyrings.google-artifactregistry-auth
@@ -39,11 +41,9 @@ RUN uv venv && \
39
41
  {{preInstallPluginfile}}
40
42
 
41
43
  # Sync dependencies
42
- RUN --mount=type=cache,target=/home/{{runuser}}/.cache/uv,uid=1000,gid=1000 \
43
- --mount=type=bind,source=./workspace/uv.lock,target=/usr/src/app/uv.lock \
44
- --mount=type=bind,source=./workspace/pyproject.toml,target=/usr/src/app/pyproject.toml \
45
- --mount=type=bind,source=./workspace/.python-version,target=/usr/src/app/.python-version \
46
- uv sync --locked --no-install-project
44
+ COPY --chown=python:python ./workspace/requirements.txt /usr/src/app/requirements.txt
45
+ RUN uv pip install --extra-index-url https://oauth2accesstoken@us-python.pkg.dev/leverege-registry/leverege-python-packages/simple --keyring-provider subprocess -r requirements.txt
46
+
47
47
 
48
48
  # Copy application source AFTER venv + tool setup
49
49
  COPY --chown={{runuser}}:{{runuser}} ./workspace/ /usr/src/app/