DIRACGrid / DIRACGrid/DIRACOS2
Updating M2Crypto?
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 11
- Merge medio
- 2g 11h
- PR unite (30g)
- 4
Descrizione
Hi @chrisburr,
The DIRAC (9.1 although probably others too) integration tests currently generate a lot of warnings from the M2Crypto constructor (the same two warnings for almost every bunch of tests):
```
ServerInstallDIR/diracos/lib/python3.11/site-packages/M2Crypto/__init__.py:34
/home/dirac/ServerInstallDIR/diracos/lib/python3.11/site-packages/M2Crypto/__init__.py:34: DeprecationWarning: Version._version is private and will be removed soon
if hasattr(__ver, u'_version'):
ServerInstallDIR/diracos/lib/python3.11/site-packages/M2Crypto/__init__.py:35
/home/dirac/ServerInstallDIR/diracos/lib/python3.11/site-packages/M2Crypto/__init__.py:35: DeprecationWarning: Version._version is private and will be removed soon
version_info = tuple(__ver._version[1])
```
I believe this is fixed in the latest M2Crypto (0.48.0): The version isn't strictly pinned here, but doesn't get updated as the conda-forge versions only go as high as 0.45.1. I note that you're the m2crypto-feedstock maintainer: Would it be possible to update it? Do you think updating is likely to cause any big problems for DIRAC? Is there anything I can do to help with this?
Regards,
Simon
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Individua la configurazione delle dipendenze che attualmente risolve M2Crypto tramite conda-forge, quindi esamina come i test di integrazione di DIRAC lo installano e lo utilizzano. Aggiorna la versione disponibile ed esegui i test di integrazione; l'attività è completata quando gli avvisi del costruttore di M2Crypto non compaiono più e i test continuano a superare l'esecuzione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- build-system
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 65/100