nmdc-runtime 2.11.0__py3-none-any.whl → 2.11.1__py3-none-any.whl

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.

Potentially problematic release.


This version of nmdc-runtime might be problematic. Click here for more details.

nmdc_runtime/Dockerfile CHANGED
@@ -85,13 +85,17 @@ ENV PATH="/root/.local/bin/:$PATH"
85
85
  # instead of when the container is running. By default, `uv` defers this compilation
86
86
  # to "import time," whereas `pip` (by default) performs it at "install time" (like this).
87
87
  #
88
+ # Note: We use `--locked` so that `uv sync` exits with an error if the `uv.lock` file isn't _already_
89
+ # up to date. By default, `uv sync` would automatically update the lock file if necessary.
90
+ # Reference: https://docs.astral.sh/uv/reference/cli/#uv-sync--locked
91
+ #
88
92
  ENV VIRTUAL_ENV="/venv"
89
93
  RUN mkdir -p "${VIRTUAL_ENV}"
90
94
  COPY ./pyproject.toml /code/pyproject.toml
91
95
  COPY ./uv.lock /code/uv.lock
92
96
  RUN --mount=type=cache,target=/root/.cache/uv \
93
97
  cd /code && \
94
- UV_LINK_MODE=copy uv sync --active --no-dev --no-install-project --compile-bytecode
98
+ UV_LINK_MODE=copy uv sync --active --no-dev --no-install-project --compile-bytecode --locked
95
99
 
96
100
  # ────────────────────────────────────────────────────────────────────────────┐
97
101
  FROM base AS fastapi
@@ -103,12 +107,18 @@ COPY . /code
103
107
  # Install the project in editable mode.
104
108
  RUN --mount=type=cache,target=/root/.cache/uv \
105
109
  cd /code && \
106
- uv sync --active --no-dev
110
+ uv sync --active --no-dev --compile-bytecode --locked
107
111
 
108
112
  # Use Uvicorn to serve the FastAPI app on port 8000.
113
+ #
114
+ # Note: We include the `--no-sync` option to prevent `uv run` from automatically syncing dependencies.
115
+ # If it were to sync dependencies at this point, it would install development dependencies, since
116
+ # we exclude them above, but they are listed in uv's `default-groups` configuration by default.
117
+ # This is explained at: https://github.com/astral-sh/uv/issues/12558#issuecomment-2764611918
118
+ #
109
119
  EXPOSE 8000
110
120
  WORKDIR /code
111
- CMD ["uv", "run", "--active", "uvicorn", "nmdc_runtime.api.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "8000"]
121
+ CMD ["uv", "run", "--active", "--no-sync", "uvicorn", "nmdc_runtime.api.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "8000"]
112
122
 
113
123
  # ────────────────────────────────────────────────────────────────────────────┐
114
124
  FROM base AS dagster
@@ -124,7 +134,7 @@ COPY . /opt/dagster/lib
124
134
  # Install the project in editable mode.
125
135
  RUN --mount=type=cache,target=/root/.cache/uv \
126
136
  cd /opt/dagster/lib && \
127
- uv sync --active --no-dev
137
+ uv sync --active --no-dev --compile-bytecode --locked
128
138
 
129
139
  # Move Dagster configuration files to the place Dagster expects.
130
140
  ENV DAGSTER_HOME="/opt/dagster/dagster_home/"
@@ -154,7 +164,7 @@ COPY . /code
154
164
  # Install the project in editable mode, and install development dependencies.
155
165
  RUN --mount=type=cache,target=/root/.cache/uv \
156
166
  cd /code && \
157
- uv sync --active
167
+ uv sync --active --compile-bytecode --locked
158
168
 
159
169
  # Make `wait-for-it.sh` executable.
160
170
  RUN chmod +x /code/.docker/wait-for-it.sh
@@ -23,4 +23,4 @@ file_env() {
23
23
  file_env "MONGO_PASSWORD"
24
24
  file_env "DAGSTER_POSTGRES_PASSWORD"
25
25
 
26
- exec uv run --active dagster-daemon run
26
+ exec uv run --active --no-sync dagster-daemon run
@@ -23,4 +23,4 @@ file_env() {
23
23
  file_env "MONGO_PASSWORD"
24
24
  file_env "DAGSTER_POSTGRES_PASSWORD"
25
25
 
26
- exec uv run --active dagit -h 0.0.0.0 -p 3000 -w workspace.yaml --read-only
26
+ exec uv run --active --no-sync dagit -h 0.0.0.0 -p 3000 -w workspace.yaml --read-only
@@ -23,4 +23,4 @@ file_env() {
23
23
  file_env "MONGO_PASSWORD"
24
24
  file_env "DAGSTER_POSTGRES_PASSWORD"
25
25
 
26
- exec uv run --active dagit -h 0.0.0.0 -p 3000 -w workspace.yaml
26
+ exec uv run --active --no-sync dagit -h 0.0.0.0 -p 3000 -w workspace.yaml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nmdc-runtime
3
- Version: 2.11.0
3
+ Version: 2.11.1
4
4
  Summary: A runtime system for NMDC data management and orchestration
5
5
  Project-URL: Changelog, https://github.com/microbiomedata/nmdc-runtime/releases
6
6
  Project-URL: Documentation, https://docs.microbiomedata.org/runtime
@@ -1,4 +1,4 @@
1
- nmdc_runtime/Dockerfile,sha256=3CyLW_4PRP-8cpwJHAiP4u_n736de-TJmi0dcVXbP1s,9257
1
+ nmdc_runtime/Dockerfile,sha256=X6_f-HX993Q6PH5J9mf01-3w0dSs_5tfUX7Eq7RzugE,10052
2
2
  nmdc_runtime/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  nmdc_runtime/config.py,sha256=fVxcqdXv13Fa9CSRPnFIsfmvmlos8o4SFUZcmsXfX_8,2020
4
4
  nmdc_runtime/main.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -79,9 +79,9 @@ nmdc_runtime/minter/entrypoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
79
79
  nmdc_runtime/minter/entrypoints/fastapi_app.py,sha256=I_lgExs6g1MRpMQdpedrnYdA1L7r_TBi4RiiD8ogrkM,4015
80
80
  nmdc_runtime/site/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
81
  nmdc_runtime/site/dagster.yaml,sha256=VCFx2naLjaNzP8AYr5uvzxRIf4fC0mHm7cctcYsVrNA,1204
82
- nmdc_runtime/site/entrypoint-daemon.sh,sha256=kTc9dQqzR0eQ9TBZcOeeYRXBOKRe05A1INRFes-z3hw,513
83
- nmdc_runtime/site/entrypoint-dagit-readonly.sh,sha256=ZY-K3l6apK8jA4mjcxePsjWb4_rh-WKz3CHmvvK_zj0,549
84
- nmdc_runtime/site/entrypoint-dagit.sh,sha256=TWEIAyKyCEMHX5XnbGLO0xdhYNgeXsxgs1GFnr2Avms,537
82
+ nmdc_runtime/site/entrypoint-daemon.sh,sha256=voB8pm8zxOXYlTAmUae6_1r5Abomp5E67_SfTdrKN4s,523
83
+ nmdc_runtime/site/entrypoint-dagit-readonly.sh,sha256=RwHiDxIzPB9_wIvdIMRvTPcWKXl2tRpQtXITTioAvAc,559
84
+ nmdc_runtime/site/entrypoint-dagit.sh,sha256=Y310ny5a4aSlTF8WHHRO0c-YGKJEPZV5DSF-eP1nxUo,547
85
85
  nmdc_runtime/site/graphs.py,sha256=KeC6SKFNUW6SGubruFRrZsfBRN6tUfc3tp6tEst8bMU,17910
86
86
  nmdc_runtime/site/ops.py,sha256=RainLCYEvgglHqgwJWdHu4C15W3DxKOx428vxZSIK_Q,62974
87
87
  nmdc_runtime/site/repository.py,sha256=Kcdt293K1irWcmw7R9L-5sTEBhdoaIdgdM0mgFNrMMc,44117
@@ -121,8 +121,8 @@ nmdc_runtime/static/NMDC_logo.svg,sha256=-13FrhQMWOg7FMprd3p6dwSOEf8xWkrHJB_P-nx
121
121
  nmdc_runtime/static/ORCID-iD_icon_vector.svg,sha256=JOKAW7lAn7Giws6aS_jBQGYG4DoPUBQ5S5mgmCSwmcA,973
122
122
  nmdc_runtime/static/README.md,sha256=g0fitEFvZfBcSWzgjOxzDdfouBlq95xFKpAag0VPzL4,397
123
123
  nmdc_runtime/static/favicon.ico,sha256=FsOefOmgCU9fp2f1FxKimZ8zHg7mBYj_Cv70S5VIcuI,15086
124
- nmdc_runtime-2.11.0.dist-info/METADATA,sha256=_lp2sVUd9rtPOgYgMSkF6TOgmIDSV9pT-mhr8hGtjTg,1470
125
- nmdc_runtime-2.11.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
126
- nmdc_runtime-2.11.0.dist-info/entry_points.txt,sha256=JxdvOnvxHK_8046cwlvE30s_fV0-k-eTpQtkKYA69nQ,224
127
- nmdc_runtime-2.11.0.dist-info/licenses/LICENSE,sha256=VWiv65r7gHGjgtr3jMJYVmQny5GRpQ6H-W9sScb1x70,2408
128
- nmdc_runtime-2.11.0.dist-info/RECORD,,
124
+ nmdc_runtime-2.11.1.dist-info/METADATA,sha256=9NE56U8OzsgQaRqC8Xx06QZwDGW4OeHjqiePSsmP2pk,1470
125
+ nmdc_runtime-2.11.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
126
+ nmdc_runtime-2.11.1.dist-info/entry_points.txt,sha256=JxdvOnvxHK_8046cwlvE30s_fV0-k-eTpQtkKYA69nQ,224
127
+ nmdc_runtime-2.11.1.dist-info/licenses/LICENSE,sha256=VWiv65r7gHGjgtr3jMJYVmQny5GRpQ6H-W9sScb1x70,2408
128
+ nmdc_runtime-2.11.1.dist-info/RECORD,,