-
-
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
Linuxbrew shells are detected as nu
shell
#6197
Comments
First, I am suprised to learn that we don't have a bransh for zsh. Line 47 in 5eb672a
Supported shells are found here: https://github.com/pypa/virtualenv/tree/main/src/virtualenv/activation |
@oz123 thank you for taking a look! The issue is that I think a 'deep' fix would only detect based on the end of the |
As a workaround (if anyone else runs into this) I've set up a symlink to a path without |
Please draft it. I was just taking a look on my Ubuntu VM at this issue. Unfortunately, despite your very detailed steps to construct the issue, I was not able to recreate it:
|
Do you already have |
Well:
That seems wrong... |
if |
OK, I set my default shell to zsh, and after new login I can recreate the issue. |
@JoshStern can you add to your patch:
I believe this will not break the behaviour, as the current order of parsing does not change.
|
Addresses issue: pypa#6197 Previously these branches would trip if the shell name was present anywhere in the cmd path. This updates the check to only look at the end.
Addresses issue: pypa#6197 Previously these branches would trip if the shell name was present anywhere in the cmd path. This updates the check to only look at the end.
Just pushed up a PR with my original fix, running the tests now. Your idea is definitely more backwards compatible, I was hoping to fix it for any path that has a shell as a substring and not just the linuxbrew case. |
I can't seem to get the suite running using the container option. I tried 3.7, 3.8, and 3.9 (got the furthest with 3.8). I've tried most of the options here, let me know if there's something else I need to set up. |
Addresses issue: pypa#6197 This updates the check to only look at the path after linuxbrew if it is present.
Addresses issue: pypa#6197 This updates the check to only look at the path after linuxbrew if it is present.
@oz123 I've pushed both versions of the fix - feel free to pick either (or modify as needed). Sorry I can't verify the suite locally 😞. I may spend some time trying to get the containerized run working on my machine on another day. |
Thanks for your efforts. No worries about the suite. We only support Python 3.8+. |
Addresses issue: #6197 Previously these branches would trip if the shell name was present anywhere in the cmd path. This updates the check to only look at the end.
Fixed in #6215 |
Bumps [pipenv](https://github.com/pypa/pipenv) from 2024.0.1 to 2024.0.2. <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.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.2 (2024-09-13)</h1> <h1>Pipenv 2024.0.2 (2024-09-13)</h1> <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/13d051b489125d95bad9ecbb44264662cd6bc8e1"><code>13d051b</code></a> Release v2024.0.2</li> <li><a href="https://github.com/pypa/pipenv/commit/f818736dd84298e428939eb31bc3aa4b14c4eebc"><code>f818736</code></a> Bumped version to 2024.0.2.</li> <li><a href="https://github.com/pypa/pipenv/commit/080031d09db3994b2009ce471db3fba333243dfa"><code>080031d</code></a> Merge pull request <a href="https://redirect.github.com/pypa/pipenv/issues/6241">#6241</a> from pypa/trim-click</li> <li><a href="https://github.com/pypa/pipenv/commit/9911630b658b8e93cff22ad437755b023ceab2b6"><code>9911630</code></a> Add news fragments</li> <li><a href="https://github.com/pypa/pipenv/commit/1173651622934156770827123fbe858936cb1ee1"><code>1173651</code></a> Upgrade black rules</li> <li><a href="https://github.com/pypa/pipenv/commit/0cfd38499656e63f8d3b07514acfc8b27f9e6891"><code>0cfd384</code></a> Upgrade black rules</li> <li><a href="https://github.com/pypa/pipenv/commit/7816f391dfbac73a16615dcf2304d076d1fe5218"><code>7816f39</code></a> fix test</li> <li><a href="https://github.com/pypa/pipenv/commit/94a0ed828115e634a8a3ce595652a19ba1b62431"><code>94a0ed8</code></a> fix test</li> <li><a href="https://github.com/pypa/pipenv/commit/5b8d3f22ae323338521311f19e4d1e2a17ddf6ca"><code>5b8d3f2</code></a> upgrade lock file, correct the vcs entry</li> <li><a href="https://github.com/pypa/pipenv/commit/28cbcabb3bbf46ad3ff1c5ad9448f8adf6600de1"><code>28cbcab</code></a> Switch to fork of pypiserver while try to get changes upstreamed</li> <li>Additional commits viewable in <a href="https://github.com/pypa/pipenv/compare/v2024.0.1...v2024.0.2">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.1&new-version=2024.0.2)](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] <support@github.com> 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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Issue description
When running
pipenv shell
using a brew-installed shell thecmd
will includelinuxbrew
which trips the nu branch when identifying the activate file and command to run.Expected result
Shells with
nu
elsewhere in the path are not detected asnu
shell.Actual result
Followed by (I am using
zsh
):Steps to replicate
This can be replicated without a Pipfile:
pipenv
, andzsh
:zsh
.Proposed fix
This may require some conversation. Switching the branches to check the end of the path would be a breaking change for anyone who depends on the current behavior. It may be worth adding a
zsh
branch which does the same check beforenu
. I'm happy to make the change with some guidance from a contributor.$ pipenv --support
Pipenv version:
'2024.0.1'
Pipenv location:
'/home/linuxbrew/.linuxbrew/Cellar/pipenv/2024.0.1/libexec/lib/python3.12/site-packages/pipenv'
Python location:
'/home/linuxbrew/.linuxbrew/Cellar/pipenv/2024.0.1/libexec/bin/python'
OS Name:
'posix'
User pip version:
'24.0'
user Python installations found:
PEP 508 Information:
System environment variables:
GJS_DEBUG_TOPICS
USER
XDG_SESSION_TYPE
SHLVL
HOME
DESKTOP_SESSION
GIO_LAUNCHED_DESKTOP_FILE
GTK_MODULES
GNOME_SHELL_SESSION_MODE
MANAGERPID
SYSTEMD_EXEC_PID
DBUS_SESSION_BUS_ADDRESS
GIO_LAUNCHED_DESKTOP_FILE_PID
LOGNAME
GTK_IM_MODULE
JOURNAL_STREAM
XDG_SESSION_CLASS
USERNAME
GNOME_DESKTOP_SESSION_ID
WINDOWPATH
PATH
SESSION_MANAGER
INVOCATION_ID
XDG_RUNTIME_DIR
XDG_MENU_PREFIX
DISPLAY
LANG
XDG_CURRENT_DESKTOP
XAUTHORITY
XDG_SESSION_DESKTOP
XMODIFIERS
SSH_AGENT_LAUNCHER
SSH_AUTH_SOCK
SHELL
QT_ACCESSIBILITY
GDMSESSION
GPG_AGENT_INFO
GJS_DEBUG_OUTPUT
QT_IM_MODULE
PWD
XDG_DATA_DIRS
XDG_CONFIG_DIRS
KITTY_WINDOW_ID
WINDOWID
TERM
COLORTERM
OLDPWD
HOMEBREW_PREFIX
HOMEBREW_CELLAR
HOMEBREW_REPOSITORY
MANPATH
INFOPATH
ZSH
PAGER
LESS
LSCOLORS
LS_COLORS
VIRTUAL_ENV_DISABLE_PROMPT
FZF_CTRL_R_OPTS
NVM_DIR
NVM_CD_FLAGS
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
PIP_PYTHON_PATH
PIPENV_ACTIVE
Pipenv–specific environment variables:
PIPENV_ACTIVE
:1
Debug–specific environment variables:
PATH
:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/user/.local/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/user/.local/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
SHELL
:/home/linuxbrew/.linuxbrew/bin/zsh
LANG
:en_US.UTF-8
PWD
:/home/user
Contents of
Pipfile
('/home/user/Pipfile'):The text was updated successfully, but these errors were encountered: