Skip to content

Commit 18f0768

Browse files
committed
🔧 requirements.in contains the direct dependencies
Now `requirements.in` contains the project's direct dependencies (i.e., top-level), whereas the generated `requirements.txt` includes all dependencies (direct + indirect). To add/update dependencies, use `requirements.in` as the source to build `requirements.txt`: ```shell # Edit requirements.in # Remove all installed dependencies python -m pip freeze --exclude-editable | xargs python -m pip uninstall -y # Install direct dependencies (and their dependencies) python -m pip install -r requirements.in # Pin all dependencies in requirements.txt # ie. List all the dependencies (direct and indirect) in # requirements.txt with their version number python -m pip freeze > requirements.txt ```` # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Wed Dec 25 17:21:40 2024 +0100 # # interactive rebase in progress; onto 04db1c4 # Last commands done (2 commands done): # edit 1ced63a ⬆️ Upgrade project dependencies # edit d10ed83 🔧 Add the list of direct project dependencies # No commands remaining. # You are currently splitting a commit while rebasing branch 'config/upgrade_dependencies' on '04db1c4'. # # Changes to be committed: # new file: requirements.in # # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Wed Dec 25 17:21:40 2024 +0100 # # interactive rebase in progress; onto 04db1c4 # Last commands done (2 commands done): # edit 1ced63a ⬆️ Upgrade project dependencies # edit d10ed83 🔧 Add the list of direct project dependencies # No commands remaining. # You are currently splitting a commit while rebasing branch 'config/upgrade_dependencies' on '04db1c4'. # # Changes to be committed: # new file: requirements.in #
1 parent ef12993 commit 18f0768

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

requirements.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
certifi==2024.7.4
2+
mkdocs==1.6.1
3+
mkdocs-htmlproofer-plugin==1.3.0
4+
mkdocs-material==9.5.49
5+
mkdocs-unused-files==0.2.0

0 commit comments

Comments
 (0)