From c606da9576a93397d1619fbc29a7034d6aa5cb71a83d3a1ff76b2650ced17bc6 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sun, 16 Jul 2023 10:12:22 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=20version=202.2.3:=20=20-=20Cha?= =?UTF-8?q?nges:=20=20-=20Minor=20Changes:=20=20=20-=20Add=20support=20for?= =?UTF-8?q?=20adding=20human-readable=20labels=20for=20choices=20when=20de?= =?UTF-8?q?fining=20multiple=20choices=20questions=20(#1898)=20@vemonet=20?= =?UTF-8?q?=20=20-=20Prompt=20with=20replay=20file=20(#1758)=20@w1ndblow?= =?UTF-8?q?=20=20-=20CI/CD=20and=20QA=20changes:=20=20=20-=20Set=20cookiec?= =?UTF-8?q?utter/VERSION.txt=20as=20source=20of=20truth=20for=20version=20?= =?UTF-8?q?number=20(#1896)=20@ericof=20=20=20-=20[pre-commit.ci]=20pre-co?= =?UTF-8?q?mmit=20autoupdate=20(#1897)=20@pre-commit-ci=20=20-=20Bugfixes:?= =?UTF-8?q?=20=20=20-=20Fix=20issue=20where=20the=20prompts=20dict=20was?= =?UTF-8?q?=20not=20passed=20for=20yes=5Fno=20questions=20(#1895)=20@vemon?= =?UTF-8?q?et=20=20=20-=20Set=20cookiecutter/VERSION.txt=20as=20source=20o?= =?UTF-8?q?f=20truth=20for=20version=20number=20(#1896)=20@ericof=20-=20up?= =?UTF-8?q?date=20to=20version=202.2.2:=20=20-=20CI/CD=20and=20QA=20change?= =?UTF-8?q?s:=20=20=20-=20Improve=20gitignore=20(#1889)=20@audreyfeldroy?= =?UTF-8?q?=20=20=20-=20Add=20warning=20for=20jinja2=5Ftime=20(#1890)=20@h?= =?UTF-8?q?enryiii=20-=20update=20to=20version=202.2.0:=20=20-=20Changes:?= =?UTF-8?q?=20=20=20-=20Added=20timeout=20on=20request.get()=20for=20ensur?= =?UTF-8?q?ing=20that=20if=20a=20recipient=20serve=E2=80=A6=20(#1772)=20@o?= =?UTF-8?q?penrefactory=20=20=20-=20Fixing=20Carriage=20Return=20Line=20Fe?= =?UTF-8?q?ed=20(CRLF)=20order=20in=20docs=20#1792=20(#1793)=20@Lahiry=20?= =?UTF-8?q?=20=20-=20Reduce=20I/O=20(#1877)=20@kurtmckee=20=20=20-=20Remov?= =?UTF-8?q?e=20a=20pre-commit=20hook=20special=20case=20(#1875)=20@kurtmck?= =?UTF-8?q?ee=20=20=20-=20Remove=20universal=20bdist=5Fwheel=20option;=20u?= =?UTF-8?q?se=20"python=20-m=20build"=20(#1739)=20@mwtoews=20=20=20-=20Rem?= =?UTF-8?q?ove=20unused=20import=20from=20post-generate=20hook=20script=20?= =?UTF-8?q?example=20(#1795)=20@KAZYPinkSaurus=20=20=20-=20Standardize=20n?= =?UTF-8?q?ewlines=20for=20all=20platforms=20(#1870)=20@kurtmckee=20=20=20?= =?UTF-8?q?-=20feat:=20Add=20resolved=20template=20repository=20path=20as?= =?UTF-8?q?=20=5Frepo=5Fdir=20to=20the=20context=20(#1771)=20@tmeckel=20?= =?UTF-8?q?=20-=20Minor=20Changes:=20=20=20-=20Added=20support=20for=20pro?= =?UTF-8?q?viding=20human-readable=20prompts=20to=20the=20different=20vari?= =?UTF-8?q?ables=20(#1881)=20@vemonet=20=20=20-=20Added:=20Boolean=20varia?= =?UTF-8?q?ble=20support=20in=20JSON=20(#1626)=20@liortct=20=20=20-=20Adde?= =?UTF-8?q?d:=20CLI=20option=20to=20keep=20project=20files=20on=20failure.?= =?UTF-8?q?=20(#1669)=20@MaciejPatro=20=20=20-=20Added:=20Support=20partia?= =?UTF-8?q?lly=20overwrite=20keys=20in=20nested=20dict=20(#1692)=20@cksac?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/cookiecutter?expand=0&rev=27 --- cookiecutter-2.1.1.tar.gz | 3 -- cookiecutter-2.2.3.tar.gz | 3 ++ cookiecutter.changes | 85 +++++++++++++++++++++++++++++++++++++++ cookiecutter.spec | 15 ++++--- 4 files changed, 97 insertions(+), 9 deletions(-) delete mode 100644 cookiecutter-2.1.1.tar.gz create mode 100644 cookiecutter-2.2.3.tar.gz diff --git a/cookiecutter-2.1.1.tar.gz b/cookiecutter-2.1.1.tar.gz deleted file mode 100644 index b837146..0000000 --- a/cookiecutter-2.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ef7a3f8c7820be2dc91c7b7d211de26463ab38fcac130350d5f71837bbf0432 -size 263100 diff --git a/cookiecutter-2.2.3.tar.gz b/cookiecutter-2.2.3.tar.gz new file mode 100644 index 0000000..756bb76 --- /dev/null +++ b/cookiecutter-2.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6b1e52aabc69575db098ae0ae2f257727aea898714bb735fd74e5f2216b764f +size 271925 diff --git a/cookiecutter.changes b/cookiecutter.changes index 5f8e962..8507fb3 100644 --- a/cookiecutter.changes +++ b/cookiecutter.changes @@ -1,3 +1,88 @@ +------------------------------------------------------------------- +Sun Jul 16 09:58:27 UTC 2023 - Sebastian Wagner + +- 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 diff --git a/cookiecutter.spec b/cookiecutter.spec index 35d059e..b367429 100644 --- a/cookiecutter.spec +++ b/cookiecutter.spec @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: cookiecutter -Version: 2.1.1 +Version: 2.2.3 Release: 0 Summary: A command-line utility that creates projects from project templates License: BSD-3-Clause @@ -64,12 +64,15 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.18.0} # /SECTION # SECTION Documentation requirements -BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module sphinx-click} +BuildRequires: python3-Sphinx +BuildRequires: python3-myst-parser +BuildRequires: python3-sphinx-autodoc-typehints +BuildRequires: python3-sphinx-click +BuildRequires: python3-sphinxcontrib-apidoc %if 0%{?sle_version} == 150300 -BuildRequires: %{python_module commonmark} +BuildRequires: python3-commonmark %endif -BuildRequires: %{python_module recommonmark} +BuildRequires: python3-recommonmark # /SECTION %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" Provides: cookiecutter = %{version}-%{release} @@ -104,7 +107,7 @@ rm setup.cfg %build %python_build pushd docs -make %{?_smp_mflags} html +sphinx-build -b html -d .build/doctrees . _build/html rm _build/html/.buildinfo popd