Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-treebeard for openSUSE:Factory checked in at 2021-12-21 18:40:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-treebeard (Old) and /work/SRC/openSUSE:Factory/.python-django-treebeard.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-treebeard" Tue Dec 21 18:40:38 2021 rev:2 rq:941734 version:4.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-treebeard/python-django-treebeard.changes 2020-06-29 21:18:08.933743815 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-treebeard.new.2520/python-django-treebeard.changes 2021-12-21 18:41:06.237899279 +0100 @@ -1,0 +2,27 @@ +Mon Dec 20 11:17:32 UTC 2021 - Matej Cepl <mc...@suse.com> + +- Upgrade to 4.5.1: + - Removed unnecessary default in MP's depth field. + - Add support for custom primary key fields with custom names. + - Add support for Python 3.9. + - Add support for MSSQL 2019. + - Add Code of conduct + - Removed outdated Sqlite workaround code + - Remove last remains of Python 2.7 code + - Use Pytest-django and fixtures for testing + - Implement a non-destructive path-fixing algorithm for + MP_Node.fix_tree. + - Ensure post_save is triggered after the parent node is + updated in MP_AddChildHandler. + - Fix static URL generation to use static template tag instead + of constructing the URL manually. + - Declare support for Django 2.2, 3.0 and 3.1. + - Drop support for Django 2.1 and lower. + - Drop support for Python 2.7 and Python 3.5. + - Increase performance for MoveNodeForm when using large trees. +- Remove upstreamed patches + - merged_50489e63.patch + - merged_56121dca.patch + - merged_d6f117f0.patch + +------------------------------------------------------------------- Old: ---- django-treebeard-4.3.1.tar.gz merged_50489e63.patch merged_56121dca.patch merged_d6f117f0.patch New: ---- django-treebeard-4.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-treebeard.spec ++++++ --- /var/tmp/diff_new_pack.GZJXBQ/_old 2021-12-21 18:41:06.817899799 +0100 +++ /var/tmp/diff_new_pack.GZJXBQ/_new 2021-12-21 18:41:06.821899803 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-treebeard # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,24 +18,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define skip_python39 1 Name: python-django-treebeard -Version: 4.3.1 +Version: 4.5.1 Release: 0 Summary: Efficient tree implementations for Django License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/django-treebeard/django-treebeard/ Source: https://files.pythonhosted.org/packages/source/d/django-treebeard/django-treebeard-%{version}.tar.gz -Patch0: https://github.com/django-treebeard/django-treebeard/commit/50489e63.patch#/merged_50489e63.patch -Patch1: https://github.com/django-treebeard/django-treebeard/commit/d6f117f0.patch#/merged_d6f117f0.patch -Patch2: https://github.com/django-treebeard/django-treebeard/commit/56121dca.patch#/merged_56121dca.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Django >= 1.8 +Requires: python-Django >= 2.2 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module Django >= 1.8} +BuildRequires: %{python_module Django >= 2.2} +BuildRequires: %{python_module pytest-django >= 4.0} +BuildRequires: %{python_module pytest-pythonpath >= 0.7} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -52,6 +52,8 @@ %setup -q -n django-treebeard-%{version} %autopatch -p1 +sed -i 's/\r//' CHANGES.md README.md UPDATING + %build %python_build @@ -62,15 +64,24 @@ } %check +cat << EOF >>pytest.ini +[pytest] +DJANGO_SETTINGS_MODULE = treebeard.tests.settings +python_files = tests.py test_*.py *_tests.py +django_find_project = false +markers = + django_db +EOF %python_expand cp -r treebeard/tests/ %{buildroot}%{$python_sitelib}/treebeard/ export DJANGO_SETTINGS_MODULE=treebeard.tests.settings -%pytest +# Exclusions because of gh#django-treebeard/django-treebeard#241 +%pytest -k 'not (test_result_filtered or test_result_tree or test_result_tree_list or test_result_tree_list_with_action or test_result_tree_list_with_get or test_unicode_result_tree)' %python_expand rm -r %{buildroot}%{$python_sitelib}/treebeard/tests/ %files %{python_files} -%doc CHANGES README.rst +%doc CHANGES.md README.md UPDATING %license LICENSE %{python_sitelib}/* ++++++ django-treebeard-4.3.1.tar.gz -> django-treebeard-4.5.1.tar.gz ++++++ ++++ 25458 lines of diff (skipped)