Remove pyproject.toml from default values

This commit is contained in:
Dario Curreri 2023-06-27 12:26:48 +02:00
parent 6f8266d242
commit 556ac3e0ad
No known key found for this signature in database
3 changed files with 5 additions and 100 deletions

View file

@ -10,8 +10,7 @@ import {
logWarning,
IS_MAC,
getVersionInputFromFile,
getVersionInputFromPlainFile,
getVersionInputFromTomlFile
getVersionInputFromPlainFile
} from './utils';
function isPyPyVersion(versionSpec: string) {
@ -32,7 +31,6 @@ async function cacheDependencies(cache: string, pythonVersion: string) {
function resolveVersionInputFromDefaultFile(): string[] {
const couples: [string, (versionFile: string) => string[]][] = [
['.python-version', getVersionInputFromPlainFile],
['pyproject.toml', getVersionInputFromTomlFile]
];
for (const [versionFile, _fn] of couples) {
logWarning(