- update to version 2.2.3:

- Changes:
 - Minor Changes:
  - Add support for adding human-readable labels for choices when defining multiple choices questions (#1898) @vemonet
  - Prompt with replay file (#1758) @w1ndblow
 - CI/CD and QA changes:
  - Set cookiecutter/VERSION.txt as source of truth for version number (#1896) @ericof
  - [pre-commit.ci] pre-commit autoupdate (#1897) @pre-commit-ci
 - Bugfixes:
  - Fix issue where the prompts dict was not passed for yes_no questions (#1895) @vemonet
  - Set cookiecutter/VERSION.txt as source of truth for version number (#1896) @ericof
- update to version 2.2.2:
 - CI/CD and QA changes:
  - Improve gitignore (#1889) @audreyfeldroy
  - Add warning for jinja2_time (#1890) @henryiii
- update to version 2.2.0:
 - Changes:
  - Added timeout on request.get() for ensuring that if a recipient serve… (#1772) @openrefactory
  - Fixing Carriage Return Line Feed (CRLF) order in docs #1792 (#1793) @Lahiry
  - Reduce I/O (#1877) @kurtmckee
  - Remove a pre-commit hook special case (#1875) @kurtmckee
  - Remove universal bdist_wheel option; use "python -m build" (#1739) @mwtoews
  - Remove unused import from post-generate hook script example (#1795) @KAZYPinkSaurus
  - Standardize newlines for all platforms (#1870) @kurtmckee
  - feat: Add resolved template repository path as _repo_dir to the context (#1771) @tmeckel
 - Minor Changes:
  - Added support for providing human-readable prompts to the different variables (#1881) @vemonet
  - Added: Boolean variable support in JSON (#1626) @liortct
  - Added: CLI option to keep project files on failure. (#1669) @MaciejPatro
  - Added: Support partially overwrite keys in nested dict (#1692) @cksac

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/cookiecutter?expand=0&rev=27
This commit is contained in:
Sebastian Wagner 2023-07-16 10:12:22 +00:00 committed by Git OBS Bridge
parent 8f0c57a546
commit c606da9576
4 changed files with 97 additions and 9 deletions

View File

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

View File

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

View File

@ -1,3 +1,88 @@
-------------------------------------------------------------------
Sun Jul 16 09:58:27 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
- update to version 2.2.3:
- Changes:
- Minor Changes:
- Add support for adding human-readable labels for choices when defining multiple choices questions (#1898) @vemonet
- Prompt with replay file (#1758) @w1ndblow
- CI/CD and QA changes:
- Set cookiecutter/VERSION.txt as source of truth for version number (#1896) @ericof
- [pre-commit.ci] pre-commit autoupdate (#1897) @pre-commit-ci
- Bugfixes:
- Fix issue where the prompts dict was not passed for yes_no questions (#1895) @vemonet
- Set cookiecutter/VERSION.txt as source of truth for version number (#1896) @ericof
- update to version 2.2.2:
- CI/CD and QA changes:
- Improve gitignore (#1889) @audreyfeldroy
- Add warning for jinja2_time (#1890) @henryiii
- update to version 2.2.0:
- Changes:
- Added timeout on request.get() for ensuring that if a recipient serve… (#1772) @openrefactory
- Fixing Carriage Return Line Feed (CRLF) order in docs #1792 (#1793) @Lahiry
- Reduce I/O (#1877) @kurtmckee
- Remove a pre-commit hook special case (#1875) @kurtmckee
- Remove universal bdist_wheel option; use "python -m build" (#1739) @mwtoews
- Remove unused import from post-generate hook script example (#1795) @KAZYPinkSaurus
- Standardize newlines for all platforms (#1870) @kurtmckee
- feat: Add resolved template repository path as _repo_dir to the context (#1771) @tmeckel
- Minor Changes:
- Added support for providing human-readable prompts to the different variables (#1881) @vemonet
- Added: Boolean variable support in JSON (#1626) @liortct
- Added: CLI option to keep project files on failure. (#1669) @MaciejPatro
- Added: Support partially overwrite keys in nested dict (#1692) @cksac
- Added: Templates inheritance (#1485) @simobasso
- Code quality: Tests upgrade: Use pathlib for files read/write (#1718) @insspb
- Inline jinja2-time extension code (#1779) @tranzystorek-io
- Support Python 3.11 (#1850) @kurtmckee
- Support nested config files (#1770) @dariocurr
- preserves original options in `_cookiecutter` (#1874) @kjaymiller
- CI/CD and QA changes:
- Add a Dependabot config to autoupdate GitHub workflow actions (#1851) @kurtmckee
- Added: Readthedocs build config (#1707) @insspb
- Bump actions/setup-python from 3 to 4 (#1854) @dependabot
- Bump paambaati/codeclimate-action from 3.0.0 to 4.0.0 (#1853) @dependabot
- CI/CD: Tox -> Nox: Added nox configuration (#1706) @insspb
- CI/CD: Tox -> Nox: Github actions definition minimized + Sync nox and github actions (#1714) @insspb
- CI/CD: Tox -> Nox: Makefile update: Removed watchmedo and sed dependency, tox replaced with nox (#1713) @insspb
- CI/CD: Updated .pre-commit-config.yaml to use latest hooks versions (#1712) @insspb
- Code quality: Core files: Added exception reason reraise when exception class changed (PEP 3134) (#1719) @insspb
- Code quality: Tests upgrade: Use pathlib for files read/write (#1718) @insspb
- Code quality: core files: Format replaced with f-strings (#1716) @insspb
- Code quality: find.py refactored and type annotated (#1721) @insspb
- Code quality: tests files: Simplify statements fixes (#1717) @insspb
- Code quality: utils.make_sure_path_exists refactored and type annotated (#1722) @insspb
- Fixed: recommonmark replaced with myst, as recommonmark is deprecated (#1709) @insspb
- Pretty-format JSON files (#1864) @kurtmckee
- Rename `master` to `main` so CI runs correctly on merge (#1852) @kurtmckee
- Standardize EOF newlines (#1876) @kurtmckee
- Update `.gitignore` and cite where it was copied from (#1879) @kurtmckee
- Update base docs, remove tox (#1858) @ericof
- Update pre-commit hook versions (#1849) @kurtmckee
- Updated: Release drafter configuration (#1704) @insspb
- Use tox (#1866) @kurtmckee
- Verify an expected warning is raised (#1869) @kurtmckee
- fixed failing lint ci action by updating repo of flake8 (#1838) @Tamronimus
- Documentation updates:
- Add jinja env docs (#1872) @pamelafox
- Documentation extension: Create a Cookiecutter From Scratch tutorial (#1592) @miro-jelaska
- Easy PR! Fix typos and add minor doc updates (#1741) @Alex0Blackwell
- Expand cli documentation relating to the no-input flag (#1543) (#1587) @jeremyswerdlow
- Fix @audreyr to @audreyfeldroy github account rename (#1604) @ri0t
- Fixed broken links to jinja docs (#1691) @insspb
- Fixed minor typos in docs (#1753) @segunb
- Fixed: Python code block in the replay documentation (#1715) @juhannc
- Fixed: recommonmark replaced with myst, as recommonmark is deprecated (#1709) @insspb
- Improve Docs Readability (#1690) @ryanrussell
- Update base docs, remove tox (#1858) @ericof
- Updated: Boolean Variables documentation and docstrings (#1705) @italomaia
- docs: fix simple typo, shat -> that (#1749) @timgates42
- fixing badge display problem (#1798) @Paulokim1
- Bugfixes:
- Fixed the override not working with copy only dir #1650 (#1651) @zhongdai
- Fixed: Removed mention of packages versions, to exclude dependabot warnings alerts (#1711) @insspb
- cleanup files if panics during hooks - bugfix (#1760) @liortct
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 11 08:21:49 UTC 2023 - Johannes Kastl <kastl@b1-systems.de> Thu May 11 08:21:49 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -19,7 +19,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: cookiecutter Name: cookiecutter
Version: 2.1.1 Version: 2.2.3
Release: 0 Release: 0
Summary: A command-line utility that creates projects from project templates Summary: A command-line utility that creates projects from project templates
License: BSD-3-Clause License: BSD-3-Clause
@ -64,12 +64,15 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.18.0} BuildRequires: %{python_module requests >= 2.18.0}
# /SECTION # /SECTION
# SECTION Documentation requirements # SECTION Documentation requirements
BuildRequires: %{python_module Sphinx} BuildRequires: python3-Sphinx
BuildRequires: %{python_module sphinx-click} BuildRequires: python3-myst-parser
BuildRequires: python3-sphinx-autodoc-typehints
BuildRequires: python3-sphinx-click
BuildRequires: python3-sphinxcontrib-apidoc
%if 0%{?sle_version} == 150300 %if 0%{?sle_version} == 150300
BuildRequires: %{python_module commonmark} BuildRequires: python3-commonmark
%endif %endif
BuildRequires: %{python_module recommonmark} BuildRequires: python3-recommonmark
# /SECTION # /SECTION
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
Provides: cookiecutter = %{version}-%{release} Provides: cookiecutter = %{version}-%{release}
@ -104,7 +107,7 @@ rm setup.cfg
%build %build
%python_build %python_build
pushd docs pushd docs
make %{?_smp_mflags} html sphinx-build -b html -d .build/doctrees . _build/html
rm _build/html/.buildinfo rm _build/html/.buildinfo
popd popd