precice / precice/python-bindings
Request correct preCICE version
Nessuno ha ancora preso questa issue.
- Lingua principale
- Cython
- Stelle
- 30
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Currently, the python bindings doesn't check the version of preCICE. It uses whatever version pkg-config finds on the system.
This leads to compile or link issues which could have been handled more gracefully via an error message.
There are two practical ways of tying the bindings version ot the preCICE version:
- Exact match: bindings
3.1.Xmatches preCICE3.1.Y. (what we currently do in the rust bindings) - Compatible match: bindings
3.1.Xmatches preCICE>=3.1and<4.
The compatible match allows for forwards-compatibility, which is guaranteed due to the semanatic versioning we use (and follow) in preCICE. Meaning we can test newer releases with existing bindings.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia tracciando il modo in cui i binding Python usano pkg-config per selezionare la versione di preCICE, quindi confronta l’approccio di corrispondenza delle versioni usato nei binding Rust. Determina se è prevista una corrispondenza esatta o compatibile e assicurati che una versione incompatibile produca un errore chiaro prima che si verifichino errori di compilazione o di linking.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- build-system
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100