Upped version of requests and cookiecutter

Fixes #2160
This commit is contained in:
Gina Häußge 2017-10-20 19:59:05 +02:00
parent 2e134ba8b0
commit 25e05418d8
2 changed files with 6 additions and 4 deletions

View file

@ -138,9 +138,11 @@ best way possible, meaning we want to make our plugin a fully installable python
install directly via `OctoPrint's built-in Plugin Manager <https://github.com/foosel/OctoPrint/wiki/Plugin:-Plugin-Manager>`_
or alternatively manually utilizing Python's standard package manager ``pip`` directly.
So let's begin. We'll use the `cookiecutter <https://github.com/audreyr/cookiecutter>`_ template for OctoPrint plugins here. This should already be installed if you used the `plugins` extra while installing OctoPrint. However, you may install it with::
So let's begin. We'll use the `cookiecutter <https://github.com/audreyr/cookiecutter>`_ template for OctoPrint plugins
here. This should already be installed if you used the ``plugins`` extra while installing OctoPrint. However,
you may install it with::
(venv) $ pip install "cookiecutter>=1.4,<1.5"
(venv) $ pip install "cookiecutter>=1.4,<1.7"
Then we can use the ``octoprint dev plugin:new`` command [#f1]_ to generate a new OctoPrint plugin skeleton for us::

View file

@ -38,7 +38,7 @@ INSTALL_REQUIRES = [
"pylru>=1.0.9,<1.1",
"rsa>=3.2,<3.3",
"pkginfo>=1.2.1,<1.3",
"requests>=2.7,<2.8",
"requests>=2.18.4,<3",
"semantic_version>=2.4.2,<2.5",
"psutil>=3.2.1,<3.3",
"Click>=6.2,<6.3",
@ -78,7 +78,7 @@ EXTRA_REQUIRES = dict(
# Dependencies for developing OctoPrint plugins
plugins=[
"cookiecutter>=1.4,<1.5"
"cookiecutter>=1.4,<1.7"
]
)