Skip to content

Commit

Permalink
Merge branch 'master' into credits-page
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed May 29, 2022
2 parents 831b365 + 69cd155 commit b2d23d1
Show file tree
Hide file tree
Showing 34 changed files with 774 additions and 518 deletions.
38 changes: 13 additions & 25 deletions .github/workflows/main.yml
Expand Up @@ -24,8 +24,6 @@ jobs:
pip install tox virtualenv
- name: Lint
run: "tox -e lint"
- name: Packaging
run: "tox -e packaging"
- name: Safety
run: "tox -e safety"
build:
Expand All @@ -34,28 +32,22 @@ jobs:
fail-fast: false
matrix:
name:
- "ubuntu-py36"
- "ubuntu-py37"
- "ubuntu-py38"
- "ubuntu-py39"
- "ubuntu-pypy3"
- "ubuntu-py310"

- "macos-py36"
- "macos-py37"
- "macos-py38"
- "macos-py39"
- "macos-pypy3"
- "macos-py310"

- "windows-py36"
- "windows-py37"
- "windows-py38"
- "windows-py39"
- "windows-py310"

include:
- name: "ubuntu-py36"
python: "3.6"
os: ubuntu-latest
tox_env: "py36"
- name: "ubuntu-py37"
python: "3.7"
os: ubuntu-latest
Expand All @@ -68,15 +60,11 @@ jobs:
python: "3.9"
os: ubuntu-latest
tox_env: "py39"
- name: "ubuntu-pypy3"
python: "pypy3"
- name: "ubuntu-py310"
python: "3.10"
os: ubuntu-latest
tox_env: "pypy3"
tox_env: "py310"

- name: "macos-py36"
python: "3.6"
os: macos-latest
tox_env: "py36"
- name: "macos-py37"
python: "3.7"
os: macos-latest
Expand All @@ -89,15 +77,11 @@ jobs:
python: "3.9"
os: macos-latest
tox_env: "py39"
- name: "macos-pypy3"
python: "pypy3"
- name: "macos-py310"
python: "3.10"
os: macos-latest
tox_env: "pypy3"
tox_env: "py310"

- name: "windows-py36"
python: "3.6"
os: windows-latest
tox_env: "py36"
- name: "windows-py37"
python: "3.7"
os: windows-latest
Expand All @@ -110,6 +94,10 @@ jobs:
python: "3.9"
os: windows-latest
tox_env: "py39"
- name: "windows-py310"
python: "3.10"
os: windows-latest
tox_env: "py310"

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Expand Up @@ -69,3 +69,8 @@ target/

# PyEnv
.python-version

# OSX
.DS_Store
.AppleDouble
.LSOverride
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Expand Up @@ -5,13 +5,13 @@ repos:
hooks:
- id: doc8
name: doc8
description: This hook runs doc8 for linting docs
description: This hook runs doc8 for linting docs.
entry: python -m doc8
language: python
files: \.rst$
require_serial: true
- repo: https://github.com/python/black.git
rev: 19.10b0
- repo: https://github.com/psf/black.git
rev: 22.3.0
hooks:
- id: black
language_version: python3
Expand Down
388 changes: 192 additions & 196 deletions AUTHORS.md

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Expand Up @@ -72,9 +72,9 @@ git clone git@github.com:your_name_here/cookiecutter.git
3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:

```bash
mkvirtualenv cookiecutter

cd cookiecutter/
python setup.py develop
pip install -e .
```

4. Create a branch for local development:
Expand Down Expand Up @@ -188,13 +188,13 @@ tox

This configuration file setup the pytest-cov plugin and it is an additional dependency. It generate a coverage report after the tests.

It is possible to tests with some versions of python, to do this the command is:
It is possible to test with specific versions of Python. To do this, the command is:

```bash
tox -e py36,pypy3
tox -e py37,py38
```

Will run py.test with the python3.6 and pypy3 interpreters, for example.
This will run `py.test` with the `python3.7` and `python3.8` interpreters.

## Core Committer Guide

Expand Down
99 changes: 95 additions & 4 deletions HISTORY.md
Expand Up @@ -2,10 +2,101 @@

