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

Failure to re-create venv - pre 5.0.3-0 updating to 5.0.6-0 rpm #2788

Closed
phillxnet opened this issue Jan 25, 2024 · 1 comment
Closed

Failure to re-create venv - pre 5.0.3-0 updating to 5.0.6-0 rpm #2788

phillxnet opened this issue Jan 25, 2024 · 1 comment

Comments

@phillxnet
Copy link
Member

phillxnet commented Jan 25, 2024

In rpm release 5.0.5-0 a Poetry update from 1.1.15 (upstream installed) to 1.7.1 (pipx installed) was introduced to accommodate a significant Python update in the same rpm release. The new Poetry install is currently failing to instantiation our venv (.venv) from within build.sh when that bash script is invoked from our rpm spec file's %posttrans file.

However when the script is run from a root user terminal session the .venv is successfully created.


Pull Request Dependencies now resolved:

phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Jan 25, 2024
…#2788

## Includes
- Remove now redundant Py3.6 work-around re Poetry and LANG env var.
- Establish LANG from install.
- Record PATH & `poetry --version` in poetry-install.txt before
venv install.
phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Jan 25, 2024
…ued rockstor#2788

- alternate python version declaration - poetry install via pipx.
- diagnostic `pipx list` addition.
phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Jan 26, 2024
…ued2 rockstor#2788

- Dump env output to aid diagnostic.
- Enable full poetry debug logging.
phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Jan 26, 2024
…ued3 rockstor#2788

- unset pre 5.0.3-0 VIRTUAL_ENV environmental variable.
@phillxnet phillxnet added this to the 5.1.X-X Stable release milestone Jan 26, 2024
@phillxnet phillxnet changed the title Failure to re-create venv after Poetry update in 5.0.6-0 rpm Failure to re-create venv - pre 5.0.3-0 updating to 5.0.6-0 rpm #2788 Jan 26, 2024
@phillxnet phillxnet changed the title Failure to re-create venv - pre 5.0.3-0 updating to 5.0.6-0 rpm #2788 Failure to re-create venv - pre 5.0.3-0 updating to 5.0.6-0 rpm Jan 26, 2024
phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Jan 26, 2024
…tor#2788

## Includes
- Remove now redundant Py3.6 work-around re Poetry and LANG env var.
- Establish LANG from install.
- Record `env` & `poetry --version` in poetry-install.txt before
venv install.
- Add diagnostic `pipx list`.
- Alternate python version declaration in poetry install via pipx.
- Enable full `poetry install` debug logging.
- Unset pre 5.0.3-0 VIRTUAL_ENV environmental variable, redundant
when updating from 5.0.3-0 onwards.
phillxnet added a commit that referenced this issue Jan 29, 2024
…v---pre-5.0.3-0-updating-to-5.0.6-0-rpm

Failure to re-create venv - pre 5.0.3-0 updating to 5.0.6-0 rpm #2788
@phillxnet
Copy link
Member Author

Closing as:
Fixed by #2790

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