Skip to content

Commit 1f5d5d3

Browse files
Fix the base version type imports.
1 parent 508e48a commit 1f5d5d3

File tree

1 file changed

+3
-3
lines changed
  • src/client/pythonEnvironments/base/info

1 file changed

+3
-3
lines changed

src/client/pythonEnvironments/base/info/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Licensed under the MIT License.
33

44
import { Architecture } from '../../../common/utils/platform';
5-
import { Version, VersionInfo } from '../../../common/utils/version';
5+
import { BasicVersionInfo, VersionInfo } from '../../../common/utils/version';
66

77
/**
88
* IDs for the various supported Python environments.
@@ -87,7 +87,7 @@ export type PythonVersionRelease = {
8787
*
8888
* @prop sysVersion - the raw text from `sys.version`
8989
*/
90-
export type PythonVersion = VersionInfo & {
90+
export type PythonVersion = BasicVersionInfo & {
9191
release: PythonVersionRelease;
9292
sysVersion?: string;
9393
};
@@ -118,7 +118,7 @@ export type PythonDistroMetaInfo = {
118118
* @prop binDir - where to look for the distro's executables (i.e. tools)
119119
*/
120120
export type PythonDistroInfo = PythonDistroMetaInfo & {
121-
version?: Version;
121+
version?: VersionInfo;
122122
binDir?: string;
123123
};
124124

0 commit comments

Comments
 (0)