Skip to content

Order the requirements.txt file#673

Merged
bproffitt merged 1 commit intoapache:mainfrom
jbampton:order-requirments-txt
Mar 18, 2026
Merged

Order the requirements.txt file#673
bproffitt merged 1 commit intoapache:mainfrom
jbampton:order-requirments-txt

Conversation

@jbampton
Copy link
Copy Markdown
Member

It is not mandatory to put your requirements.txt file in alphabetical order, as pip does not care about the order of items.

However, sorting it alphabetically is a widely recommended best practice because it makes the file easier for humans to read, manage, and check for specific libraries or duplicates.

It is not mandatory to put your requirements.txt file in alphabetical order, as pip does not care about the order of items.

However, sorting it alphabetically is a widely recommended best practice because it makes the file easier for humans to read, manage, and check for specific libraries or duplicates.
@bproffitt bproffitt merged commit f5b2bdb into apache:main Mar 18, 2026
@jbampton jbampton deleted the order-requirments-txt branch March 18, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants