Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-codemod for
openSUSE:Factory checked in at 2022-09-02 21:56:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-codemod (Old)
and /work/SRC/openSUSE:Factory/.python-django-codemod.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-codemod"
Fri Sep 2 21:56:33 2022 rev:6 rq:1000763 version:1.11.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-codemod/python-django-codemod.changes
2022-01-11 21:23:57.725156860 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-codemod.new.2083/python-django-codemod.changes
2022-09-02 21:56:59.324361215 +0200
@@ -1,0 +2,16 @@
+Wed Aug 31 23:03:56 UTC 2022 - John Vandenberg <[email protected]>
+
+- Added conftest.py from upstream
+- Update to v1.11.0
+ * Add tests to sdist
+- from v1.10.1
+ * Revert to libCST old parser
+- from v1.10.0
+ * Add support for Python 3.10 (92e9bcd)
+ * Use libCST's native parser
+- from v1.9.0
+ * Integrate rich-click
+- from v1.8.0
+ * Drop support for Python 3.6
+
+-------------------------------------------------------------------
Old:
----
django-codemod-1.7.0.tar.gz
New:
----
conftest.py
django-codemod-1.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-codemod.spec ++++++
--- /var/tmp/diff_new_pack.pDcVr6/_old 2022-09-02 21:56:59.872362541 +0200
+++ /var/tmp/diff_new_pack.pDcVr6/_new 2022-09-02 21:56:59.880362559 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-codemod
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,14 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-django-codemod
-Version: 1.7.0
+Version: 1.11.0
Release: 0
Summary: Collections of libCST codemodders to upgrade Django
License: MIT
Group: Development/Languages/Python
URL: https://github.com/browniebroke/django-codemod
-Source:
https://github.com/browniebroke/django-codemod/archive/v%{version}.tar.gz#/django-codemod-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/d/django-codemod/django-codemod-%{version}.tar.gz
+Source1: conftest.py
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry}
BuildRequires: fdupes
@@ -33,19 +34,19 @@
Requires: python-click
Requires: python-libcst
Requires: python-pathspec
-Requires: python-rich
+Requires: python-rich-click
Recommends: python-setuptools
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Django}
-BuildRequires: %{python_module pathspec}
BuildRequires: %{python_module click}
BuildRequires: %{python_module libcst}
BuildRequires: %{python_module parameterized}
+BuildRequires: %{python_module pathspec}
BuildRequires: %{python_module pytest-mock}
-BuildRequires: %{python_module rich}
+BuildRequires: %{python_module rich-click}
# /SECTION
%python_subpackages
@@ -54,6 +55,7 @@
%prep
%setup -q -n django-codemod-%{version}
+cp %{SOURCE1} .
sed -i 's/rich = ".*"/rich = "*"/' pyproject.toml
sed -i '/addopts/d' pyproject.toml
@@ -75,9 +77,9 @@
%pytest
%files %{python_files}
-%doc CHANGELOG.md README.md docs/*.md
+%doc README.md
%license LICENSE
%python_alternative %{_bindir}/djcodemod
-%{python_sitelib}/*
+%{python_sitelib}/*django[_-]codemod*/
%changelog
++++++ conftest.py ++++++
import pytest
@pytest.fixture()
def parent_module_import_enabled(mocker):
yield mocker.patch(
"django_codemod.visitors.base.REPLACE_PARENT_MODULE_IMPORTED", True
)
++++++ django-codemod-1.7.0.tar.gz -> django-codemod-1.11.0.tar.gz ++++++
++++ 8510 lines of diff (skipped)