diff --git a/source/tutorials/managing-dependencies.rst b/source/tutorials/managing-dependencies.rst index 2d3ae1c146..3a512568b6 100644 --- a/source/tutorials/managing-dependencies.rst +++ b/source/tutorials/managing-dependencies.rst @@ -21,8 +21,35 @@ applicable to the development and deployment of network services (including web applications), but is also very well suited to managing development and testing environments for any kind of project. -.. Note:: This guide is written for Python 3, however, these instructions - should also work on Python 2.7. +Developers of Python libraries, or of applications that support distribution +as Python libraries, should also consider the +`poetry `_ project as an alternative dependency +management solution. + + +Recommendation caveats (as of April 2020) +----------------------------------------- + +While this tutorial covers the ``pipenv`` project as a tool that focuses +primarily on the needs of Python application development rather than Python +library development, the project itself is currently working through several +`process and maintenance issues `_ +that are preventing bug fixes and new features from being published (with the +entirety of 2019 passing without a new release). + +This means that in the near term, ``pipenv`` still suffers from several quirks +and performance problems without a clear timeline for resolution of those isses. + +While this remains the case, project maintainers are likely to want to +investigate :ref:`other-dependency-management-tools` for use instead of, or +together with, ``pipenv``. + +Assuming the April 2020 ``pipenv`` release goes ahead as planned, and the +release after that also remains on track, then this caveat on the tutorial will +be removed. If those releases *don't* remain on track, then the tutorial itself +will be removed, and replaced with a discussion page on the available dependency +management options. + Installing Pipenv ----------------- @@ -143,18 +170,24 @@ they (and their dependencies) can be added to your ``pipenv`` environment with ``pipenv install -e `` (e.g. ``pipenv install -e .`` or ``pipenv install -e src``). + +.. _other-dependency-management-tools: + +Other Tools for Application Dependency Management +------------------------------------------------- + If you find this particular approach to managing application dependencies isn't working well for you or your use case, you may want to explore these other tools and techniques to see if one of them is a better fit: -* `pip-tools `_ to build your own - custom workflow from lower level pieces like ``pip-compile`` and ``pip-sync`` -* `hatch `_ for opinionated coverage of even - more steps in the project management workflow (such as incrementing versions, - tagging releases, and creating new skeleton projects from project templates) -* `poetry `_ for a tool comparable in scope - to `pipenv` that focuses more directly on use cases where the repository being +* `poetry `__ for a tool comparable in scope + to ``pipenv`` that focuses more directly on use cases where the repository being managed is structured as a Python project with a valid ``pyproject.toml`` file (by contrast, ``pipenv`` explicitly avoids making the assumption that the application being worked on that's depending on components from PyPI will itself support distribution as a ``pip``-installable Python package). +* `hatch `_ for opinionated coverage of even + more steps in the project management workflow (such as incrementing versions, + tagging releases, and creating new skeleton projects from project templates) +* `pip-tools `_ to build your own + custom workflow from lower level pieces like ``pip-compile`` and ``pip-sync`` diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 3364ea9885..daaea8f6d2 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -360,4 +360,4 @@ some things you can do: and `poetry`_. .. _hatch: https://github.com/ofek/hatch -.. _poetry: https://github.com/sdispater/poetry +.. _poetry: https://github.com/python-poetry/poetry