Use pypyX.Y for PyPy python-version input

This versioning scheme is consistent with other
tools in the python ecosystem so it feels more natural
and allows better interaction with other tools.

fixes #346
This commit is contained in:
mayeut 2022-03-05 19:15:18 +01:00
parent c57f79353b
commit 35e46013a2
No known key found for this signature in database
GPG key ID: 8B03CED67D3ABFBA
6 changed files with 54 additions and 25 deletions

View file

@ -7,7 +7,7 @@ import {getCacheDistributor} from './cache-distributions/cache-factory';
import {isCacheFeatureAvailable} from './utils';
function isPyPyVersion(versionSpec: string) {
return versionSpec.startsWith('pypy-');
return versionSpec.startsWith('pypy');
}
async function cacheDependencies(cache: string, pythonVersion: string) {