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

use different venv during local development and during cicd #214

Open
copdips opened this issue Sep 26, 2023 · 0 comments
Open

use different venv during local development and during cicd #214

copdips opened this issue Sep 26, 2023 · 0 comments

Comments

@copdips
Copy link

copdips commented Sep 26, 2023

Hello,

I'm using pyright by is public github action. and I see that pyright has a param venv which can specify the venv path, I would like to know that, during the local development, I use venv, it's OK. But during the CICD, I don't use venv, just install everything at system level, in such case, how to keep a single pyproject.toml but with different venv ?
Does pyright support find automatically the package installation path based on python executable used.
It seems that mypy can do that, we do not need to specify which venv to use, just run mypy

@copdips copdips changed the title use different venv when local and during cicd use different venv during local development and during cicd Sep 26, 2023
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

1 participant