sirmordred 1.1.15rc1__py3-none-any.whl → 1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
sirmordred/_version.py CHANGED
@@ -1,2 +1,2 @@
1
- # File auto-generated by semverup on 2025-08-28 15:30:35.725877
2
- __version__ = "1.1.15-rc.1"
1
+ # File auto-generated by semverup on 2025-09-23 09:04:54.773003
2
+ __version__ = "1.2.0"
@@ -24,8 +24,8 @@ import ssl
24
24
 
25
25
  from datetime import datetime
26
26
 
27
- from elasticsearch import Elasticsearch
28
- from elasticsearch.connection import create_ssl_context
27
+ from opensearchpy import OpenSearch
28
+ from opensearchpy.connection import create_ssl_context
29
29
 
30
30
  from grimoire_elk.elk import refresh_identities
31
31
  from grimoire_elk.enriched.git import GitEnrich
@@ -110,8 +110,8 @@ class TaskAutorefresh(Task):
110
110
  ssl_context = create_ssl_context()
111
111
  ssl_context.check_hostname = False
112
112
  ssl_context.verify_mode = ssl.CERT_NONE
113
- es = Elasticsearch(hosts=[self.conf['es_enrichment']['url']],
114
- timeout=100, retry_on_timeout=True, ssl_context=ssl_context)
113
+ es = OpenSearch(hosts=[self.conf['es_enrichment']['url']],
114
+ timeout=100, retry_on_timeout=True, ssl_context=ssl_context)
115
115
 
116
116
  if not es.indices.exists(index=aoc_index):
117
117
  logger.debug("Not doing autorefresh, index doesn't exist for Areas of Code study")
sirmordred/task_enrich.py CHANGED
@@ -27,7 +27,7 @@ import time
27
27
 
28
28
  from datetime import datetime, timedelta
29
29
 
30
- from elasticsearch import Elasticsearch, RequestsHttpConnection
30
+ from opensearchpy import OpenSearch, RequestsHttpConnection
31
31
 
32
32
  from grimoire_elk.elk import (do_studies,
33
33
  enrich_backend,
@@ -295,9 +295,10 @@ class TaskEnrich(Task):
295
295
 
296
296
  logger.debug("Autorefresh for Areas of Code study index: %s", aoc_index)
297
297
 
298
- es = Elasticsearch([self.conf['es_enrichment']['url']], timeout=100, retry_on_timeout=True,
299
- verify_certs=self._get_enrich_backend().elastic.requests.verify,
300
- connection_class=RequestsHttpConnection)
298
+ es = OpenSearch([self.conf['es_enrichment']['url']], timeout=100, retry_on_timeout=True,
299
+ verify_certs=self._get_enrich_backend().elastic.requests.verify,
300
+ connection_class=RequestsHttpConnection,
301
+ ssl_show_warn=self._get_enrich_backend().elastic.requests.verify)
301
302
 
302
303
  if not es.indices.exists(index=aoc_index):
303
304
  logger.debug("Not doing autorefresh, index doesn't exist for Areas of Code study")
@@ -1,32 +1,33 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: sirmordred
3
- Version: 1.1.15rc1
3
+ Version: 1.2.0
4
4
  Summary: Drive GrimoireLab tools to produce a dashboard
5
5
  License: GPL-3.0+
6
+ License-File: AUTHORS
7
+ License-File: LICENSE
6
8
  Keywords: development,grimoirelab
7
9
  Author: GrimoireLab Developers
8
- Requires-Python: >=3.9,<4.0
10
+ Requires-Python: >=3.10,<4.0
9
11
  Classifier: Development Status :: 5 - Production/Stable
10
12
  Classifier: Intended Audience :: Developers
11
13
  Classifier: Intended Audience :: Science/Research
12
14
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
13
15
  Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.9
15
16
  Classifier: Programming Language :: Python :: 3.10
16
17
  Classifier: Programming Language :: Python :: 3.11
17
18
  Classifier: Programming Language :: Python :: 3.12
18
19
  Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
19
21
  Classifier: Topic :: Software Development
20
22
  Requires-Dist: cereslib (>=0.3)
21
23
  Requires-Dist: colorlog (>=6.4.1,<7.0.0)
22
- Requires-Dist: elasticsearch (==6.3.1)
23
- Requires-Dist: elasticsearch-dsl (==6.3.1)
24
24
  Requires-Dist: file-read-backwards (>=3.1.0,<4.0.0)
25
25
  Requires-Dist: graal (>=0.3)
26
26
  Requires-Dist: grimoire-elk (>=0.102)
27
27
  Requires-Dist: grimoirelab-panels (>=0.1)
28
28
  Requires-Dist: grimoirelab-toolkit (>=0.3)
29
29
  Requires-Dist: kidash (>=0.5)
30
+ Requires-Dist: opensearch-py (>=3.0.0,<4.0.0)
30
31
  Requires-Dist: perceval (>=0.19)
31
32
  Requires-Dist: perceval-mozilla (>=0.3)
32
33
  Requires-Dist: perceval-opnfv (>=0.2)
@@ -1,14 +1,14 @@
1
1
  sirmordred/__init__.py,sha256=vQ9Reo3DRPBCcW0QhyeK2tBCTIumq3D1BkaWXTtY8VA,835
2
- sirmordred/_version.py,sha256=WJG4PsTS1wAGuCPfsU53RG73rkOFRyhPcvDjcyOmp3c,92
2
+ sirmordred/_version.py,sha256=-WJuj2dJwRt9OUMNneOdmhXPqz_jNhwBMhlb8H5YPfw,86
3
3
  sirmordred/bin/sirmordred.py,sha256=LmCiVYL7NBIord1Lz7RXJcRIPJtSvMT-b8QxNieRDzE,5022
4
4
  sirmordred/config.py,sha256=hxwCRQ-szIz8KXedLoJ5Tl1ktP07uZ6z2buwzkofggI,33508
5
5
  sirmordred/error.py,sha256=RD-POuigH-FEvmTu7a7qI5t78NnjkYKQ_ukfns9DozY,1836
6
6
  sirmordred/github.py,sha256=5RFYoTscKWACqMq_uJCYXv8KZD6qe7C2eBgfz0tyPpo,2306
7
7
  sirmordred/sirmordred.py,sha256=E1uX-j12Wz_KIsL_-BDYmW-0fkeX6y9RvgkzUiX_swA,14101
8
8
  sirmordred/task.py,sha256=LuAdf9I3kk0tSqlJw1CLYst3Bt-EwhxiVsj5OSh1mkY,9623
9
- sirmordred/task_autorefresh.py,sha256=X2sGa9kBkBsoWz5SqjzHX2sdksFNHdu3Spe6-YCvSFw,7800
9
+ sirmordred/task_autorefresh.py,sha256=ZZUDgcPX_OcT409OiDNAMGfPAZj3XFabS30mgh0v8SI,7789
10
10
  sirmordred/task_collection.py,sha256=lhIfelezmKZ7az_jYfFlw_xndtoXMLji9ml2AQIAubM,6567
11
- sirmordred/task_enrich.py,sha256=t6PiI6s8hCxWhcPbc7qtL6rkendgrY9ycgI2PNIR8FM,21274
11
+ sirmordred/task_enrich.py,sha256=0zBMw0wyCOfMAjOSi35jS78lbPbjcEjVNdsyk2FBXD8,21351
12
12
  sirmordred/task_identities.py,sha256=0O6ay4dKVIzdR-MfjKL6iPl9B68jTA1xZg2kVLEuUnE,3434
13
13
  sirmordred/task_manager.py,sha256=xYhdmFvJpkLcJvIX50F2uvTtFevpXIckN3RrWDjej6g,4496
14
14
  sirmordred/task_panels.py,sha256=430WYvaIgha-GkNcFxUAida6UuzU4VKVJbfb_CaDEpk,29146
@@ -22,9 +22,9 @@ sirmordred/utils/panels_config.py,sha256=G54oTtRppHDLRhdnaqYneUemUlWFxlX6h7GFl0L
22
22
  sirmordred/utils/projects.json,sha256=CxXpzYqvLx6FfDTPln9b5TIkfEb2cgfP20WLvwK_7GU,864
23
23
  sirmordred/utils/projects_json2yml.py,sha256=N9-orfrnfzASTYAIzR2Xo9IpW-CVdNAiVAmWT7Bt154,3141
24
24
  sirmordred/utils/setup.cfg,sha256=hKbO4euWOFYzzsGcTQk8jW6CkutOJw72TywBQdyekrA,3634
25
- sirmordred-1.1.15rc1.dist-info/AUTHORS,sha256=RPEKBiVIJIvcoHIFvB6A3mXaN3cdx5-y9swr5NoqV0k,365
26
- sirmordred-1.1.15rc1.dist-info/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
27
- sirmordred-1.1.15rc1.dist-info/METADATA,sha256=y-3e_Bb6J8gCqyshE-_-uqMqOnl3GJo0wVZ2SehzVgQ,42535
28
- sirmordred-1.1.15rc1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
29
- sirmordred-1.1.15rc1.dist-info/entry_points.txt,sha256=HKwfuVFXnCzt8rsJBUFudGHm-KMxJ_3a1YLX-Q7WoRk,200
30
- sirmordred-1.1.15rc1.dist-info/RECORD,,
25
+ sirmordred-1.2.0.dist-info/METADATA,sha256=lLOdgZpN6R3d3kSQ2S65KaYg7IezjGYK4St8s7u7I9M,42541
26
+ sirmordred-1.2.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
27
+ sirmordred-1.2.0.dist-info/entry_points.txt,sha256=HKwfuVFXnCzt8rsJBUFudGHm-KMxJ_3a1YLX-Q7WoRk,200
28
+ sirmordred-1.2.0.dist-info/licenses/AUTHORS,sha256=RPEKBiVIJIvcoHIFvB6A3mXaN3cdx5-y9swr5NoqV0k,365
29
+ sirmordred-1.2.0.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
30
+ sirmordred-1.2.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.1.3
2
+ Generator: poetry-core 2.2.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any