Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package cookiecutter for openSUSE:Factory checked in at 2022-04-13 22:15:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cookiecutter (Old) and /work/SRC/openSUSE:Factory/.cookiecutter.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cookiecutter" Wed Apr 13 22:15:27 2022 rev:8 rq:969173 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cookiecutter/cookiecutter.changes 2021-05-18 18:27:24.798709939 +0200 +++ /work/SRC/openSUSE:Factory/.cookiecutter.new.1900/cookiecutter.changes 2022-04-13 22:15:28.288200615 +0200 @@ -1,0 +2,87 @@ +Mon Apr 4 10:07:33 UTC 2022 - Sebastian Wagner <sebix+novell....@sebix.at> + +- add fix-setup-version.patch to fix the version in setup.py + +------------------------------------------------------------------- +Mon Mar 28 09:52:12 UTC 2022 - Sebastian Wagner <sebix+novell....@sebix.at> + +- update to version 2.0.2: + - Fix Python version number in cookiecutter --version and test on Python 3.10 (#1621) @ozer550 + - Removed changes related to setuptools_scm (#1629) @audreyfeldroy @ozer550 +- update to version 2.0.1: + - Breaking Changes: + - Release preparation for 2.0.1rc1 (#1608) @audreyfeldroy + - Replace poyo with pyyaml. (#1489) @dHannasch + - Added: Path templates will be rendered when copy_without_render used (#839) @noirbizarre + - Added: End of line detection and configuration. (#1407) @insspb + - Remove support for python2.7 (#1386) @ssbarnea + - Minor Changes: + - Adopt setuptools-scm packaging (#1577) @ssbarnea + - Log the error message when git clone fails, not just the return code (#1505) @logworthy + - allow jinja 3.0.0 (#1548) @wouterdb + - Added uuid extension to be able to generate uuids (#1493) @jonaswre + - Alert user if choice is invalid (#1496) @dHannasch + - Replace poyo with pyyaml. (#1489) @dHannasch + - update AUTHOR lead (#1532) @HosamAlmoghraby + - Add Python 3.9 (#1478) @gliptak + - Added: --list-installed cli option, listing already downloaded cookiecutter packages (#1096) @chrisbrake + - Added: Jinja2 Environment extension on files generation stage (#1419) @insspb + - Added: --replay-file cli option, for replay file distributing (#906) @Cadair + - Added: _output_dir to cookiecutter context (#1034) @Casyfill + - Added: CLI option to ignore hooks (#992) @rgreinho + - Changed: Generated projects can use multiple type hooks at same time. (sh + py) (#974) @milonimrod + - Added: Path templates will be rendered when copy_without_render used (#839) @noirbizarre + - Added: End of line detection and configuration. (#1407) @insspb + - Making code python 3 only: Remove python2 u' sign, fix some strings (#1402) @insspb + - py3: remove futures, six and encoding (#1401) @insspb + - Render variables starting with an underscore. (#1339) @smoothml + - Tests refactoring: test_utils write issues fixed #1405 (#1406) @insspb + - CI/CD and QA changes: + - enable branch coverage (#1542) @simobasso + - Make release-drafter diff only between master releases (#1568) @SharpEdgeMarshall + - ensure filesystem isolation during tests execution (#1564) @simobasso + - add safety ci step (#1560) @simobasso + - pre-commit: add bandit hook (#1559) @simobasso + - Replace tmpdir in favour of tmp_path (#1545) @SharpEdgeMarshall + - Fix linting in CI (#1546) @SharpEdgeMarshall + - Coverage 100% (#1526) @SharpEdgeMarshall + - Run coverage with matrix (#1521) @SharpEdgeMarshall + - Lint rst files (#1443) @ssbarnea + - Python3: Changed io.open to build-in open (PEP3116) (#1408) @insspb + - Making code python 3 only: Remove python2 u' sign, fix some strings (#1402) @insspb + - py3: remove futures, six and encoding (#1401) @insspb + - Removed: Bumpversion, setup.py arguments. (#1404) @insspb + - Tests refactoring: test_utils write issues fixed #1405 (#1406) @insspb + - Added: Automatic PyPI deploy on tag creation (#1400) @insspb + - Changed: Restored coverage reporter (#1399) @insspb + - Documentation updates: + - Fix pull requests checklist reference (#1537) @glumia + - Fix author name (#1544) @HosamAlmoghraby + - Add missing contributors (#1535) @glumia + - Update CONTRIBUTING.md (#1529) @glumia + - Update LICENSE (#1519) @simobasso + - docs: rewrite the conditional files / directories example description. (#1437) @lyz-code + - Fix incorrect years in release history (#1473) @graue70 + - Add slugify in the default extensions list (#1470) @oncleben31 + - Renamed cookiecutter.package to API (#1442) @grrlic + - Fixed wording detail (#1427) @steltenpower + - Changed: CLI Commands documentation engine (#1418) @insspb + - Added: Example for conditional files / directories in hooks (#1397) @xyb + - Changed: README.md PyPI URLs changed to the modern PyPI last version (#1391) @brettcannon + - Fixed: Comma in README.md (#1390) @Cy-dev-tex + - Fixed: Replaced no longer maintained pipsi by pipx (#1395) @ndclt + - Bugfixes: + - Add support for click 8.x (#1569) @cjolowicz + - Force click<8.0.0 (#1562) @SharpEdgeMarshall + - Remove direct dependency on markupsafe (#1549) @ssbarnea + - fixes prompting private rendered dicts (#1504) @juhuebner + - User's JSON parse error causes ugly Python exception #809 (#1468) @noone234 + - config: set default on missing default_context key (#1516) @simobasso + - Fixed: Values encoding on Windows (#1414) @agateau + - Fixed: Fail with gitolite repositories (#1144) @javiersanp + - MANIFEST: Fix file name extensions (#1387) @sebix + - Deprecations: + - Removed: Bumpversion, setup.py arguments. (#1404) @insspb + - Removed support for Python 3.6 and PyPy (#1608) @audreyfeldroy + +------------------------------------------------------------------- Old: ---- cookiecutter-1.7.3.tar.gz New: ---- cookiecutter-2.0.2.tar.gz fix-setup-version.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cookiecutter.spec ++++++ --- /var/tmp/diff_new_pack.EMO8gL/_old 2022-04-13 22:15:28.944201203 +0200 +++ /var/tmp/diff_new_pack.EMO8gL/_new 2022-04-13 22:15:28.952201210 +0200 @@ -1,7 +1,7 @@ # # spec file for package cookiecutter # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2017 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,14 +19,18 @@ %define skip_python2 1 Name: cookiecutter -Version: 1.7.3 +Version: 2.0.2 Release: 0 Summary: A command-line utility that creates projects from project templates License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/audreyr/cookiecutter -Source: https://files.pythonhosted.org/packages/source/c/cookiecutter/cookiecutter-%{version}.tar.gz +Source: https://github.com/cookiecutter/cookiecutter/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# recent versions are not published on PyPI: https://github.com/cookiecutter/cookiecutter/issues/1636 +#Source: https://files.pythonhosted.org/packages/source/c/cookiecutter/cookiecutter-%{version}.tar.gz Source1: ccext.py +# PATCH-FIX-UPSTREAM -- fix-setup-version.patch https://github.com/cookiecutter/cookiecutter/pull/1656 +Patch0: https://github.com/cookiecutter/cookiecutter/pull/1656.patch#/fix-setup-version.patch BuildRequires: %{python_module Jinja2 >= 2.7} BuildRequires: %{python_module binaryornot >= 0.2.0} BuildRequires: %{python_module click >= 7.0} @@ -41,6 +45,7 @@ BuildRequires: python-rpm-macros Requires: git-core Requires: python-Jinja2 >= 2.7 +Requires: python-PyYAML Requires: python-binaryornot >= 0.2.0 Requires: python-click >= 7.0 Requires: python-future >= 0.15.2 @@ -54,6 +59,7 @@ BuildArch: noarch # SECTION Testing requirements BuildRequires: %{python_module chardet >= 2.0.0} +BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module freezegun} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} @@ -61,6 +67,10 @@ # /SECTION # SECTION Documentation requirements BuildRequires: python3-Sphinx +BuildRequires: python3-sphinx-click +%if 0%{?sle_version} == 150300 +BuildRequires: python3-commonmark +%endif BuildRequires: python3-recommonmark # /SECTION %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" @@ -89,6 +99,7 @@ %prep %setup -q -n cookiecutter-%{version} +%patch0 -p1 cp %{SOURCE1} docs # Remove pytest addopts: rm setup.cfg @@ -112,7 +123,8 @@ %check export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -%pytest tests +# test_generate_file_verbose_template_syntax_error: reported at https://github.com/cookiecutter/cookiecutter/issues/1655 +%pytest tests -k 'not test_generate_file_verbose_template_syntax_error' %pre # delete command if the old package was not update-alternatives controlled @@ -127,8 +139,7 @@ %files %{python_files} %license LICENSE %python_alternative cookiecutter -%{python_sitelib}/cookiecutter -%{python_sitelib}/cookiecutter-%{version}*-info +%{python_sitelib}/cookiecutter* %files -n cookiecutter-doc %license LICENSE ++++++ cookiecutter-1.7.3.tar.gz -> cookiecutter-2.0.2.tar.gz ++++++ ++++ 8764 lines of diff (skipped) ++++++ fix-setup-version.patch ++++++ >From 0eceeecf20541e11cc1cc1bef750003309c41eac Mon Sep 17 00:00:00 2001 From: Sebastian Wagner <se...@sebix.at> Date: Mon, 28 Mar 2022 11:46:50 +0200 Subject: [PATCH] setup: fix version number minor change to fix the version number in setup.py. that mistake leads to wrong version numbers on the local installation --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d703c3c2..23a948ab 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ """cookiecutter distutils configuration.""" from setuptools import setup -version = "2.0.0" +version = "2.0.2" with open('README.md', encoding='utf-8') as readme_file: readme = readme_file.read()