Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

[Bug] `veadk studio update` fails: bundled `openviking_sdk-0.1.4` wheel conflicts with `openviking-sdk>=0.1.9`

Ouverte Adaptée aux débutants
#1,154 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
2/5
Temps estimé
1-3 heures
Accessibilité débutants
92/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
python
Domaine
build-system, cli

Piste de recherche

Commencez par veadk/cli/studio_dependencies.py et pyproject.toml afin de comparer la version du wheel mis en staging avec l’exigence du package, puis examinez tests/cli/test_studio_deploy_target.py. Exécutez les tests de packaging, de mise à jour et de release de Studio ; c’est terminé lorsque le wheel attendu correspond à l’exigence et que veadk studio update s’exécute sans échec de résolution des dépendances.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Summary

PR #1151 (31d2c67) raised the requirement in pyproject.toml to openviking-sdk>=0.1.9. Since then, veadk studio update fails while it installs dependencies for the Studio cronjob scheduler.

The update package still ships the pinned openviking_sdk-0.1.4 wheel from STUDIO_DEPENDENCY_WHEELS. uv cannot satisfy both versions, so the update aborts. A fresh veadk studio deploy is not affected.

The 1.1.14 tag points at the same commit, so the 1.1.14 release has the same mismatch.

Environment
  • veadk-python: main @ 31d2c67be6fb9bd7f3139de42d2615c2c4a73e6f (tag 1.1.14). Built locally as 1.1.15.dev0+g31d2c67be.
  • Provider / region: BytePlus, ap-southeast-1
  • Local machine: macOS (arm64), Python 3.12, uv 0.12.3
Steps to reproduce
  1. Deploy a Studio from this checkout. This succeeds:
    veadk studio deploy --provider byteplus --region ap-southeast-1 --project default \
      --from-source --user-pool-id <pool-id> --allowed-client-id <client-id> \
      --vefaas-app-name <app-name>
    
  2. Update that Studio from the same checkout:
    veadk studio update --provider byteplus --region ap-southeast-1 --project default \
      --vefaas-app-name <app-name>
    
Actual result
[Scanner] Dependency installation status: failed
[Scanner] Deployment did not complete | Dependency installation status: failed
Error: Could not finish the Studio update.
Scheduler dependency installation failed: failed. ...
./tokenizers-0.22.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
./openviking_sdk-0.1.4-py3-none-any.whl
./pydantic-2.12.5-py3-none-any.whl
./vikingdb_python_sdk-0.1.32-py3-none-any.whl
./veadk_python-1.1.15.dev0+g31d2c67be.d20261002-py3-none-any.whl

[faas-build] stderr: Using CPython 3.12.8 interpreter at: /usr/local/bin/python
  × No solution found when resolving dependencies:
  ╰─▶ Because only openviking-sdk<0.1.9 is available
      and veadk-python==1.1.15.dev0+g31d2c67be.d20261002
      depends on openviking-sdk>=0.1.9, we can conclude that
      veadk-python==1.1.15.dev0+g31d2c67be.d20261002 cannot be used.
      And because only veadk-python==1.1.15.dev0+g31d2c67be.d20261002 is
      available and you require veadk-python, we can conclude that your
      requirements are unsatisfiable.

The scheduler is updated before the Studio Application, so the running Studio is left untouched and there is no outage. Still, studio update cannot complete.

Expected result

veadk studio update releases the scheduler, the worker and the Studio function, just as veadk studio deploy does from the same checkout.

Root cause
Suggested fix

Bump the pinned wheel to the version locked in uv.lock, in veadk/cli/studio_dependencies.py:

StudioDependencyWheel(
    filename="openviking_sdk-0.1.9-py3-none-any.whl",
    url=(
        "https://files.pythonhosted.org/packages/47/d6/"
        "aa82551f9c5d06ce682b9194c784beeb16478ce103d650ed8e8b487b1aa7/"
        "openviking_sdk-0.1.9-py3-none-any.whl"
    ),
    sha256="6057f3ab921cee4697a7b424948347669cb7b8e04439f305503d8ab7132af3ce",
),

Also update the expected filename in tests/cli/test_studio_deploy_target.py#L73.

I applied this change locally, and the result was:

  • veadk studio update completed on BytePlus. The scheduler, the worker and the Studio function were all released.
  • The Studio packaging, update and release tests passed (333 passed).

To keep this from coming back, a test could check each wheel in STUDIO_DEPENDENCY_WHEELS and BYTEPLUS_STUDIO_DEPENDENCY_WHEELS against the version locked in uv.lock. A dependency bump in pyproject.toml would then fail in CI instead of silently breaking studio update.

Langage dominant
Python
Étoiles
345
Forks
102
Merge moyen
16 h 44 min
PR mergées (30 j)
34

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de volcengine/veadk-python

Toutes les issues de volcengine/veadk-python

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.