From fb549811b5367dc689944fe58777f90d21572a78 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Fri, 4 Mar 2022 08:16:34 +0000 Subject: [PATCH 1/2] Update the "Application dependency management" recommendations This is a more detailed recommendation that breaks up the recommendation into multiple parts, to reflect that multiple tools need to be used in workflows today to maximise compatibility with existing platforms. It also recommends that deployed applications be isolated from the system packages, as was implied but not explicitly noted. The move away from Pipenv as the primary recommendation is a reflection of the change that application development workflows have a greater diversity in mature tooling available for them. Co-authored-by: Brian Rutledge --- source/guides/tool-recommendations.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/source/guides/tool-recommendations.rst b/source/guides/tool-recommendations.rst index 54acc1e33c..c6ac32d742 100644 --- a/source/guides/tool-recommendations.rst +++ b/source/guides/tool-recommendations.rst @@ -11,17 +11,18 @@ what tools are currently recommended, then here it is. Application dependency management ================================= -Use :ref:`pipenv` to manage library dependencies when developing Python -applications. See :doc:`../tutorials/managing-dependencies` for more details -on using ``pipenv``. +* Use :ref:`pip` in a `secure manner`_ to install a Python application and its + dependencies during deployment. -When ``pipenv`` does not meet your use case, consider other tools like: - -* :ref:`pip` +* Use :ref:`virtualenv`, or :doc:`venv ` to isolate application + specific dependencies from a shared Python installation. [4]_ -* `pip-tools `_ +* Use `pip-tools`_, :ref:`pipenv`, or `poetry`_ to generate the fully-specified + application-specific dependencies, when developing Python applications. -* `Poetry `_ +.. _secure manner: https://pip.pypa.io/en/latest/topics/secure-installs/ +.. _pip-tools: https://github.com/jazzband/pip-tools +.. _Poetry: https://python-poetry.org/ Installation tool recommendations ================================= From 8c8550defaee4551525b733ba8f096a51f4714df Mon Sep 17 00:00:00 2001 From: Brian Rutledge Date: Thu, 10 Mar 2022 06:34:04 -0500 Subject: [PATCH 2/2] Normalize commas and hyphens --- source/guides/tool-recommendations.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/guides/tool-recommendations.rst b/source/guides/tool-recommendations.rst index c6ac32d742..21030cab70 100644 --- a/source/guides/tool-recommendations.rst +++ b/source/guides/tool-recommendations.rst @@ -14,8 +14,8 @@ Application dependency management * Use :ref:`pip` in a `secure manner`_ to install a Python application and its dependencies during deployment. -* Use :ref:`virtualenv`, or :doc:`venv ` to isolate application - specific dependencies from a shared Python installation. [4]_ +* Use :ref:`virtualenv` or :doc:`venv ` to isolate + application-specific dependencies from a shared Python installation. [4]_ * Use `pip-tools`_, :ref:`pipenv`, or `poetry`_ to generate the fully-specified application-specific dependencies, when developing Python applications. @@ -32,8 +32,8 @@ Installation tool recommendations is installed, you may need to also install :ref:`wheel` to get the benefit of wheel caching. [3]_ -* Use :ref:`virtualenv`, or :doc:`venv ` to isolate application - specific dependencies from a shared Python installation. [4]_ +* Use :ref:`virtualenv` or :doc:`venv ` to isolate + application-specific dependencies from a shared Python installation. [4]_ * If you're looking for management of fully integrated cross-platform software stacks, consider: