- 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
This commit is contained in:
2024-03-24 17:28:05 +00:00
committed by Git OBS Bridge
parent 97094d9865
commit ae0cf47224
4 changed files with 29 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:631cca1273c6ceb8b6c3716f04c4b85290f1c962d210d63bb39fcc3b6ca4b31a
size 273048

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da014a94d85c1b1be14be214662982c8c90d860834cbf9ddb2391a37ad7d08be
size 277486

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sun Mar 24 17:26:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <steven.kowalik@suse.com>
@@ -248,7 +270,7 @@ Wed Apr 22 18:05:41 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
* 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.

View File

@@ -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}