-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipfile sections are sorted before adding packages with extras #6171
Comments
Is this a bug report or a feature request? |
I believe its a bug report with the |
It's a bug report, I already have a (currently failing) test case to validate it. I also could try and tackle it |
@aradkdj @matteius @oz123 I had a dive on this issue and encountered several problems.
def _sort_category(self, category):
# toml tables won't maintain sorted dictionary order
# so construct the table in the order that we need
table = tomlkit.table()
for key, value in sorted(category.items()):
table.add(key, value)
return table
|
@Naofal-Helal thank you for your contribution fixing this issue. |
Bumps [pipenv](https://github.com/pypa/pipenv) from 2024.0.2 to 2024.0.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pypa/pipenv/releases">pipenv's releases</a>.</em></p> <blockquote> <h2>Release v2024.0.3</h2> <h2>What's Changed</h2> <ul> <li>Fix logging error by <a href="https://github.com/yosufali"><code>@yosufali</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6246">pypa/pipenv#6246</a></li> <li>Fix <a href="https://redirect.github.com/pypa/pipenv/issues/6171">#6171</a> by <a href="https://github.com/Naofal-Helal"><code>@Naofal-Helal</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6247">pypa/pipenv#6247</a></li> <li>potentially resolving issue 6205 by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6243">pypa/pipenv#6243</a></li> <li>refinements to make installing vcs from CLI work smoother by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6242">pypa/pipenv#6242</a></li> <li>Ignore resource warning by <a href="https://github.com/Naofal-Helal"><code>@Naofal-Helal</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6251">pypa/pipenv#6251</a></li> <li>Fix uninstall --all fails when venv is deleted by <a href="https://github.com/Naofal-Helal"><code>@Naofal-Helal</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6250">pypa/pipenv#6250</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/yosufali"><code>@yosufali</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6246">pypa/pipenv#6246</a></li> <li><a href="https://github.com/Naofal-Helal"><code>@Naofal-Helal</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6247">pypa/pipenv#6247</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pypa/pipenv/compare/v2024.0.2...v2024.0.3">https://github.com/pypa/pipenv/compare/v2024.0.2...v2024.0.3</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/pipenv/blob/main/CHANGELOG.md">pipenv's changelog</a>.</em></p> <blockquote> <h1>2024.0.3 (2024-09-22)</h1> <h1>Pipenv 2024.0.3 (2024-09-22)</h1> <h2>Bug Fixes</h2> <ul> <li>Disable <code>ResourceWarning</code> warning for temporary files that are cleaned on program exit. <code>[#6151](pypa/pipenv#6151) <https://github.com/pypa/pipenv/issues/6151></code>_</li> <li>Fixed package sorting when installing a package with extras. <code>[#6171](pypa/pipenv#6171) <https://github.com/pypa/pipenv/issues/6171></code>_</li> <li>Fixed <code>pipenv uninstall --all</code> failing when the virtual environment no longer exists. <code>[#6185](pypa/pipenv#6185) <https://github.com/pypa/pipenv/issues/6185></code>_</li> <li>Fix issue where installing a vcs dependency using pipenv CLI yielded the wrong Pipfile entry such that it could not lock. <code>[#6242](pypa/pipenv#6242) <https://github.com/pypa/pipenv/issues/6242></code>_</li> <li>Fix report that pipenv requires <code>packaging>=22</code> on some systems by setting it as a dependency. <code>[#6243](pypa/pipenv#6243) <https://github.com/pypa/pipenv/issues/6243></code>_</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/pipenv/commit/0b6b428bcd33e2ce855fdba83ec5f4280ec11e26"><code>0b6b428</code></a> Release v2024.0.3</li> <li><a href="https://github.com/pypa/pipenv/commit/88062cfb42e5dd13c11fb89505db63f12fa3ad52"><code>88062cf</code></a> Bumped version to 2024.0.3.</li> <li><a href="https://github.com/pypa/pipenv/commit/fbecd8e41aea687cc746e3ae5bf00abda005f5f2"><code>fbecd8e</code></a> Merge pull request <a href="https://redirect.github.com/pypa/pipenv/issues/6250">#6250</a> from Naofal-Helal/fix-uninstall</li> <li><a href="https://github.com/pypa/pipenv/commit/3cabf795f14842e65b5d6d5a26b38378867f4366"><code>3cabf79</code></a> Update environment.py</li> <li><a href="https://github.com/pypa/pipenv/commit/ff8bbe40545d81c002b63558a954d54ab53e58a9"><code>ff8bbe4</code></a> Update uninstall.py</li> <li><a href="https://github.com/pypa/pipenv/commit/cdc6499c789a19eda38b7f0c92c3e05de93e8090"><code>cdc6499</code></a> Update environment.py</li> <li><a href="https://github.com/pypa/pipenv/commit/d19aa93db0ddc3b812225f94d33da639a069a8cb"><code>d19aa93</code></a> Update environment.py</li> <li><a href="https://github.com/pypa/pipenv/commit/71b556047df7a2af7f6d378ae49812d4c078f4ed"><code>71b5560</code></a> Update uninstall.py</li> <li><a href="https://github.com/pypa/pipenv/commit/31edd0054e6041ccbc52bd9a3d717ce99df53aa2"><code>31edd00</code></a> Update environment.py</li> <li><a href="https://github.com/pypa/pipenv/commit/f7058e8bcd55f48576d5e08015152f2ec77bd460"><code>f7058e8</code></a> Merge pull request <a href="https://redirect.github.com/pypa/pipenv/issues/6251">#6251</a> from Naofal-Helal/resource-warn</li> <li>Additional commits viewable in <a href="https://github.com/pypa/pipenv/compare/v2024.0.2...v2024.0.3">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pipenv&package-manager=pip&previous-version=2024.0.2&new-version=2024.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the non-major-dependencies group with 2 updates: [pipenv](https://github.com/pypa/pipenv) and [mkdocs-material](https://github.com/squidfunk/mkdocs-material). Updates `pipenv` from 2024.0.1 to 2024.0.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pypa/pipenv/releases">pipenv's releases</a>.</em></p> <blockquote> <h2>Release v2024.0.3</h2> <h2>What's Changed</h2> <ul> <li>Fix logging error by <a href="https://github.com/yosufali"><code>@yosufali</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6246">pypa/pipenv#6246</a></li> <li>Fix <a href="https://redirect.github.com/pypa/pipenv/issues/6171">#6171</a> by <a href="https://github.com/Naofal-Helal"><code>@Naofal-Helal</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6247">pypa/pipenv#6247</a></li> <li>potentially resolving issue 6205 by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6243">pypa/pipenv#6243</a></li> <li>refinements to make installing vcs from CLI work smoother by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6242">pypa/pipenv#6242</a></li> <li>Ignore resource warning by <a href="https://github.com/Naofal-Helal"><code>@Naofal-Helal</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6251">pypa/pipenv#6251</a></li> <li>Fix uninstall --all fails when venv is deleted by <a href="https://github.com/Naofal-Helal"><code>@Naofal-Helal</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6250">pypa/pipenv#6250</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/yosufali"><code>@yosufali</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6246">pypa/pipenv#6246</a></li> <li><a href="https://github.com/Naofal-Helal"><code>@Naofal-Helal</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6247">pypa/pipenv#6247</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pypa/pipenv/compare/v2024.0.2...v2024.0.3">https://github.com/pypa/pipenv/compare/v2024.0.2...v2024.0.3</a></p> <h2>Release v2024.0.2</h2> <h2>What's Changed</h2> <ul> <li>PiPenv -> Pipenv by <a href="https://github.com/gtback"><code>@gtback</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6184">pypa/pipenv#6184</a></li> <li>Fix typo missing space between "so" and "re-building" by <a href="https://github.com/ptamarit"><code>@ptamarit</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6183">pypa/pipenv#6183</a></li> <li>remove all instances of click from project.py by <a href="https://github.com/aidencullo"><code>@aidencullo</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6193">pypa/pipenv#6193</a></li> <li>Fix bump version in CI by <a href="https://github.com/oz123"><code>@oz123</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6177">pypa/pipenv#6177</a></li> <li>Update diagnose URL in issue template by <a href="https://github.com/michaelmior"><code>@michaelmior</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6188">pypa/pipenv#6188</a></li> <li>refactor: click styling-> rich by <a href="https://github.com/oz123"><code>@oz123</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6178">pypa/pipenv#6178</a></li> <li>Fix incorrect command reminder after installs by <a href="https://github.com/nmagee"><code>@nmagee</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6199">pypa/pipenv#6199</a></li> <li>Fix: dont call load dot env in shell sub command by <a href="https://github.com/oz123"><code>@oz123</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6202">pypa/pipenv#6202</a></li> <li>Remove click.echo from pipenv/cli by <a href="https://github.com/aidencullo"><code>@aidencullo</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6182">pypa/pipenv#6182</a></li> <li>Linuxbrew shell fix by <a href="https://github.com/oz123"><code>@oz123</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6215">pypa/pipenv#6215</a></li> <li>remove all click.echo calls from exceptions.py by <a href="https://github.com/aidencullo"><code>@aidencullo</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6216">pypa/pipenv#6216</a></li> <li>Solve issue with quiet lock not writing the lock file. by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6208">pypa/pipenv#6208</a></li> <li>Raise default PIPENV_MAX_DEPTH to 10 by <a href="https://github.com/snickell"><code>@snickell</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6214">pypa/pipenv#6214</a></li> <li>Swap old_version and new_version in <code>pipenv update --outdated</code> output by <a href="https://github.com/BarrensZeppelin"><code>@BarrensZeppelin</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6179">pypa/pipenv#6179</a></li> <li>Correction to the rich conversion by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6229">pypa/pipenv#6229</a></li> <li>Corrected behavior of uninstall --all by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6209">pypa/pipenv#6209</a></li> <li>Correct for local package installs always being treated as editable. by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6222">pypa/pipenv#6222</a></li> <li>Corrected behavior of <code>pipenv install --skip-lock</code> by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6225">pypa/pipenv#6225</a></li> <li>Remove import of cached_property from pip by <a href="https://github.com/oz123"><code>@oz123</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6238">pypa/pipenv#6238</a></li> <li>vendor: bump importlib-metadata to 8.4.0 by <a href="https://github.com/oz123"><code>@oz123</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6235">pypa/pipenv#6235</a></li> <li>Fix shell detection by <a href="https://github.com/oz123"><code>@oz123</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6230">pypa/pipenv#6230</a></li> <li>Add initial support for python 3.13 by <a href="https://github.com/matteius"><code>@matteius</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6240">pypa/pipenv#6240</a></li> <li>remove click echo from utils.resolver by <a href="https://github.com/oz123"><code>@oz123</code></a> in <a href="https://redirect.github.com/pypa/pipenv/pull/6241">pypa/pipenv#6241</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/gtback"><code>@gtback</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6184">pypa/pipenv#6184</a></li> <li><a href="https://github.com/ptamarit"><code>@ptamarit</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6183">pypa/pipenv#6183</a></li> <li><a href="https://github.com/michaelmior"><code>@michaelmior</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6188">pypa/pipenv#6188</a></li> <li><a href="https://github.com/nmagee"><code>@nmagee</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6199">pypa/pipenv#6199</a></li> <li><a href="https://github.com/snickell"><code>@snickell</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6214">pypa/pipenv#6214</a></li> <li><a href="https://github.com/BarrensZeppelin"><code>@BarrensZeppelin</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/pipenv/pull/6179">pypa/pipenv#6179</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pypa/pipenv/compare/v2024.0.1...v2024.0.2">https://github.com/pypa/pipenv/compare/v2024.0.1...v2024.0.2</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/pipenv/blob/main/CHANGELOG.md">pipenv's changelog</a>.</em></p> <blockquote> <h1>2024.0.3 (2024-09-22)</h1> <h1>Pipenv 2024.0.3 (2024-09-22)</h1> <h2>Bug Fixes</h2> <ul> <li>Disable <code>ResourceWarning</code> warning for temporary files that are cleaned on program exit. <code>[#6151](pypa/pipenv#6151) <https://github.com/pypa/pipenv/issues/6151></code>_</li> <li>Fixed package sorting when installing a package with extras. <code>[#6171](pypa/pipenv#6171) <https://github.com/pypa/pipenv/issues/6171></code>_</li> <li>Fixed <code>pipenv uninstall --all</code> failing when the virtual environment no longer exists. <code>[#6185](pypa/pipenv#6185) <https://github.com/pypa/pipenv/issues/6185></code>_</li> <li>Fix issue where installing a vcs dependency using pipenv CLI yielded the wrong Pipfile entry such that it could not lock. <code>[#6242](pypa/pipenv#6242) <https://github.com/pypa/pipenv/issues/6242></code>_</li> <li>Fix report that pipenv requires <code>packaging>=22</code> on some systems by setting it as a dependency. <code>[#6243](pypa/pipenv#6243) <https://github.com/pypa/pipenv/issues/6243></code>_ 2024.0.2 (2024-09-13) ===================== Pipenv 2024.0.2 (2024-09-13) ============================</li> </ul> <h2>Features & Improvements</h2> <ul> <li>Initial support for python3.13 <code>[#6240](pypa/pipenv#6240) <https://github.com/pypa/pipenv/issues/6240></code>_</li> </ul> <h2>Bug Fixes</h2> <ul> <li>Fix bump version in CI/CD pipeline <code>[#6177](pypa/pipenv#6177) <https://github.com/pypa/pipenv/issues/6177></code>_</li> <li>Swap old_version and new_version in pipenv update --outdated output. <code>[#6179](pypa/pipenv#6179) <https://github.com/pypa/pipenv/issues/6179></code>_</li> <li>Update shell detection to only check the end of the command used. <code>[#6197](pypa/pipenv#6197) <https://github.com/pypa/pipenv/issues/6197></code>_</li> <li>Fix loading dot env twice <a href="https://redirect.github.com/pypa/pipenv/issues/6198">#6198</a> <code>[#6202](pypa/pipenv#6202) <https://github.com/pypa/pipenv/issues/6202></code>_</li> <li>Solve issue with quiet lock not writing the lock file <a href="https://redirect.github.com/pypa/pipenv/issues/6207">#6207</a>. <code>[#6207](pypa/pipenv#6207) <https://github.com/pypa/pipenv/issues/6207></code>_</li> <li>Fix regression introduced with the "smarter uninstall" PR. Uninstall <code>--all</code> should not clear the Pipfile entries. <code>[#6209](pypa/pipenv#6209) <https://github.com/pypa/pipenv/issues/6209></code>_</li> <li>Fixed regression where all local file installations were incorrectly treated as editable. Ensure that local file installations are explicitly marked as editable in both Pipfile and Pipfile.lock entries if editable installation is desired. <code>[#6222](pypa/pipenv#6222) <https://github.com/pypa/pipenv/issues/6222></code>_</li> <li>Corrected behavior of <code>pipenv install --skip-lock</code> after behavioral install refactor introduced regression. No Pipfile.lock is generated with this fix and installation of vcs no longer fails with revision missing error. <code>[#6225](pypa/pipenv#6225) <https://github.com/pypa/pipenv/issues/6225></code>_</li> <li>Fix for Windows on ARM missing distlib binaries in pyproject.toml <code>[#6240](pypa/pipenv#6240) <https://github.com/pypa/pipenv/issues/6240></code>_</li> </ul> <h2>Vendored Libraries</h2> <ul> <li>Clean up usage of click styling from exceptions, shell and virtualenv <code>[#6178](pypa/pipenv#6178) <https://github.com/pypa/pipenv/issues/6178></code>_</li> <li>Remove click.echo from pipenv/cli <code>[#6182](pypa/pipenv#6182) <https://github.com/pypa/pipenv/issues/6182></code>_</li> <li>Remove click.echo from exceptions.py <code>[#6216](pypa/pipenv#6216) <https://github.com/pypa/pipenv/issues/6216></code>_</li> <li>Update importlib-metadata to 8.4.0 <code>[#6235](pypa/pipenv#6235) <https://github.com/pypa/pipenv/issues/6235></code>_</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/pipenv/commit/0b6b428bcd33e2ce855fdba83ec5f4280ec11e26"><code>0b6b428</code></a> Release v2024.0.3</li> <li><a href="https://github.com/pypa/pipenv/commit/88062cfb42e5dd13c11fb89505db63f12fa3ad52"><code>88062cf</code></a> Bumped version to 2024.0.3.</li> <li><a href="https://github.com/pypa/pipenv/commit/fbecd8e41aea687cc746e3ae5bf00abda005f5f2"><code>fbecd8e</code></a> Merge pull request <a href="https://redirect.github.com/pypa/pipenv/issues/6250">#6250</a> from Naofal-Helal/fix-uninstall</li> <li><a href="https://github.com/pypa/pipenv/commit/3cabf795f14842e65b5d6d5a26b38378867f4366"><code>3cabf79</code></a> Update environment.py</li> <li><a href="https://github.com/pypa/pipenv/commit/ff8bbe40545d81c002b63558a954d54ab53e58a9"><code>ff8bbe4</code></a> Update uninstall.py</li> <li><a href="https://github.com/pypa/pipenv/commit/cdc6499c789a19eda38b7f0c92c3e05de93e8090"><code>cdc6499</code></a> Update environment.py</li> <li><a href="https://github.com/pypa/pipenv/commit/d19aa93db0ddc3b812225f94d33da639a069a8cb"><code>d19aa93</code></a> Update environment.py</li> <li><a href="https://github.com/pypa/pipenv/commit/71b556047df7a2af7f6d378ae49812d4c078f4ed"><code>71b5560</code></a> Update uninstall.py</li> <li><a href="https://github.com/pypa/pipenv/commit/31edd0054e6041ccbc52bd9a3d717ce99df53aa2"><code>31edd00</code></a> Update environment.py</li> <li><a href="https://github.com/pypa/pipenv/commit/f7058e8bcd55f48576d5e08015152f2ec77bd460"><code>f7058e8</code></a> Merge pull request <a href="https://redirect.github.com/pypa/pipenv/issues/6251">#6251</a> from Naofal-Helal/resource-warn</li> <li>Additional commits viewable in <a href="https://github.com/pypa/pipenv/compare/v2024.0.1...v2024.0.3">compare view</a></li> </ul> </details> <br /> Updates `mkdocs-material` from 9.5.34 to 9.5.37 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p> <blockquote> <h2>mkdocs-material-9.5.37</h2> <ul> <li>Added 4th and 5th level ordered list styles</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7548">#7548</a>: Tags have no spacing in search</li> </ul> <h2>mkdocs-material-9.5.36</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7544">#7544</a>: Social cards incorrectly rendering HTML entities</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7542">#7542</a>: Improved support for setting custom list styles</li> </ul> <h2>mkdocs-material-9.5.35</h2> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7498">#7498</a>: Search not showing for Vietnamese language</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p> <blockquote> <p>mkdocs-material-9.5.37 (2024-09-25)</p> <ul> <li>Added 4th and 5th level ordered list styles</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7548">#7548</a>: Tags have no spacing in search</li> </ul> <p>mkdocs-material-9.5.36 (2024-09-21)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7544">#7544</a>: Social cards incorrectly rendering HTML entities</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7542">#7542</a>: Improved support for setting custom list styles</li> </ul> <p>mkdocs-material-9.5.35 (2024-09-18)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7498">#7498</a>: Search not showing for Vietnamese language</li> </ul> <p>mkdocs-material-9.5.34+insiders-4.53.13 (2024-09-14)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7520">#7520</a>: Social plugin errors for generated files (MkDocs 1.6+)</li> </ul> <p>mkdocs-material-9.5.34 (2024-08-31)</p> <ul> <li>Updated Mermaid.js to version 11 (latest)</li> </ul> <p>mkdocs-material-9.5.33 (2024-08-23)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7453">#7453</a>: Incorrect position of tooltip when sorting table</li> </ul> <p>mkdocs-material-9.5.32 (2024-08-19)</p> <ul> <li>Fixed RXSS vulnerability via deep link in search results</li> <li>Added support for fetching latest release from GitLab</li> </ul> <p>mkdocs-material-9.5.31+insiders-4.53.12 (2024-08-02)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7410">#7410</a>: Instant previews jump on content tabs with anchor links</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7408">#7408</a>: Instant previews jump on content tabs</li> </ul> <p>mkdocs-material-9.5.31 (2024-08-02)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7405">#7405</a>: DockerHub missing images > 9.5.27 due to change in Alpine/APK</li> </ul> <p>mkdocs-material-9.5.30 (2024-07-23)</p> <ul> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7380">#7380</a>: Navigation icons disappearing on hover in Safari</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7367">#7367</a>: Blog readtime computation includes SVG text content</li> </ul> <p>mkdocs-material-9.5.29 (2024-07-14)</p> <ul> <li>Updated Galician translations</li> <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7362">#7362</a>: Annotations in figure captions rendering incorrectly</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/84ddbba7ef2b0d8965129f51f4c6475cb3612f8a"><code>84ddbba</code></a> Prepare 9.5.37 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/fd984136badbc6ca708c1a3528fcfb15364ee7f0"><code>fd98413</code></a> Documentation (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7557">#7557</a>)</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/573d23d147e899e7980a5d79a1756beb3911071d"><code>573d23d</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/06fe18af7ee18ed3997a7adba9398c91226d8839"><code>06fe18a</code></a> Fixed rendering of tags in search</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/43a22b61501c3198519090fd7a26b92f014ca1cc"><code>43a22b6</code></a> Fixed ordered list markers</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/71b64f4f04b57f7c1f382cccf0bc026a3efc264c"><code>71b64f4</code></a> Prepare 9.5.36 release</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/bbb76b8574f78457963128b3d26ed797b3f8d53d"><code>bbb76b8</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/57765c48f98ea9dcd2ae8519e05117dfc027b246"><code>57765c4</code></a> Updated dependencies</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/68b675854f635ef5c53ff1b000e2b76b65ef848f"><code>68b6758</code></a> Added support for setting custom list styles</li> <li><a href="https://github.com/squidfunk/mkdocs-material/commit/85d609183e5467389be13787f55490474e5be38b"><code>85d6091</code></a> Added support for setting custom list styles</li> <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.34...9.5.37">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Issue description
When
sort_pipfile
is set toture
, if you install a new package with extras, it gets put at the end of the respective section instead of being sorted. If you previously had a package with extras at the end of the section, that one will get sorted but the new package with extras you're installing will still be put at the end of the section.Expected result
The recently installed package gets sorted within its section.
Actual result
The recently installed package gets put at the end of the section.
Steps to replicate
pipenv install psycopg[c]
). It will get put at the end of the section instead of between asgiref and zenpy.Pipfile
pipenv install sqlalchemy[async]
). The previous package with extras will be sorted and this new one will be put at the end of the section.Pipfile
$ pipenv --support
Pipenv version:
'2023.12.1'
Pipenv location:
'/home/user/.local/lib/python3.12/site-packages/pipenv'
Python location:
'/usr/bin/python3'
OS Name:
'posix'
User pip version:
'23.3.2'
user Python installations found:
PEP 508 Information:
System environment variables:
SHELL
SESSION_MANAGER
SNAP_REVISION
PYENV_SHELL
HISTCONTROL
XDG_MENU_PREFIX
SNAP_REAL_HOME
TERMINAL_EMULATOR
SNAP_USER_COMMON
HOSTNAME
HISTSIZE
SSH_AUTH_SOCK
MEMORY_PRESSURE_WRITE
TERM_SESSION_ID
SNAP_INSTANCE_KEY
XMODIFIERS
DESKTOP_SESSION
BAMF_DESKTOP_FILE_HINT
EDITOR
SNAP_EUID
PWD
XDG_SESSION_DESKTOP
LOGNAME
XDG_SESSION_TYPE
SYSTEMD_EXEC_PID
XAUTHORITY
DESKTOP_STARTUP_ID
SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS
SNAP_CONTEXT
GJS_DEBUG_TOPICS
GDM_LANG
HOME
USERNAME
LANG
LS_COLORS
XDG_CURRENT_DESKTOP
VIRTUAL_ENV
MEMORY_PRESSURE_WATCH
WAYLAND_DISPLAY
SNAP_ARCH
SNAP_INSTANCE_NAME
SNAP_USER_DATA
INVOCATION_ID
MANAGERPID
SNAP_REEXEC
SNAP_UID
STEAM_FRAME_FORCE_CLOSE
GJS_DEBUG_OUTPUT
GNOME_SETUP_DISPLAY
XDG_ACTIVATION_TOKEN
XDG_SESSION_CLASS
TERM
LESSOPEN
USER
SNAP
SNAP_COMMON
SNAP_VERSION
DISPLAY
SHLVL
SNAP_LIBRARY_PATH
SNAP_COOKIE
QT_IM_MODULE
VIRTUAL_ENV_PROMPT
SNAP_DATA
XDG_RUNTIME_DIR
PS1
PYENV_ROOT
DEBUGINFOD_URLS
SNAP_NAME
JOURNAL_STREAM
XDG_DATA_DIRS
PATH
GDMSESSION
DBUS_SESSION_BUS_ADDRESS
MAIL
GIO_LAUNCHED_DESKTOP_FILE_PID
GIO_LAUNCHED_DESKTOP_FILE
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/home/user/.pyenv/versions/3.10.14/bin:/home/user/.local/share/virtualenvs/pythonProject-bFLmJOh0/bin:/home/user/.pyenv/shims:/home/user/.pyenv/bin:/home/user/.local/bin:/home/user/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin
SHELL
:/bin/bash
EDITOR
:/usr/bin/nano
LANG
:en_US.UTF-8
PWD
:/home/user/Documents/learning/pythonProject
VIRTUAL_ENV
:/home/user/.local/share/virtualenvs/pythonProject-bFLmJOh0
Contents of
Pipfile
('/home/user/Documents/learning/pythonProject/Pipfile'):Contents of
Pipfile.lock
('/home/user/Documents/learning/pythonProject/Pipfile.lock'):The text was updated successfully, but these errors were encountered: