From ae0cf472248bfb7c92fccdf4afc0d3cf9dfd221f4baec960dfc9da850489f4ef Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 24 Mar 2024 17:28:05 +0000 Subject: [PATCH] - update to 2.6.0: * Support Python 3.12 * Modifying Jinja2 start and end variable strings (#1997) * Fix regression #2009: Adding value to nested dicts broken * Fixed errors caused by invalid config files. (#1995) * Default values can be passed as a dict (#1924) * Implement new style for nested templates config (#1981) * Fix FileExistsError when using a relative template path * Fix recursive context overwrites * Gracefully handle files with mixed lined endings (#1942) * Implement a pre_prompt hook that will run before prompts * Implement a pre_prompt hook that will run before prompts * update main docstrings to include overwrite_if_exists and skip_if_file_exists * add checkout details to the context (fixes #1759) (#1923) * Fix nested templates in Git repository (#1922) * Fix prompt counter. (#1940) * Fix variables with null default not being required (#1919) all code was verified to match pep8, pep257 and other code-styling guides. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/cookiecutter?expand=0&rev=33 --- cookiecutter-2.3.0.tar.gz | 3 --- cookiecutter-2.6.0.tar.gz | 3 +++ cookiecutter.changes | 24 +++++++++++++++++++++++- cookiecutter.spec | 6 +++--- 4 files changed, 29 insertions(+), 7 deletions(-) delete mode 100644 cookiecutter-2.3.0.tar.gz create mode 100644 cookiecutter-2.6.0.tar.gz diff --git a/cookiecutter-2.3.0.tar.gz b/cookiecutter-2.3.0.tar.gz deleted file mode 100644 index 092c76f..0000000 --- a/cookiecutter-2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:631cca1273c6ceb8b6c3716f04c4b85290f1c962d210d63bb39fcc3b6ca4b31a -size 273048 diff --git a/cookiecutter-2.6.0.tar.gz b/cookiecutter-2.6.0.tar.gz new file mode 100644 index 0000000..6c762de --- /dev/null +++ b/cookiecutter-2.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:da014a94d85c1b1be14be214662982c8c90d860834cbf9ddb2391a37ad7d08be +size 277486 diff --git a/cookiecutter.changes b/cookiecutter.changes index c9f057d..90dff38 100644 --- a/cookiecutter.changes +++ b/cookiecutter.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sun Mar 24 17:26:40 UTC 2024 - Dirk Müller + +- update to 2.6.0: + * Support Python 3.12 + * Modifying Jinja2 start and end variable strings (#1997) + * Fix regression #2009: Adding value to nested dicts broken + * Fixed errors caused by invalid config files. (#1995) + * Default values can be passed as a dict (#1924) + * Implement new style for nested templates config (#1981) + * Fix FileExistsError when using a relative template path + * Fix recursive context overwrites + * Gracefully handle files with mixed lined endings (#1942) + * Implement a pre_prompt hook that will run before prompts + * Implement a pre_prompt hook that will run before prompts + * update main docstrings to include overwrite_if_exists and + skip_if_file_exists + * add checkout details to the context (fixes #1759) (#1923) + * Fix nested templates in Git repository (#1922) + * Fix prompt counter. (#1940) + * Fix variables with null default not being required (#1919) + ------------------------------------------------------------------- Thu Sep 7 05:19:46 UTC 2023 - Steve Kowalik @@ -248,7 +270,7 @@ Wed Apr 22 18:05:41 UTC 2020 - Sebastian Wagner * Fixed: Jinja2&Six version limits causing build errors with ansible project [@insspb](https://github.com/insspb) (#1385) - update to version 1.7.1: This release was focused on internal code and CI/CD changes. During this release - all code was verified to match pep8, pep257 and other code-styling guides. + all code was verified to match pep8, pep257 and other code-styling guides. Project CI/CD was significantly changed, Windows platform checks based on Appveyor engine was replaced by GitHub actions tests. Appveyor was removed. Also our CI/CD was extended with Mac builds, to verify project builds on Apple devices. diff --git a/cookiecutter.spec b/cookiecutter.spec index 1154f09..5a17b8b 100644 --- a/cookiecutter.spec +++ b/cookiecutter.spec @@ -1,7 +1,7 @@ # # spec file for package cookiecutter # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2017 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: cookiecutter -Version: 2.3.0 +Version: 2.6.0 Release: 0 Summary: A command-line utility that creates projects from project templates License: BSD-3-Clause @@ -50,7 +50,7 @@ Requires: python-rich Requires: (python-Jinja2 >= 2.7 with python-Jinja2 < 4) Requires: (python-click >= 7 with python-click < 9) Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION Testing requirements BuildRequires: %{python_module chardet >= 2.0.0}