Skip to content

Conversation

@oyale
Copy link
Contributor

@oyale oyale commented Feb 27, 2024

Without these steps, changing the Python version would not affect the existing virtual environment (venv).

When the venv is destroyed, it becomes necessary to reinstall Odoo.

Therefore, our first action is to check for the presence of an existing venv. If found, we verify its Python version. If this version does not match our desired one, we proceed to remove the virtualenv.

Additionally, in the when conditions for the Odoo installation task, we now include a check to determine if the venv was recently deleted.

Without this steps, changing the python version will not cause any effect in venv. 

When the venv is destroyed, Odoo needs to be reinstalled.
@oyale oyale changed the title feat: remove venv and reinstall odoo on python version change Update Virtual Environment Handling for Python Version Changes Feb 27, 2024
@oyale oyale added the test needed You can help by testing this branch label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test needed You can help by testing this branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants