evolvablehardware / evolvablehardware/BitstreamEvolution
README Update Suggestion
- Langage dominant
- Python
- Étoiles
- 18
- Forks
- 7
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Hello, I've been working with BitstreamEvolution for a bit and wanted to note a possible inconsistency with the README, as it may help future people who use the repo.
Specifically, the README states that BitstreamEvolution requires Python version 3.7 or higher. Personally, I encountered an error when running evolve.py when using Python 3.8:
This was thrown for the Circuit.py file, line 33
in Circuit def get_bitstream(self) -> list[int]: TypeError: 'type' object is not subscriptable
After looking up the issue, it seemed like this is a type hinting feature only supported by Python version 3.9 and higher. This was confirmed when the issue went away for me after switching to Python 3.9. Would making this change to the README be helpful?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Vérifiez la version requise de Python dans README et comparez-la avec l’annotation de type signalée à la ligne 33 de Circuit.py lorsque evolve.py s’exécute sous Python 3.8. C’est terminé lorsque README indique correctement la version minimale de Python prise en charge et reflète la exigence observée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- documentation
- Type d'issue
- Documentation
- Difficulté
- 1/5
- Temps estimé
- Moins d'une heure
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 55/100