History is important, but our current roadmap can be found [here](https://github.com/cookiecutter/cookiecutter/projects)

## 1.8.0 (Current master, in development)

* Do not modify this file, since 1.7.1 Changes are generated on Pull request
title and will be added before release.
## 2.0.2 (2021-12-27)

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

### Minor Changes

* Adopt setuptools-scm packaging (#1577) @ssbarnea
* Log the error message when git clone fails, not just the return code (#1505) @logworthy
* allow jinja 3.0.0 (#1548) @wouterdb
* Added uuid extension to be able to generate uuids (#1493) @jonaswre
* Alert user if choice is invalid (#1496) @dHannasch
* Replace poyo with pyyaml. (#1489) @dHannasch
* update AUTHOR lead (#1532) @HosamAlmoghraby
* Add Python 3.9 (#1478) @gliptak
* Added: --list-installed cli option, listing already downloaded cookiecutter packages (#1096) @chrisbrake
* Added: Jinja2 Environment extension on files generation stage (#1419) @insspb
* Added: --replay-file cli option, for replay file distributing (#906) @Cadair
* Added: _output_dir to cookiecutter context (#1034) @Casyfill
* Added: CLI option to ignore hooks (#992) @rgreinho
* Changed: Generated projects can use multiple type hooks at same time. (sh + py) (#974) @milonimrod
* Added: Path templates will be rendered when copy_without_render used (#839) @noirbizarre
* Added: End of line detection and configuration. (#1407) @insspb
* Making code python 3 only: Remove python2 u' sign, fix some strings (#1402) @insspb
* py3: remove futures, six and encoding (#1401) @insspb
* Render variables starting with an underscore. (#1339) @smoothml
* Tests refactoring: test_utils write issues fixed #1405 (#1406) @insspb

### CI/CD and QA changes

* enable branch coverage (#1542) @simobasso
* Make release-drafter diff only between master releases (#1568) @SharpEdgeMarshall
* ensure filesystem isolation during tests execution (#1564) @simobasso
* add safety ci step (#1560) @simobasso
* pre-commit: add bandit hook (#1559) @simobasso
* Replace tmpdir in favour of tmp_path (#1545) @SharpEdgeMarshall
* Fix linting in CI (#1546) @SharpEdgeMarshall
* Coverage 100% (#1526) @SharpEdgeMarshall
* Run coverage with matrix (#1521) @SharpEdgeMarshall
* Lint rst files (#1443) @ssbarnea
* Python3: Changed io.open to build-in open (PEP3116) (#1408) @insspb
* Making code python 3 only: Remove python2 u' sign, fix some strings (#1402) @insspb
* py3: remove futures, six and encoding (#1401) @insspb
* Removed: Bumpversion, setup.py arguments. (#1404) @insspb
* Tests refactoring: test_utils write issues fixed #1405 (#1406) @insspb
* Added: Automatic PyPI deploy on tag creation (#1400) @insspb
* Changed: Restored coverage reporter (#1399) @insspb

### Documentation updates

* Fix pull requests checklist reference (#1537) @glumia
* Fix author name (#1544) @HosamAlmoghraby
* Add missing contributors (#1535) @glumia
* Update CONTRIBUTING.md (#1529) @glumia
* Update LICENSE (#1519) @simobasso
* docs: rewrite the conditional files / directories example description. (#1437) @lyz-code
* Fix incorrect years in release history (#1473) @graue70
* Add slugify in the default extensions list (#1470) @oncleben31
* Renamed cookiecutter.package to API (#1442) @grrlic
* Fixed wording detail (#1427) @steltenpower
* Changed: CLI Commands documentation engine (#1418) @insspb
* Added: Example for conditional files / directories in hooks (#1397) @xyb
* Changed: README.md PyPI URLs changed to the modern PyPI last version (#1391) @brettcannon
* Fixed: Comma in README.md (#1390) @Cy-dev-tex
* Fixed: Replaced no longer maintained pipsi by pipx (#1395) @ndclt

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

### Deprecations

* Removed: Bumpversion, setup.py arguments. (#1404) @insspb
* Removed support for Python 3.6 and PyPy (#1608) @audreyfeldroy

### This release was made possible by our wonderful contributors:

@Cadair, @Casyfill, @Cy-dev-tex, @HosamAlmoghraby, @SharpEdgeMarshall, @agateau, @audreyfeldroy, @brettcannon, @chrisbrake, @cjolowicz, @dHannasch, @gliptak, @glumia, @graue70, @grrlic, @insspb, @javiersanp, @jonaswre, @jsoref, @Jthevos, @juhuebner, @logworthy, @lyz-code, @milonimrod, @ndclt, @noirbizarre, @noone234, @oncleben31, @ozer550, @rgreinho, @sebix, @Sahil-101, @simobasso, @smoothml, @ssbarnea, @steltenpower, @wouterdb, @xyb, Christopher Wolfe and Hosam Almoghraby ( RIAG Digital )

## 1.7.2 (2020-04-21)

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2013-2021, Audrey Feldroy
Copyright (c) 2013-2021, Audrey Roy Greenfeld
All rights reserved.

Redistribution and use in source and binary forms, with or
Expand Down

0 comments on commit b2d23d1

Please sign in to comment.