Skip to content
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

Poetry Shell Deactivates When Navigating to Subdirectories #33

Open
dxvidparham opened this issue Jan 15, 2025 · 1 comment
Open

Poetry Shell Deactivates When Navigating to Subdirectories #33

dxvidparham opened this issue Jan 15, 2025 · 1 comment

Comments

@dxvidparham
Copy link

## Issue Description:

With the latest version of the plugin, I've observed that the Poetry environment deactivates whenever I navigate to a subdirectory within my project structure. Previously, the Poetry shell remained active regardless of the current working directory, as long as I was within the project. This regression significantly affects workflows that involve working in subdirectories.

Steps to Reproduce:

Activate the Plugin and navigate to the root of the project.
Navigate to a subdirectory within the project (cd subdirectory).
Observe that the Poetry shell deactivates.

Expected Behavior:

The Poetry shell should remain active when navigating to subdirectories within the project structure.

Observed Behavior:

The Poetry shell deactivates as soon as I leave the project root directory.
Environment:

Poetry Version: **2.0.1**
Plugin Version: **1.0.1**
OS: **macOS Sequioa 15.12**

Additional Context:

This behavior was not present in previous versions of the plugin. It appears to be a regression introduced in the latest release.

@tdwaf
Copy link

tdwaf commented Jan 28, 2025

Hey @dxvidparham, I'm unable to replicate your issue. For context, here is my environment:

Poetry Version: 2.0.1
Plugin Version: 1.0.1
OS: MacOS Sequoia 15.2

I am using zsh for the record

I have a test repo:

Image

I can create a shell:

Image

When I switch to my subdirectory, the shell doesn't deactivate:

Image

Are you able to provide any more information?

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

No branches or pull requests

2 participants