Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sortinghat for openSUSE:Factory checked in at 2024-08-28 21:30:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sortinghat (Old) and /work/SRC/openSUSE:Factory/.python-sortinghat.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sortinghat" Wed Aug 28 21:30:25 2024 rev:10 rq:1196375 version:1.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sortinghat/python-sortinghat.changes 2024-02-06 16:35:44.033621268 +0100 +++ /work/SRC/openSUSE:Factory/.python-sortinghat.new.2698/python-sortinghat.changes 2024-08-28 21:30:55.457344807 +0200 @@ -1,0 +2,23 @@ +Wed Aug 28 03:30:10 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 1.2.1: + * New features: + + Improve loading and error indicators + + Save URL to an individual's LinkedIn profile + + Link to GitHub profile + + Assign users to permission groups + + Configuration for regular expressions in CORS + + Dedicated queues in multi-tenancy + + Organization aliases + * Bug fixes: + + Consistent date format for job executions + + Match source parameter fixed in recommendations + + Organizations aliases in Python client + + Change password form fixed + + Refetch general settings after they are changed + + Profile view displays correct recommendations + + Match recommendations job fixed +- Drop patch use-correct-assertion-methods.patch, included. +- Refresh all other patches. + +------------------------------------------------------------------- Old: ---- sortinghat-0.19.1.tar.gz use-correct-assertion-methods.patch New: ---- sortinghat-1.2.1.tar.gz BETA DEBUG BEGIN: Old: + Match recommendations job fixed - Drop patch use-correct-assertion-methods.patch, included. - Refresh all other patches. BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sortinghat.spec ++++++ --- /var/tmp/diff_new_pack.u8TBDW/_old 2024-08-28 21:30:56.401384120 +0200 +++ /var/tmp/diff_new_pack.u8TBDW/_new 2024-08-28 21:30:56.405384287 +0200 @@ -17,7 +17,7 @@ Name: python-sortinghat -Version: 0.19.1 +Version: 1.2.1 Release: 0 Summary: A tool to manage identities License: GPL-3.0-only @@ -26,15 +26,13 @@ # PATCH-FIX-OPENSUSE Allow overridding the database config Patch0: allow-database-config-overrides.patch Patch1: add-missing-format-calls.patch -# PATCH-FIX-UPSTREAM gh#chaoss/grimoirelab-sortinghat#855 -Patch2: use-correct-assertion-methods.patch BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Django >= 3.2 +Requires: python-Django >= 4.2 Requires: python-Jinja2 >= 3.1 Requires: python-PyJWT Requires: python-PyMySQL >= 0.7.0 @@ -62,7 +60,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Jinja2 >= 3.1} -BuildRequires: %{python_module Django >= 3.2} +BuildRequires: %{python_module Django >= 4.2} BuildRequires: %{python_module PyMySQL >= 0.7.0} BuildRequires: %{python_module PyYAML >= 3.12} BuildRequires: %{python_module SQLAlchemy >= 1.2} @@ -145,8 +143,8 @@ export TEST_SORTINGHAT_DB_PASSWORD=$pass # Broken tests rm tests/test_jobs.py -%python_exec manage.py test --settings=config.settings.testing -%python_exec manage.py test --settings=config.settings.testing_tenant +%python_exec manage.py test --settings=config.settings.config_testing +%python_exec manage.py test --settings=config.settings.config_testing_tenant # # stopping mariadb # ++++++ add-missing-format-calls.patch ++++++ --- /var/tmp/diff_new_pack.u8TBDW/_old 2024-08-28 21:30:56.429385287 +0200 +++ /var/tmp/diff_new_pack.u8TBDW/_new 2024-08-28 21:30:56.433385453 +0200 @@ -1,7 +1,7 @@ -Index: grimoirelab-sortinghat-0.19.1/tests/test_schema.py +Index: grimoirelab-sortinghat-1.2.1/tests/test_schema.py =================================================================== ---- grimoirelab-sortinghat-0.19.1.orig/tests/test_schema.py -+++ grimoirelab-sortinghat-0.19.1/tests/test_schema.py +--- grimoirelab-sortinghat-1.2.1.orig/tests/test_schema.py ++++ grimoirelab-sortinghat-1.2.1/tests/test_schema.py @@ -22,6 +22,7 @@ # @@ -10,7 +10,7 @@ import unittest.mock import json import httpretty -@@ -1403,6 +1404,7 @@ class TestQueryPagination(django.test.Te +@@ -1408,6 +1409,7 @@ class TestQueryPagination(django.test.Te self.assertEqual(pag_data['endIndex'], 6) self.assertEqual(pag_data['totalResults'], 6) @@ -18,7 +18,7 @@ def test_page_size_negative(self): """Check if it fails when `pageSize` is a negative number""" -@@ -6367,7 +6369,8 @@ class TestAddIdentityMutation(django.tes +@@ -6399,7 +6401,8 @@ class TestAddIdentityMutation(django.tes variables=params) msg = executed['errors'][0]['message'] @@ -28,7 +28,7 @@ def test_add_identity_name_none(self): """Check if the username is set to the profile when no name is provided""" -@@ -8163,7 +8166,8 @@ class TestWithdrawMutation(django.test.T +@@ -8195,7 +8198,8 @@ class TestWithdrawMutation(django.test.T variables=params) msg = executed['errors'][0]['message'] @@ -38,7 +38,7 @@ def test_non_existing_organization(self): """Check if it fails when the organization does not exist""" -@@ -9850,6 +9854,7 @@ class TestUnifyMutation(django.test.Test +@@ -9882,6 +9886,7 @@ class TestUnifyMutation(django.test.Test source='scm', uuid=self.jrae.uuid) @@ -46,7 +46,7 @@ @unittest.mock.patch('sortinghat.core.jobs.rq.job.uuid4') def test_unify(self, mock_job_id_gen): """Check if unify is applied for the specified individuals""" -@@ -9922,6 +9927,7 @@ class TestUnifyMutation(django.test.Test +@@ -9954,6 +9959,7 @@ class TestUnifyMutation(django.test.Test id5 = identities[4] self.assertEqual(id5, self.jr2) @@ -54,10 +54,10 @@ @unittest.mock.patch('sortinghat.core.jobs.rq.job.uuid4') def test_unify_last_modified(self, mock_job_id_gen): """Check if unify is applied only for the individuals modified after a date""" -Index: grimoirelab-sortinghat-0.19.1/tests/cli/test_cmd_config.py +Index: grimoirelab-sortinghat-1.2.1/tests/cli/test_cmd_config.py =================================================================== ---- grimoirelab-sortinghat-0.19.1.orig/tests/cli/test_cmd_config.py -+++ grimoirelab-sortinghat-0.19.1/tests/cli/test_cmd_config.py +--- grimoirelab-sortinghat-1.2.1.orig/tests/cli/test_cmd_config.py ++++ grimoirelab-sortinghat-1.2.1/tests/cli/test_cmd_config.py @@ -41,10 +41,10 @@ MOCK_CONFIG_FILEPATH = os.path.join(os.p @@ -71,10 +71,10 @@ class TestInitConfig(unittest.TestCase): -Index: grimoirelab-sortinghat-0.19.1/sortinghat/core/decorators.py +Index: grimoirelab-sortinghat-1.2.1/sortinghat/core/decorators.py =================================================================== ---- grimoirelab-sortinghat-0.19.1.orig/sortinghat/core/decorators.py -+++ grimoirelab-sortinghat-0.19.1/sortinghat/core/decorators.py +--- grimoirelab-sortinghat-1.2.1.orig/sortinghat/core/decorators.py ++++ grimoirelab-sortinghat-1.2.1/sortinghat/core/decorators.py @@ -68,6 +68,8 @@ check_auth = user_passes_test(lambda u: ++++++ allow-database-config-overrides.patch ++++++ --- /var/tmp/diff_new_pack.u8TBDW/_old 2024-08-28 21:30:56.445385953 +0200 +++ /var/tmp/diff_new_pack.u8TBDW/_new 2024-08-28 21:30:56.445385953 +0200 @@ -1,7 +1,7 @@ -Index: grimoirelab-sortinghat-0.19.1/config/settings/testing.py +Index: grimoirelab-sortinghat-1.2.1/config/settings/config_testing.py =================================================================== ---- grimoirelab-sortinghat-0.19.1.orig/config/settings/testing.py -+++ grimoirelab-sortinghat-0.19.1/config/settings/testing.py +--- grimoirelab-sortinghat-1.2.1.orig/config/settings/config_testing.py ++++ grimoirelab-sortinghat-1.2.1/config/settings/config_testing.py @@ -1,3 +1,4 @@ +import os import sys @@ -30,11 +30,11 @@ } } -Index: grimoirelab-sortinghat-0.19.1/config/settings/testing_tenant.py +Index: grimoirelab-sortinghat-1.2.1/config/settings/config_testing_tenant.py =================================================================== ---- grimoirelab-sortinghat-0.19.1.orig/config/settings/testing_tenant.py -+++ grimoirelab-sortinghat-0.19.1/config/settings/testing_tenant.py -@@ -5,8 +5,8 @@ from .testing import SQL_MODE, DATABASES +--- grimoirelab-sortinghat-1.2.1.orig/config/settings/config_testing_tenant.py ++++ grimoirelab-sortinghat-1.2.1/config/settings/config_testing_tenant.py +@@ -15,8 +15,8 @@ TENANTS_DEDICATED_QUEUES = [t["name"] fo DATABASES.update({ tenant: { 'ENGINE': 'django.db.backends.mysql', @@ -45,7 +45,7 @@ 'NAME': tenant, 'OPTIONS': { 'charset': 'utf8mb4', -@@ -16,9 +16,10 @@ DATABASES.update({ +@@ -26,9 +26,10 @@ DATABASES.update({ 'NAME': tenant, 'CHARSET': 'utf8mb4', 'COLLATION': 'utf8mb4_unicode_520_ci', @@ -55,6 +55,6 @@ - 'PORT': 3306 + 'PORT': os.environ.get('TEST_SORTINGHAT_DB_PORT', 3306) } - for tenant in ['tenant_1', 'tenant_2'] + for tenant in [t["name"] for t in tenants_cfg] }) ++++++ sortinghat-0.19.1.tar.gz -> sortinghat-1.2.1.tar.gz ++++++ ++++ 85591 lines of diff (skipped)