Skip to content

v1.1.0: `pip` special casing

Choose a tag to compare

@zner0L zner0L released this 05 Jun 14:48
· 2 commits to main since this release
dd40faf

In #5 we realized that in some cases, users might want to specify their own pip version and use that to install the other dependencies in the venv. With this release, this is now possible. Just use pip as any other dependency and it will be installed before any other packages so that they are installed using the specified version:

await getVenv({
    name: 'test123',
    pythonVersion: '~3.11',
    requirements: [
        { name: 'pip', version: '~=23.1' },
    ],
});

What's Changed

Full Changelog: v1.0.0...v1.1.0