diff --git a/tests/test-templates/extends/templates/base-requirements.jinja b/tests/test-templates/extends/templates/base-requirements.jinja index fbf1a17e7..964fa3379 100644 --- a/tests/test-templates/extends/templates/base-requirements.jinja +++ b/tests/test-templates/extends/templates/base-requirements.jinja @@ -1,4 +1,4 @@ -pip==19.2.3 +pip {% if cookiecutter.command_line_interface|lower == 'click' -%} {% include 'click-requirements.jinja' %}{% endif %} {% if cookiecutter.use_pytest == 'y' -%} diff --git a/tests/test-templates/extends/templates/click-requirements.jinja b/tests/test-templates/extends/templates/click-requirements.jinja index 8e1cde652..4d441badc 100644 --- a/tests/test-templates/extends/templates/click-requirements.jinja +++ b/tests/test-templates/extends/templates/click-requirements.jinja @@ -1 +1 @@ -Click==7.0 \ No newline at end of file +Click \ No newline at end of file diff --git a/tests/test-templates/extends/templates/pytest-requirements.jinja b/tests/test-templates/extends/templates/pytest-requirements.jinja index 18a0e4267..55b033e90 100644 --- a/tests/test-templates/extends/templates/pytest-requirements.jinja +++ b/tests/test-templates/extends/templates/pytest-requirements.jinja @@ -1 +1 @@ -pytest==4.6.5 \ No newline at end of file +pytest \ No newline at end of file diff --git a/tests/test-templates/include/templates/click-requirements.jinja b/tests/test-templates/include/templates/click-requirements.jinja index 8e1cde652..4d441badc 100644 --- a/tests/test-templates/include/templates/click-requirements.jinja +++ b/tests/test-templates/include/templates/click-requirements.jinja @@ -1 +1 @@ -Click==7.0 \ No newline at end of file +Click \ No newline at end of file diff --git a/tests/test-templates/include/templates/pytest-requirements.jinja b/tests/test-templates/include/templates/pytest-requirements.jinja index 18a0e4267..55b033e90 100644 --- a/tests/test-templates/include/templates/pytest-requirements.jinja +++ b/tests/test-templates/include/templates/pytest-requirements.jinja @@ -1 +1 @@ -pytest==4.6.5 \ No newline at end of file +pytest \ No newline at end of file diff --git a/tests/test-templates/include/{{cookiecutter.project_slug}}/requirements.txt b/tests/test-templates/include/{{cookiecutter.project_slug}}/requirements.txt index 4ea7b13f6..62645fd16 100644 --- a/tests/test-templates/include/{{cookiecutter.project_slug}}/requirements.txt +++ b/tests/test-templates/include/{{cookiecutter.project_slug}}/requirements.txt @@ -1,4 +1,4 @@ -pip==19.2.3 +pip {% if cookiecutter.command_line_interface|lower == 'click' -%} {% include 'click-requirements.jinja' %}{% endif %} {% if cookiecutter.use_pytest == 'y' -%} diff --git a/tests/test-templates/no-templates/{{cookiecutter.project_slug}}/requirements.txt b/tests/test-templates/no-templates/{{cookiecutter.project_slug}}/requirements.txt index 6554e75ff..b8b92ac2b 100644 --- a/tests/test-templates/no-templates/{{cookiecutter.project_slug}}/requirements.txt +++ b/tests/test-templates/no-templates/{{cookiecutter.project_slug}}/requirements.txt @@ -1,5 +1,5 @@ -pip==19.2.3 +pip {% if cookiecutter.command_line_interface|lower == 'click' -%} -Click==7.0{% endif %} +Click{% endif %} {% if cookiecutter.use_pytest == 'y' -%} -pytest==4.6.5{% endif %} \ No newline at end of file +pytest{% endif %} \ No newline at end of file diff --git a/tests/test-templates/super/templates/base-requirements.jinja b/tests/test-templates/super/templates/base-requirements.jinja index c4fd8141e..23c1ca511 100644 --- a/tests/test-templates/super/templates/base-requirements.jinja +++ b/tests/test-templates/super/templates/base-requirements.jinja @@ -1,4 +1,4 @@ -pip==19.2.3 +pip {% if cookiecutter.command_line_interface|lower == 'click' -%} {% include 'click-requirements.jinja' %}{% endif %} {%- block dev_dependencies %} diff --git a/tests/test-templates/super/templates/click-requirements.jinja b/tests/test-templates/super/templates/click-requirements.jinja index 8e1cde652..4d441badc 100644 --- a/tests/test-templates/super/templates/click-requirements.jinja +++ b/tests/test-templates/super/templates/click-requirements.jinja @@ -1 +1 @@ -Click==7.0 \ No newline at end of file +Click \ No newline at end of file diff --git a/tests/test-templates/super/templates/pytest-requirements.jinja b/tests/test-templates/super/templates/pytest-requirements.jinja index 18a0e4267..55b033e90 100644 --- a/tests/test-templates/super/templates/pytest-requirements.jinja +++ b/tests/test-templates/super/templates/pytest-requirements.jinja @@ -1 +1 @@ -pytest==4.6.5 \ No newline at end of file +pytest \ No newline at end of file