From 92ad6e1ec5dba9d3ae24561542bd3b781e4f8994 Mon Sep 17 00:00:00 2001 From: CloudGPU <129925370+cloudgpuapp@users.noreply.github.com> Date: Tue, 24 Nov 2026 14:58:19 +0800 Subject: [PATCH] Clarify the transition from Pipenv to packaging an application --- source/tutorials/managing-dependencies.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/tutorials/managing-dependencies.rst b/source/tutorials/managing-dependencies.rst index 637d38e92..c3ce19719 100644 --- a/source/tutorials/managing-dependencies.rst +++ b/source/tutorials/managing-dependencies.rst @@ -145,6 +145,13 @@ development environments on a collaborative Python project! ✨ 🍰 ✨ If you're interested in creating and distributing your own Python packages, see the :doc:`packaging tutorial `. +You can follow the packaging tutorial on its own. If you're packaging an +application from this tutorial, keep ``Pipfile.lock`` for recreating the +application environment. Declare the dependencies that consumers of your +package need in :ref:`the project's package metadata `. +Hatchling reads that metadata from ``pyproject.toml``. It does not use the +Pipenv lock file to populate the wheel's dependency metadata. + Note that when your application includes definitions of Python source packages, they (and their dependencies) can be added to your ``pipenv`` environment with ``pipenv install -e `` (e.g.