Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ notebooks:
- emfs:/drive/packages/watchdog-2.3.1-py3-none-any.whl
- name: specific_examples
packages_pyodide:
- mat3ra-standata==2026.5.15.post0
- mat3ra-standata

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Read-only verification:
# 1) confirm both unpinned entries in config
# 2) confirm reinstall gate depends on version operators

rg -n 'mat3ra-standata' config.yml
rg -n 'def package_has_version_specifier|def should_reinstall_package|VERSION_SPECIFIERS' src/py/mat3ra/notebooks_utils/pyodide/packages/install.py -n -A4 -B2

Repository: Exabyte-io/api-examples

Length of output: 791


Unpinning here can freeze stale versions in existing sessions and weaken reproducibility.

With mat3ra-standata fully unpinned (lines 54, 76), the installer's should_reinstall_package() gate no longer treats it as versioned, so profile changes won't force uninstall/reinstall for this package. Combined with hash-by-spec-string, this can leave older installed versions in long-lived environments even after newer releases exist.

Consider using a bounded spec like mat3ra-standata>=2026.5.15.post0 so it remains eligible for the version-specifier reinstall path while still allowing upgrades.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@config.yml` at line 54, The mat3ra-standata package at line 54 is fully
unpinned, which prevents the installer from treating it as versioned and causes
it to not be reinstalled when profile changes occur, potentially leaving stale
versions in existing sessions. Replace the unpinned mat3ra-standata entry with a
bounded version specification such as mat3ra-standata>=2026.5.15.post0 to ensure
it remains eligible for version-specifier-based reinstall paths while still
allowing upgrades. Apply the same change to the mat3ra-standata reference at
line 76 to maintain consistency.

# - mat3ra-notebooks-utils[utils_standata]
- name: api
packages_pyodide:
Expand All @@ -73,7 +73,7 @@ notebooks:
- jinja2
- emfs:/drive/packages/pydantic_core-2.18.2-py3-none-any.whl
- emfs:/drive/packages/pydantic-2.7.1-py3-none-any.whl
- mat3ra-standata==2026.5.15.post0
- mat3ra-standata
- mat3ra-ide
- mat3ra-api-client
- requests
Expand Down
Loading