commit python-djangorestframework for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-djangorestframework for openSUSE:Factory checked in at 2024-01-30 18:26:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-djangorestframework (Old) and /work/SRC/openSUSE:Factory/.python-djangorestframework.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-djangorestframework" Tue Jan 30 18:26:13 2024 rev:20 rq:1142708 version:3.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-djangorestframework/python-djangorestframework.changes 2023-06-28 21:33:46.806008964 +0200 +++ /work/SRC/openSUSE:Factory/.python-djangorestframework.new.1815/python-djangorestframework.changes 2024-01-30 18:26:18.831887571 +0100 @@ -1,0 +2,8 @@ +Tue Jan 30 04:54:00 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> + +- Switch to pyproject macros. +- Drop core{api,schema} from BuildRequires/Recommends, they are no + longer developed, and will be removed. +- Switch to psycopg (so version 3). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-djangorestframework.spec ++++++ --- /var/tmp/diff_new_pack.KTd0rP/_old 2024-01-30 18:26:19.511912103 +0100 +++ /var/tmp/diff_new_pack.KTd0rP/_new 2024-01-30 18:26:19.511912103 +0100 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-djangorestframework # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,24 +25,21 @@ %define psuffix %{nil} %bcond_with test %endif -%define skip_python2 1 -%define skip_python36 1 Name: python-djangorestframework%{psuffix} Version: 3.14.0 Release: 0 Summary: A REST Framework for Django License: BSD-2-Clause -Group: Development/Languages/Python URL: http://django-rest-framework.org/ Source: https://github.com/encode/django-rest-framework/archive/%{version}.tar.gz#/djangorestframework-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Django >= 3.0 Recommends: python-Markdown Recommends: python-Pygments -Recommends: python-coreapi -Recommends: python-coreschema Recommends: python-requests Suggests: python-psycopg2 Provides: python-django-rest-framework = %{version} @@ -53,10 +50,8 @@ BuildRequires: %{python_module Markdown >= 3.3} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module Pygments} -BuildRequires: %{python_module coreapi >= 2.3.1} -BuildRequires: %{python_module coreschema >= 0.0.4} BuildRequires: %{python_module django-guardian >= 2.4.0} -BuildRequires: %{python_module psycopg2} +BuildRequires: %{python_module psycopg} BuildRequires: %{python_module pytest-django >= 4.1.0} %endif %python_subpackages @@ -77,11 +72,11 @@ sed -i '/addopts/d' setup.cfg %build -%python_build +%pyproject_wheel %install %if !%{with test} -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif @@ -89,14 +84,15 @@ %if %{with test} # Two tests failing due to incompatible output of Markdown 3.4 vs 3.3 pinned upstream # https://github.com/encode/django-rest-framework/discussions/7980 -%pytest -rs -vv -k 'not ((TestViewNamesAndDescriptions and test_markdown) or (TestDocumentationRenderer and test_shell_code_example_rendering))' +# coreapi has been removed from Tumbleweed +%pytest -rs -vv -k 'not ((TestViewNamesAndDescriptions and test_markdown) or (TestDocumentationRenderer and test_shell_code_example_rendering) or test_coreapi)' %endif %if !%{with test} %files %{python_files} %doc README.md %license LICENSE.md -%{python_sitelib}/rest_framework/ -%{python_sitelib}/*djangorestframework*/ +%{python_sitelib}/rest_framework +%{python_sitelib}/djangorestframework-%{version}.dist-info %endif
participants (1)
-
Source-Sync