Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Fix `server-test` CI job testing against the PyPI SDK

Aperta Adatta ai principianti
#662 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
82/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, python
Ambito
backend, ci-cd

Direzione di ricerca

Leggi .github/workflows/pr.yml e confronta le impostazioni di server-test checkout con lo strumento di conformità e i job server-static-analysis menzionati nell’issue. Imposta fetch-depth: 0 per server-test checkout, quindi verifica che il job installi l’SDK locale e lo usi per eseguire i test; l’issue identifica il #592 come la soluzione corretta tracciata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug high priority server

Currently, the server-test job in .github/workflows/pr.yml does not test the server against the local SDK, but against the latest SDK release from PyPI. This is the same problem that #593 fixed for the compliance tool jobs and #611 for server-static-analysis: the job checks out the repository shallow, so setuptools_scm builds the local SDK as 0.1.dev1+g<sha>, which does not satisfy the basyx-python-sdk>=1.0.0 constraint of the server. Thus, pip install .[dev] replaces the local SDK with the PyPI release. The server-test job was only introduced afterwards in #627, without the workaround.

This makes develop fail as soon as the server depends on an SDK change that is not released yet. This happened for the first time with #620: the server passes the new attribute argument to the SDKs check(), which the PyPI release 2.2.0 does not accept, resulting in 124 errors (see the failed run).

The server-test job should check out with fetch-depth: 0 as well, like the other jobs with a TODO(#592). The proper solution is tracked in #592.

Lingua principale
Python
Stelle
105
Fork
56
Merge medio
11g 9h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-basyx/basyx-python-sdk

Tutte le issue di eclipse-basyx/basyx-python-sdk

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.