Commit Graph

214 Commits

Author SHA1 Message Date
browniebroke
c3f6df2eae Update tox from 3.11.0 to 3.11.1 2019-05-16 12:00:38 +01:00
pyup-bot
78d81d6f87 Update tox from 3.10.0 to 3.11.0 2019-05-15 10:45:37 -07:00
Bruno Alla
a245651f66 Increase test parallelism
- Split out tests and add markers to control where they are run in Travis
- Run each marker on a separate Travis task
- Install pytest-xdist to increase parallelism inside each worker
- Set xdist parallelism to 3
2019-05-15 12:37:17 +01:00
pyup-bot
dac16d6c40 Update tox from 3.9.0 to 3.10.0 2019-05-13 16:15:56 -07:00
browniebroke
bad8e972c5 Update pytest from 4.4.2 to 4.5.0 2019-05-12 12:00:29 +01:00
browniebroke
642521dc5e Update pytest from 4.4.1 to 4.4.2 2019-05-09 12:00:32 +01:00
pyup-bot
a1692ef541 Update tox from 3.8.6 to 3.9.0 2019-04-17 19:13:06 -07:00
browniebroke
9137bb561f Update pytest from 4.4.0 to 4.4.1 2019-04-16 12:00:29 +01:00
browniebroke
749920e81c Update pytest_cases from 1.6.1 to 1.6.2 2019-04-06 13:00:29 +02:00
Bruno Alla
1534cea9d3
Merge pull request #2020 from pydanny/pyup-update-pytest_cases-1.5.1-to-1.6.1
Update pytest_cases to 1.6.1
2019-04-03 18:52:29 +01:00
pyup-bot
c80bcb8932 Update pytest_cases from 1.5.1 to 1.6.1 2019-04-03 10:24:15 -07:00
pyup-bot
0aafad16dd Update tox from 3.8.4 to 3.8.6 2019-04-03 10:24:10 -07:00
pyup-bot
96934ab3e4 Update tox from 3.8.3 to 3.8.4 2019-04-01 20:07:42 -07:00
pyup-bot
e55d76529b Update pytest from 4.3.1 to 4.4.0 2019-04-01 00:47:56 -07:00
Bruno Alla
4e70a4b55a
Test all possible template combinations (#1993)
## Description

Fixes #591.

## Rationale

We are currently not testing many combinations, we run Flake8 on the generated project with default options, but that rarely catch any issues.

## Use case(s) / visualization(s)

Catch problems with invalid combinations, for instance, it fails due to Whitenoise breaking flake8 with `django-compressor` because `STATIC_URL` was undefined here:

b91c70d755/%7B%7Bcookiecutter.project_slug%7D%7D/config/settings/production.py (L185)
2019-04-01 08:47:46 +01:00
pyup-bot
da51b7a364 Update tox from 3.8.1 to 3.8.3 2019-03-29 09:58:15 -07:00
pyup-bot
c33417aa42 Update tox from 3.8.0 to 3.8.1 2019-03-28 18:52:24 -07:00
pyup-bot
7e60f1259a Update tox from 3.6.1 to 3.8.0 2019-03-27 14:15:44 -07:00
pyup-bot
aee746b5a2 Update pyyaml from 3.13 to 5.1 2019-03-13 10:40:27 -07:00
pyup-bot
2edd51aa77 Update pytest from 4.3.0 to 4.3.1 2019-03-13 05:37:54 -04:00
btknu
6e72169ffe Add missing script key to Travis CI config (#1950)
* Add failing test for travis.yml

I see three options to test travis.yml :

1. Testing that the YAML contains relevant value. Least useful and least
reliable, but simplest to implement.

2. Testing that the YAML is valid TravisCI YAML. Unfortunately this is
difficult / impossible. Doing 'travis lint' would succeed, this command
does not check for 'script' key presence and wouldn't be useful for us.

We could use 'travis-build' to verify that the YAML can be converted to
a worker config, but as of now 'travis-build' doesn't work out of the
box.

There is a new tool for validating travis YAML files 'travis-yml', but
as of now it's a ruby-only library and it's still a work in progress.

3. Running Travis CI task based on the generated YAML. This seems the
best approach, however since cookiecutter-django itself uses Travis CI,
that would require running Travis CI from within Travis CI.

Scheduling Travis CI job without a github push still requires a public
github repo, which is something that we can't generate on demand.

Given that I'm opting to use approach 1.

* Adds missing config to generated .travis.yml

The keys added are as follows:

1. 'script'

Required by Travis, cookiecutter-django used to provide it until it has
been removed together with hitch.

I'm assuming hitch has been replaced with pytest, I'm setting pytest as
the new value for the 'script' key.

2. 'install'

Not required by Travis, but necessary in our case; installs test
libraries, mostly pytest.

As of now this points to 'local.txt' requirements file. There used to be
a separate 'test.txt' requirements file but it has been decided to merge
it with 'local.txt', see discussion in
https://github.com/pydanny/cookiecutter-django/pull/1557 .

* Update CONTRIBUTORS.rst
2019-03-05 22:10:45 -03:00
pyup.io bot
b09d840b54 Update flake8 from 3.7.5 to 3.7.6 (#1943) 2019-02-20 20:10:52 +03:00
pyup.io bot
407ccb64ba Update pytest from 4.2.1 to 4.3.0 (#1944) 2019-02-20 20:10:41 +03:00
pyup-bot
0f8275911b Update pytest from 4.2.0 to 4.2.1 2019-02-16 03:34:22 -08:00
pyup-bot
ce23247401 Update flake8 from 3.7.4 to 3.7.5 2019-02-04 18:46:33 -08:00
pyup-bot
57c18bb2a0 Update flake8 from 3.7.3 to 3.7.4 2019-02-01 06:53:35 -08:00
Bruno Alla
11e7adfbd4
Merge pull request #1920 from pydanny/pyup-update-flake8-3.6.0-to-3.7.3
Update flake8 to 3.7.3
2019-01-31 16:52:30 +01:00
pyup-bot
12777d06c9 Update flake8 from 3.6.0 to 3.7.3 2019-01-31 05:23:22 -08:00
pyup-bot
75837bac65 Update pytest from 4.1.1 to 4.2.0 2019-01-30 16:40:22 -08:00
pyup-bot
922d3824c0 Update pytest from 4.1.0 to 4.1.1 2019-01-12 23:34:48 -08:00
pyup.io bot
2bf8f286e4 Update pytest to 4.1.0 (#1900)
* Update pytest from 4.0.2 to 4.1.0

* Update pytest from 4.0.2 to 4.1.0
2019-01-07 02:04:14 +03:00
pyup-bot
30fb2d3db7 Update tox from 3.6.0 to 3.6.1 2018-12-24 17:29:10 -08:00
Bruno Alla
5dc778368b
Merge branch 'master' into pyup-update-tox-3.5.3-to-3.6.0 2018-12-17 14:16:25 +00:00
pyup-bot
f083bc12b7 Update pytest from 4.0.1 to 4.0.2 2018-12-14 18:35:55 -08:00
pyup-bot
2d5136be1e Update tox from 3.5.3 to 3.6.0 2018-12-13 18:54:49 -08:00
pyup-bot
7d13fb0293 Update pytest from 4.0.0 to 4.0.1 2018-11-24 09:32:06 -08:00
pyup.io bot
f439e935a8 Update pytest to 4.0.0 (#1867)
* Update pytest from 3.10.1 to 4.0.0

* Update pytest from 3.10.1 to 4.0.0
2018-11-17 09:59:09 +00:00
pyup-bot
45d8d4a1c6 Update pytest from 3.10.0 to 3.10.1 2018-11-11 10:12:42 -08:00
pyup.io bot
36075be6dc Update pytest to 3.10.0 (#1848)
* Update pytest from 3.9.3 to 3.10.0

* Update pytest from 3.9.3 to 3.10.0
2018-11-05 10:31:50 +03:00
pyup.io bot
cee7516dc4 Update tox from 3.5.2 to 3.5.3 (#1843) 2018-10-29 22:15:43 +03:00
pyup.io bot
6c24de9c0f Update pytest to 3.9.3 (#1842)
* Update pytest from 3.9.2 to 3.9.3

* Update pytest from 3.9.2 to 3.9.3
2018-10-28 11:35:57 +03:00
pyup.io bot
ef2fc781f8 Update flake8 to 3.6.0 (#1839)
* Update flake8 from 3.5.0 to 3.6.0

* Update flake8 from 3.5.0 to 3.6.0
2018-10-24 13:36:48 +03:00
pyup.io bot
649ca872d2 Update pytest to 3.9.2 (#1837)
* Update pytest from 3.9.1 to 3.9.2

* Update pytest from 3.9.1 to 3.9.2
2018-10-23 20:23:23 +03:00
pyup-bot
2ca14c05d0 Update pytest from 3.8.2 to 3.9.1 2018-10-17 07:05:54 -05:00
Bruno Alla
db2e5c8464
Merge branch 'master' into pyup-update-tox-3.4.0-to-3.5.2 2018-10-10 18:15:58 +01:00
pyup-bot
dd71966ca1 Update tox from 3.4.0 to 3.5.2 2018-10-09 13:52:37 -07:00
pyup-bot
57f6b8dac2 Update pytest from 3.8.1 to 3.8.2 2018-10-03 07:09:28 -05:00
pyup.io bot
b626fac5c6 Update pytest to 3.8.1 (#1813)
* Update pytest from 3.8.0 to 3.8.1

* Update pytest from 3.8.0 to 3.8.1
2018-09-26 06:40:59 +00:00
pyup.io bot
c7055f38b8 Update tox from 3.2.1 to 3.4.0 (#1811) 2018-09-21 16:02:29 +00:00
pyup-bot
cd8bab5fdc Update pytest from 3.7.4 to 3.8.0 2018-09-06 18:39:20 -07:00
pyup-bot
20931dfb6f Update pytest from 3.7.3 to 3.7.4 2018-08-30 03:17:42 -07:00
pyup.io bot
967bdb89c3 Update pytest to 3.7.3 (#1764)
* Update pytest from 3.7.2 to 3.7.3

* Update pytest from 3.7.2 to 3.7.3
2018-08-27 19:56:08 +00:00
pyup.io bot
eb8e2a33c8 Update pytest to 3.7.2 (#1755)
This PR updates [pytest](https://pypi.org/project/pytest) from **3.7.1** to **3.7.2**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.7.2
   ```
   =========================

Bug Fixes
---------

- `3671 &lt;https://github.com/pytest-dev/pytest/issues/3671&gt;`_: Fix ``filterwarnings`` not being registered as a builtin mark.


- `3768 &lt;https://github.com/pytest-dev/pytest/issues/3768&gt;`_, `3789 &lt;https://github.com/pytest-dev/pytest/issues/3789&gt;`_: Fix test collection from packages mixed with normal directories.


- `3771 &lt;https://github.com/pytest-dev/pytest/issues/3771&gt;`_: Fix infinite recursion during collection if a ``pytest_ignore_collect`` hook returns ``False`` instead of ``None``.


- `3774 &lt;https://github.com/pytest-dev/pytest/issues/3774&gt;`_: Fix bug where decorated fixtures would lose functionality (for example ``mock.patch``).


- `3775 &lt;https://github.com/pytest-dev/pytest/issues/3775&gt;`_: Fix bug where importing modules or other objects with prefix ``pytest_`` prefix would raise a ``PluginValidationError``.


- `3788 &lt;https://github.com/pytest-dev/pytest/issues/3788&gt;`_: Fix ``AttributeError`` during teardown of ``TestCase`` subclasses which raise an exception during ``__init__``.


- `3804 &lt;https://github.com/pytest-dev/pytest/issues/3804&gt;`_: Fix traceback reporting for exceptions with ``__cause__`` cycles.



Improved Documentation
----------------------

- `3746 &lt;https://github.com/pytest-dev/pytest/issues/3746&gt;`_: Add documentation for ``metafunc.config`` that had been mistakenly hidden.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest
  - Changelog: https://pyup.io/changelogs/pytest/
  - Homepage: http://pytest.org
</details>
2018-08-19 13:19:11 +08:00
pyup.io bot
d726202cae Update tox from 3.1.3 to 3.2.1 (#1744) 2018-08-13 16:02:24 +03:00
pyup-bot
7401be4de0 Update tox from 3.1.2 to 3.1.3 2018-08-04 03:40:02 -05:00
pyup-bot
0aa761ef45 Update pytest from 3.6.4 to 3.7.1 2018-08-03 02:04:59 -07:00
pyup.io bot
6c2a130e3d Update pytest to 3.6.4 (#1731)
* Update pytest from 3.6.3 to 3.6.4

* Update pytest from 3.6.3 to 3.6.4
2018-07-29 14:12:41 +03:00
pyup.io bot
e6d33da298 Update tox from 3.1.1 to 3.1.2 (#1718) 2018-07-13 12:05:02 +08:00
pyup.io bot
494492b1db Update tox to 3.1.1 (#1715)
This PR updates [tox](https://pypi.org/project/tox) from **3.0.0** to **3.1.1**.



<details>
  <summary>Changelog</summary>
  
  
   ### 3.1.0
   ```
   ------------------

Bugfixes
^^^^^^^^

- Add ``ignore_basepython_conflict``, which determines whether conflicting
  ``basepython`` settings for environments containing default factors, such as
  ``py27`` or ``django18-py35``, should be ignored or result in warnings. This
  was a common source of misconfiguration and is rarely, if ever, desirable from
  a user perspective - by :user:`stephenfin` (`477 &lt;https://github.com/tox-dev/tox/issues/477&gt;`_)
- Fix bug with incorrectly defactorized dependencies (deps passed to pip were not de-factorized) - by :user:`bartsanchez` (`706 &lt;https://github.com/tox-dev/tox/issues/706&gt;`_)


Features
^^^^^^^^

- Add support for multiple PyPy versions using default factors. This allows you
  to use, for example, ``pypy27`` knowing that the correct intepreter will be
  used by default - by :user:`stephenfin` (`19 &lt;https://github.com/tox-dev/tox/issues/19&gt;`_)
- Add support to explicitly invoke interpreter directives for environments with
  long path lengths. In the event that ``tox`` cannot invoke scripts with a
  system-limited shebang (e.x. a Linux host running a Jenkins Pipeline), a user
  can set the environment variable ``TOX_LIMITED_SHEBANG`` to workaround the
  system&#39;s limitation (e.x. ``export TOX_LIMITED_SHEBANG=1``) - by :user:`jdknight` (`794 &lt;https://github.com/tox-dev/tox/issues/794&gt;`_)
- introduce a constants module to be used internally and as experimental API - by :user:`obestwalter` (`798 &lt;https://github.com/tox-dev/tox/issues/798&gt;`_)
- Make ``py2`` and ``py3`` aliases also resolve via ``py`` on windows by :user:`asottile`. This enables the following things:
  ``tox -e py2`` and ``tox -e py3`` work on windows (they already work on posix); and setting ``basepython=python2`` or ``basepython=python3`` now works on windows. (`856 &lt;https://github.com/tox-dev/tox/issues/856&gt;`_)
- Replace the internal version parsing logic from the not well tested `PEP-386 &lt;https://www.python.org/dev/peps/pep-0386/&gt;`_ parser for the more general `PEP-440 &lt;https://www.python.org/dev/peps/pep-0440/&gt;`_. `packaging &gt;= 17.1 &lt;https://pypi.org/project/packaging/&gt;`_ is now an install dependency by :user:`gaborbernat`. (`860 &lt;https://github.com/tox-dev/tox/issues/860&gt;`_)


Documentation
^^^^^^^^^^^^^

- extend the plugin documentation and make lot of small fixes and improvements - by :user:`obestwalter` (`797 &lt;https://github.com/tox-dev/tox/issues/797&gt;`_)
- tidy up tests - remove unused fixtures, update old cinstructs, etc. - by :user:`obestwalter` (`799 &lt;https://github.com/tox-dev/tox/issues/799&gt;`_)
- Various improvements to documentation: open browser once documentation generation is done, show Github/Travis info on documentation page, remove duplicate header for changelog, generate unreleased news as DRAFT on top of changelog, make the changelog page more compact and readable (width up to 1280px) by :user:`gaborbernat` (`859 &lt;https://github.com/tox-dev/tox/issues/859&gt;`_)


Miscellaneous
^^^^^^^^^^^^^

- filter out unwanted files in package - by :user:`obestwalter` (`754 &lt;https://github.com/tox-dev/tox/issues/754&gt;`_)
- make the already existing implicit API explicit - by :user:`obestwalter` (`800 &lt;https://github.com/tox-dev/tox/issues/800&gt;`_)
- improve tox quickstart and corresponding tests - by :user:`obestwalter` (`801 &lt;https://github.com/tox-dev/tox/issues/801&gt;`_)
- tweak codecov settings via .codecov.yml - by :user:`obestwalter` (`802 &lt;https://github.com/tox-dev/tox/issues/802&gt;`_)
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/tox
  - Changelog: https://pyup.io/changelogs/tox/
  - Docs: https://tox.readthedocs.org/
</details>
2018-07-10 10:27:59 +08:00
pyup.io bot
f92acfacc4 Update pytest to 3.6.3 (#1709)
* Update pytest from 3.6.2 to 3.6.3

* Update pytest from 3.6.2 to 3.6.3
2018-07-05 17:41:25 +03:00
pyup.io bot
75a0699848 Update pytest to 3.6.2 (#1690)
This PR updates [pytest](https://pypi.org/project/pytest) from **3.6.1** to **3.6.2**.



*The bot wasn't able to find a changelog for this release. [Got an idea?](https://github.com/pyupio/changelogs/issues/new)*

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/pytest
  - Changelog: https://pyup.io/changelogs/pytest/
  - Repo: https://github.com/pytest-dev/pytest/issues
  - Homepage: http://pytest.org
</details>
2018-06-21 11:00:47 +08:00
pyup.io bot
0ff3236ce4 Update pytest to 3.6.1 (#1675)
* Update pytest from 3.6.0 to 3.6.1

* Update pytest from 3.6.0 to 3.6.1
2018-06-06 09:38:28 +03:00
pyup.io bot
39d897169c Update pytest to 3.6.0 (#1662)
* Update pytest from 3.5.1 to 3.6.0

* Update pytest from 3.5.1 to 3.6.0
2018-05-25 10:31:33 +03:00
Nikita P. Shupeyko
5e2a907c35 Remove pycodestyle and pyflakes as implicit dependencies from flakes8
Closes  #1606.
2018-05-05 12:42:10 +03:00
pyup-bot
1ed61dafc2 Update pytest from 3.5.0 to 3.5.1 2018-04-25 03:24:50 -07:00
pyup.io bot
7465c3a8a8 Update tox from 2.9.1 to 3.0.0 (#1591) 2018-04-03 09:51:17 +08:00
pyup.io bot
3264e77696 Update pytest to 3.5.0 (#1580)
* Update pytest from 3.4.2 to 3.5.0

* Update pytest from 3.4.2 to 3.5.0
2018-03-25 15:30:58 +03:00
Nikita P. Shupeyko
6574abb141 Clean up requirements.txt 2018-03-07 17:06:29 +03:00
Nikita Shupeyko
d2791b019a
Prettify and re-order settings entries (#1550)
* Prettify and re-order settings entries

* Use old-style .format() for the time being

* Remove redundant linebreaks at the settings files' beginning

* Fix E303 too many blank lines

* Remove a redundant linebreak from requirements.txt

* Some linebreake juggling in config.settings.base
2018-03-06 14:28:25 +03:00
pyup.io bot
5a20dce431 Update pytest from 3.4.1 to 3.4.2 (#1549) 2018-03-06 11:22:44 +03:00
Nikita P. Shupeyko
d2964faa54 Re-order requirements.txt 2018-03-05 14:01:45 +03:00
Nikita P. Shupeyko
8dd9e691b1 Group requirements from requirements.txt 2018-03-04 17:52:48 +03:00
pyup.io bot
a252830c31 Update pytest from 3.3.2 to 3.4.1 (#1523) 2018-02-22 18:03:25 +03:00
pyup.io bot
44e90477a5 Update pytest from 3.3.1 to 3.3.2 (#1433) 2018-01-05 19:20:00 +03:00
pyup.io bot
9a978ef0fe Update pytest from 3.2.5 to 3.3.1 (#1399) 2017-12-13 15:25:22 +03:00
pyup.io bot
2e672856be Update pytest from 3.2.3 to 3.2.5 (#1390) 2017-11-20 13:10:53 +03:00
pyup.io bot
26300237c9 Update flake8 to 3.5.0 (#1370)
* Update flake8 from 3.4.1 to 3.5.0

* Update flake8 from 3.4.1 to 3.5.0
2017-10-24 21:13:10 +03:00
pyup.io bot
7e5dde149f Update pytest-cookies from 0.2.0 to 0.3.0 (#1360) 2017-10-16 18:28:51 +03:00
pyup-bot
6364da8b8a Update cookiecutter from 1.5.1 to 1.6.0 2017-10-15 12:37:16 -07:00
pyup.io bot
6f51b05b6e Update pytest from 3.2.2 to 3.2.3 (#1354) 2017-10-06 00:27:09 +03:00
pyup.io bot
dea64ad60a Update tox from 2.9.0 to 2.9.1 (#1349) 2017-09-30 15:46:19 +03:00
pyup-bot
7fba13f0c0 Update tox from 2.8.2 to 2.9.0 2017-09-29 10:14:41 -07:00
Rafael Laverde
1d55a608c0 Change pep 8 for pycodestyle in docs and project requirements (#1332)
* Change pep8 for pycodestyle in the docs.

* Change pep8 for pycodestyle in project requirements.
2017-09-17 21:56:15 +03:00
pyup.io bot
336c1491e1 Update tox from 2.8.1 to 2.8.2 (#1328) 2017-09-11 09:55:42 +03:00
pyup.io bot
7223aacb2c Update pytest from 3.2.1 to 3.2.2 (#1326) 2017-09-08 09:53:48 +03:00
pyup.io bot
7aa99c6ae3 Update tox from 2.8.0 to 2.8.1 (#1318) 2017-09-04 20:24:44 +03:00
pyup.io bot
2fc3bfd442 Update tox from 2.7.0 to 2.8.0 (#1313) 2017-09-02 09:06:36 +03:00
pyup-bot
16f6677de8 Update pytest from 3.2.0 to 3.2.1 2017-08-09 20:03:27 -07:00
pyup.io bot
c90480b6df Update binaryornot from 0.4.3 to 0.4.4 (#1274) 2017-08-03 19:29:01 +03:00
pyup.io bot
0e6b5f3c66 Update pyflakes from 1.5.0 to 1.6.0 (#1275) 2017-08-03 19:28:48 +03:00
pyup.io bot
c5ed6173b2 Update pytest from 3.1.3 to 3.2.0 (#1271) 2017-08-02 08:15:51 +03:00
pyup.io bot
993aac6b95 Update flake8 to 3.4.1 (#1254)
* Update flake8 from 3.4.0 to 3.4.1

* Update flake8 from 3.4.0 to 3.4.1
2017-07-29 05:57:27 +03:00
pyup.io bot
e7ae16eeb6 Update flake8 to 3.4.0 (#1253)
* Update flake8 from 3.3.0 to 3.4.0

* Update flake8 from 3.3.0 to 3.4.0
2017-07-28 11:16:01 +03:00
pyup.io bot
43b8e96cd3 Update pytest from 3.1.2 to 3.1.3 (#1218) 2017-07-05 10:30:24 +03:00
pyup.io bot
d34aa71038 Update pytest from 3.1.1 to 3.1.2 (#1190) 2017-06-10 13:10:46 +03:00
pyup-bot
847a5fdbc6 Update sh from 1.12.13 to 1.12.14 2017-06-06 20:19:10 -07:00
pyup.io bot
85782f72af Update pytest from 3.1.0 to 3.1.1 (#1183) 2017-05-31 21:54:41 +03:00
pyup.io bot
cb46ed4584 Update pytest from 3.0.7 to 3.1.0 (#1178) 2017-05-26 23:22:16 +03:00
pyup.io bot
f7ca4d712c Update tox from 2.6.0 to 2.7.0 (#1113) 2017-04-13 10:54:18 -07:00
pyup.io bot
667d4df01d Update binaryornot from 0.4.2 to 0.4.3 (#1120) 2017-04-12 13:55:42 -07:00