Upped version of requests and cookiecutter

Fixes #2160
This commit is contained in:
Gina Häußge committed 2017-10-20 20:06:49 +02:00
1 parent 2e134ba8b0
commit 25e05418d8
2 files changed
+6 -4

No files matched your search

+4 -2
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::
+2 -2
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"
]
)