DIRACGrid / DIRACGrid/DIRACOS2

Updating M2Crypto?

Offen Anfängerfreundlich
#192 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
0
Forks
11
Ø Merge
2 T. 11 Std.
Gemergte PRs (30 T.)
4

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Finde die Abhängigkeitskonfiguration, die M2Crypto derzeit über conda-forge auflöst, und untersuche anschließend, wie die DIRAC-Integrationstests es installieren und verwenden. Aktualisiere die verfügbare Version und führe die Integrationstests aus; abgeschlossen ist die Aufgabe, wenn die M2Crypto-Konstruktorwarnungen nicht mehr erscheinen und die Tests weiterhin erfolgreich sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.