Accepting request 799017 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/799017 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cookiecutter?expand=0&rev=5
This commit is contained in:
commit
fc0d050c37
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:479997e1c26c51bbbaf04097ef7d82b1d91cfb03f570cb5fb5ca265c88db04ae
|
||||
size 148363
|
3
cookiecutter-1.7.2.tar.gz
Normal file
3
cookiecutter-1.7.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:efb6b2d4780feda8908a873e38f0e61778c23f6a2ea58215723bcceb5b515dac
|
||||
size 142970
|
@ -1,3 +1,56 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 22 18:05:41 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
- add python3-python-slugify as new dependency, fixes build.
|
||||
- update to version 1.7.2:
|
||||
* 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.
|
||||
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.
|
||||
* Important Changes:
|
||||
* Added: Added debug messages for get_user_config [@ssbarnea](https://github.com/ssbarnea) (#1357)
|
||||
* Multiple templates per one repository feature added. [@RomHartmann](https://github.com/RomHartmann) (#1224, #1063)
|
||||
* Update replay.py json.dump indent for easy viewing [@nicain](https://github.com/nicain) (#1293)
|
||||
* 'future' library replaced with 'six' as a more lightweight python porting library [@asottile](https://github.com/asottile) (#941)
|
||||
* Added extension: Slugify template filter [@ppanero](https://github.com/ppanero) (#1336)
|
||||
* Added command line option: `--skip-if-file-exists`, allow to skip the existing files when doing `overwrite_if_exists`. [@chhsiao1981](https://github.com/chhsiao1981) (#1076)
|
||||
* Some packages versions limited to be compatible with python2.7 and python 3.5 [@insspb](https://github.com/insspb) (#1349)
|
||||
* Internal CI/CD and tests changes:
|
||||
* Coverage comment in future merge requests disabled [@ssbarnea](https://github.com/ssbarnea) (#1279)
|
||||
* Fixed Python 3.8 travis tests and setup.py message [@insspb](https://github.com/insspb) (#1295, #1297)
|
||||
* Travis builds extended with Windows setup for all supported python versions [@insspb](https://github.com/insspb) (#1300, #1301)
|
||||
* Update .travis.yml to be compatible with latest travis cfg specs [@luzfcb](https://github.com/luzfcb) (#1346)
|
||||
* Added new test to improve tests coverage [@amey589](https://github.com/amey589) (#1023)
|
||||
* Added missed coverage lines highlight to pytest-coverage report [@insspb](https://github.com/insspb) (#1352)
|
||||
* pytest-catchlog package removed from test_requirements, as now it is included in pytest [@insspb](https://github.com/insspb) (#1347)
|
||||
* Fixed `cov-report` tox invocation environment [@insspb](https://github.com/insspb) (#1350)
|
||||
* Added: Release drafter support and configuration to exclude changelog update work and focus on development [@ssbarnea](https://github.com/ssbarnea) [@insspb](https://github.com/insspb) (#1356, #1362)
|
||||
* Added: CI/CD steps for Github actions to speedup CI/CD [@insspb](https://github.com/insspb) (#1360)
|
||||
* Removed: Appveyor CI/CD completely removed [@insspb](https://github.com/insspb) [@ssbarnea](https://github.com/ssbarnea) [@insspb](https://github.com/insspb) (#1363, #1367)
|
||||
* Code style and docs changes:
|
||||
* Added black formatting verification on lint stage + project files reformatting [@ssbarnea](https://github.com/ssbarnea) [@insspb](https://github.com/insspb) (#1368)
|
||||
* Added pep257 docstring for tests/* files [@insspb](https://github.com/insspb) (#1369, #1370, #1371, #1372, #1373, #1374, #1375, #1376, #1377, #1378, #1380, #1381)
|
||||
* Added pep257 docstring for tests/conftests.py [@kishan](https://github.com/kishan3) (#1272, #1263)
|
||||
* Added pep257 docstring for tests/replay/conftest.py [@kishan](https://github.com/kishan3) (#1270, #1268)
|
||||
* Added pep257 docstring for docs/__init__.py [@kishan](https://github.com/kishan3) (#1273, #1265)
|
||||
* Added missing docstring headers to all files [@croesnick](https://github.com/croesnick) (#1269, #1283)
|
||||
* Gitter links replaced by Slack in README [@browniebroke](https://github.com/browniebroke) (#1282)
|
||||
* flake8-docstrings tests added to CI/CD [@ssbarnea](https://github.com/ssbarnea) (#1284)
|
||||
* Activated pydocstyle rule: D401 - First line should be in imperative mood [@ssbarnea](https://github.com/ssbarnea) (#1285)
|
||||
* Activated pydocstyle rule: D200 - One-line docstring should fit on one line with quotes [@ssbarnea](https://github.com/ssbarnea) (#1288)
|
||||
* Activated pydocstyle rule: D202 - No blank lines allowed after function docstring [@ssbarnea](https://github.com/ssbarnea) (#1288)
|
||||
* Activated pydocstyle rule: D205 - 1 blank line required between summary line and description [@ssbarnea](https://github.com/ssbarnea) (#1286, #1287)
|
||||
* Activated pydocstyle rule: ABS101 [@ssbarnea](https://github.com/ssbarnea) (#1288)
|
||||
* Replaced click documentation links to point to version 7 [@igorbasko01](https://github.com/igorbasko01) (#1303)
|
||||
* Updated submodule link to latest version with documentation links fix [@DanBoothDev](https://github.com/DanBoothDev) (#1388)
|
||||
* Fixed links in main README file. [@insspb](https://github.com/insspb) (#1342)
|
||||
* Fix indentation of .cookiecutterrc in README.md [@mhsekhavat](https://github.com/mhsekhavat) (#1322)
|
||||
* Changed format of loggers invocation [@insspb](https://github.com/insspb) (#1307)
|
||||
- remove patch fix-click-711.patch, merged upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 3 19:47:20 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
Name: cookiecutter
|
||||
Version: 1.7.0
|
||||
Version: 1.7.2
|
||||
Release: 0
|
||||
Summary: A command-line utility that creates projects from project templates
|
||||
License: BSD-3-Clause
|
||||
@ -26,8 +26,6 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/audreyr/cookiecutter
|
||||
Source: https://files.pythonhosted.org/packages/source/c/cookiecutter/cookiecutter-%{version}.tar.gz
|
||||
Source1: ccext.py
|
||||
# PATCH-FIX-UPSTEAM fix-click-711.patch -- compatibility with click 7.1.1
|
||||
Patch0: fix-click-711.patch
|
||||
BuildRequires: git
|
||||
BuildRequires: python3-Jinja2 >= 2.7
|
||||
BuildRequires: python3-binaryornot >= 0.2.0
|
||||
@ -36,6 +34,7 @@ BuildRequires: python3-devel
|
||||
BuildRequires: python3-future >= 0.15.2
|
||||
BuildRequires: python3-jinja2-time >= 0.1.0
|
||||
BuildRequires: python3-poyo >= 0.1.0
|
||||
BuildRequires: python3-python-slugify
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-whichcraft >= 0.4.0
|
||||
Requires: git
|
||||
@ -45,6 +44,7 @@ Requires: python3-click >= 7.0
|
||||
Requires: python3-future >= 0.15.2
|
||||
Requires: python3-jinja2-time >= 0.1.0
|
||||
Requires: python3-poyo >= 0.1.0
|
||||
Requires: python3-python-slugify
|
||||
Requires: python3-requests >= 2.18.0
|
||||
Requires: python3-whichcraft >= 0.4.0
|
||||
Requires(post): update-alternatives
|
||||
@ -85,7 +85,6 @@ This package contains the documentation for cookiecutter.
|
||||
%setup -q -n cookiecutter-%{version}
|
||||
sed -i "s/cookiecutter =/cookiecutter-%{py3_ver} =/" setup.py
|
||||
cp %{SOURCE1} docs
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
@ -1,23 +0,0 @@
|
||||
diff -ruN a/tests/test_cli.py b/tests/test_cli.py
|
||||
https://github.com/cookiecutter/cookiecutter/issues/1327
|
||||
--- a/tests/test_cli.py 2019-12-21 19:29:52.000000000 +0100
|
||||
+++ b/tests/test_cli.py 2020-03-14 11:53:20.505357215 +0100
|
||||
@@ -390,7 +390,7 @@
|
||||
'ExtraContextWithNoEqualsSoInvalid',
|
||||
)
|
||||
assert result.exit_code == 2
|
||||
- assert 'Error: Invalid value for "[EXTRA_CONTEXT]..."' in result.output
|
||||
+ assert "Error: Invalid value for '[EXTRA_CONTEXT]...'" in result.output
|
||||
assert 'should contain items of the form key=value' in result.output
|
||||
|
||||
|
||||
diff -ruN a/tests/test_cookiecutter_invocation.py b/tests/test_cookiecutter_invocation.py
|
||||
--- a/tests/test_cookiecutter_invocation.py 2019-12-21 19:29:52.000000000 +0100
|
||||
+++ b/tests/test_cookiecutter_invocation.py 2020-03-14 11:52:17.332550458 +0100
|
||||
@@ -23,7 +23,7 @@
|
||||
subprocess.check_call([sys.executable, '-m', 'cookiecutter.cli'])
|
||||
|
||||
_, err = capfd.readouterr()
|
||||
- exp_message = 'Error: Missing argument "TEMPLATE".'
|
||||
+ exp_message = "Error: Missing argument 'TEMPLATE'."
|
||||
assert exp_message in err
|
Loading…
Reference in New Issue
Block a user