./devel/py-cookiecutter, Command-line utility that creates projects from project templates

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.6.0, Package name: py312-cookiecutter-2.6.0, Maintainer: gde

Cookiecutter is a command-line utility that creates
projects from cookiecutters (project templates),
e.g. creating a Python package project from a
Python package project template.


Required to run:
[devel/py-setuptools] [textproc/py-jinja2] [textproc/py-markupsafe] [devel/py-requests] [lang/py-six] [devel/py-click] [devel/py-binaryornot] [devel/py-whichcraft] [textproc/py-poyo] [time/py-jinja2-time] [lang/python37] [devel/py-slugify]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 155.046 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-22 09:43:55 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cookiecutter: updated to 2.6.0

2.6.0 (2024-02-21)

Minor Changes

* Support Python 3.12
* Modifying Jinja2 start and end variable strings

CI/CD and QA changes

* Add isort as a pre-commit hook
* Bump actions/setup-python from 4 to 5
* Bump actions/upload-artifact from 3 to 4
* Support Python 3.12
* [pre-commit.ci] pre-commit autoupdate

Documentation updates

* Support Python 3.12

Bugfixes

* Fix regression: Adding value to nested dicts broken
* Fixed errors caused by invalid config files.
   2024-01-23 14:27:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cookiecutter: updated to 2.5.0

2.5.0 (2023-11-21)

Minor Changes

* Default values can be passed as a dict
* Implement new style for nested templates config

CI/CD and QA changes

* Bump actions/checkout from 3 to 4
* [pre-commit.ci] pre-commit autoupdate
* [pre-commit.ci] pre-commit autoupdate

Documentation updates

* Add argument run to pipx command in README.md
* Fix tutorial2 generated HTML
* Update README.md
* Update README.md to fix broken link
* Update README.md to include installation instructions
* Update cookiecutter-plone-starter link in readme

Bugfixes

* Fix FileExistsError when using a relative template path
* Fix recursive context overwrites
   2023-11-14 18:58:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cookiecutter: updated to 2.4.0

2.4.0 (2023-09-29)

Minor Changes

* Gracefully handle files with mixed lined endings
* Implement a pre_prompt hook that will run before prompts

Documentation updates

* Implement a pre_prompt hook that will run before prompts
* update main docstrings to include overwrite_if_exists and skip_if_file_exists
   2023-08-27 22:13:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-cookiecutter: updated to 2.3.0

2.3.0 (2023-08-03)

Minor Changes

* Improve style of prompts using `rich`

CI/CD and QA changes

* Bump paambaati/codeclimate-action from 4.0.0 to 5.0.0
* [pre-commit.ci] pre-commit autoupdate

Bugfixes

* Fix replay
* Support multichoice overwrite
   2023-07-25 15:17:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-cookiecutter: updated to 2.2.3

2.2.3 (2023-07-11)

Minor Changes

* Add support for adding human-readable labels for choices when defining \ 
multiple choices questions
* Prompt with replay file

CI/CD and QA changes

* Set cookiecutter/VERSION.txt as source of truth for version number
* [pre-commit.ci] pre-commit autoupdate

Bugfixes

* Fix issue where the prompts dict was not passed for yes_no questions
* Set cookiecutter/VERSION.txt as source of truth for version number

2.2.2 (2023-07-10)

CI/CD and QA changes

* Improve gitignore
* Add warning for jinja2_time

2.2.0 (2023-07-06)

Changes

* Added timeout on request.get() for ensuring that if a recipient serveā€¦
* Fixing Carriage Return Line Feed (CRLF) order in docs
* Reduce I/O
* Remove a pre-commit hook special case
* Remove universal bdist_wheel option; use "python -m build"
* Remove unused import from post-generate hook script example
* Standardize newlines for all platforms
* feat: Add resolved template repository path as _repo_dir to the context

Minor Changes

* Added support for providing human-readable prompts to the different variables
* Added: Boolean variable support in JSON
* Added: CLI option to keep project files on failure.
* Added: Support partially overwrite keys in nested dict
* Added: Templates inheritance
* Code quality: Tests upgrade: Use pathlib for files read/write
* Inline jinja2-time extension code
* Support Python 3.11
* Support nested config files
* preserves original options in `_cookiecutter`

CI/CD and QA changes

* Add a Dependabot config to autoupdate GitHub workflow actions
* Added: Readthedocs build config
* Bump actions/setup-python from 3 to 4
* Bump paambaati/codeclimate-action from 3.0.0 to 4.0.0
* CI/CD: Tox -> Nox: Added nox configuration
* CI/CD: Tox -> Nox: Github actions definition minimized + Sync nox and \ 
github actions
* CI/CD: Tox -> Nox: Makefile update: Removed watchmedo and sed dependency, \ 
tox replaced with nox
* CI/CD: Updated .pre-commit-config.yaml to use latest hooks versions
* Code quality: Core files: Added exception reason reraise when exception class \ 
changed (PEP 3134)
* Code quality: Tests upgrade: Use pathlib for files read/write
* Code quality: core files: Format replaced with f-strings
* Code quality: find.py refactored and type annotated
* Code quality: tests files: Simplify statements fixes
* Code quality: utils.make_sure_path_exists refactored and type annotated
* Fixed: recommonmark replaced with myst, as recommonmark is deprecated
* Pretty-format JSON files
* Rename `master` to `main` so CI runs correctly on merge
* Standardize EOF newlines
* Update `.gitignore` and cite where it was copied from
* Update base docs, remove tox
* Update pre-commit hook versions
* Updated: Release drafter configuration
* Use tox
* Verify an expected warning is raised
* fixed failing lint ci action by updating repo of flake8

Documentation updates

* Add jinja env docs
* Documentation extension: Create a Cookiecutter From Scratch tutorial
* Easy PR! Fix typos and add minor doc updates
* Expand cli documentation relating to the no-input flag
* Fix @audreyr to @audreyfeldroy github account rename
* Fixed broken links to jinja docs
* Fixed minor typos in docs
* Fixed: Python code block in the replay documentation
* Fixed: recommonmark replaced with myst, as recommonmark is deprecated
* Improve Docs Readability
* Update base docs, remove tox
* Updated: Boolean Variables documentation and docstrings
* docs: fix simple typo, shat -> that
* fixing badge display problem

Bugfixes

* Fixed the override not working with copy only dir
* Fixed: Removed mention of packages versions, to exclude dependabot warnings alerts
* cleanup files if panics during hooks
   2022-08-25 22:19:57 by Leonardo Taccari | Files touched by this commit (2) | Package updated
Log message:
py-cookiecutter: Update to 2.1.1

Changes:
[From HISTORY.md, a bit truncated to only mention most important changes]
## 2.1.1 (2022-06-01)

### Documentation updates

* Fix local extensions documentation (#1686) @alkatar21

### Bugfixes

* Sanitize Mercurial branch information before checkout. (#1689) @ericof

## 2.1.0 (2022-05-30)

### Changes

* Move contributors and backers to credits section (#1599) @doobrie
* test_generate_file_verbose_template_syntax_error fixed (#1671) @MaciejPatro
* Removed changes related to setuptools_scm (#1629) @ozer550
* Feature/local extensions (#1240) @mwesterhof

## 2.0.2 (2021-12-27)

*Remark: This release never made it to official PyPI*

* Fix Python version number in cookiecutter --version and test on Python 3.10 \ 
(#1621) @ozer550
* Removed changes related to setuptools_scm (#1629) @audreyfeldroy @ozer550

## 2.0.1 (2021-12-11)

*Remark: This release never made it to official PyPI*

### 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

### 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
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS