Skip to content

bootstrap: use python3-venv instead python3-virtualenv - #23

Merged
cbodley merged 1 commit into
masterfrom
wip-58510
Jan 31, 2023
Merged

cbodley merged 1 commit into
masterfrom
wip-58510

Conversation

@cbodley

@cbodley cbodley commented Jan 19, 2023

Copy link
Copy Markdown

on ubuntu 22.04, the 'virtualenv' command has no virtualenv/bin subdirectory, so bootstrap fails with:

./virtualenv/bin/pip: not found

Comment thread bootstrap Resolved
on ubuntu 22.04, the 'virtualenv' command has no virtualenv/bin
subdirectory, so bootstrap fails with:

./virtualenv/bin/pip: not found

Signed-off-by: Casey Bodley <[email protected]>
@cbodley

cbodley commented Feb 15, 2023

Copy link
Copy Markdown
Author

this PR's removal of the --system-site-packages flag may be the cause of https://tracker.ceph.com/issues/58643, so i've removed it from the ceph-master/ceph-quincy/ceph-pacific branches

@mkogan1

mkogan1 commented Feb 15, 2023

Copy link
Copy Markdown

it's possible to use the --system-site-packages also with the -m venv
python3 -m venv --system-site-packages virtualenv

@cbodley

cbodley commented Feb 15, 2023

Copy link
Copy Markdown
Author

thanks @mkogan1. i've been working on #26 to replace bootstrap with tox, so i just figured this was easier to revert

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

Successfully merging this pull request may close these issues.

2 participants