saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
https://repo.saltproject.io/
Apache License 2.0
13.98k stars 5.47k forks source link

[3006.x] Remove deprecated pyvenv and add venv support #66673

Open Akm0d opened 4 days ago

Akm0d commented 4 days ago

What does this PR do?

What issues does this PR fix or reference?

Fixes #66132 Fixes #51742

Previous Behavior

The virtualenv module used the deprecated pyvenv library.

New Behavior

The virtualenv module uses the builtin venv library.

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices, including the PR Guidelines.

See GitHub's page on GPG signing for more information about signing commits with GPG.