11import logging
22import sys
33from _typeshed import StrOrBytesPath
4- from collections .abc import Sequence
4+ from collections .abc import Iterable , Sequence
55from types import SimpleNamespace
66
77logger : logging .Logger
@@ -17,7 +17,20 @@ class EnvBuilder:
1717 with_pip : bool
1818 prompt : str | None
1919
20- if sys .version_info >= (3 , 9 ):
20+ if sys .version_info >= (3 , 13 ):
21+ def __init__ (
22+ self ,
23+ system_site_packages : bool = False ,
24+ clear : bool = False ,
25+ symlinks : bool = False ,
26+ upgrade : bool = False ,
27+ with_pip : bool = False ,
28+ prompt : str | None = None ,
29+ upgrade_deps : bool = False ,
30+ * ,
31+ scm_ignore_files : Iterable [str ] = ...,
32+ ) -> None : ...
33+ elif sys .version_info >= (3 , 9 ):
2134 def __init__ (
2235 self ,
2336 system_site_packages : bool = False ,
@@ -54,8 +67,23 @@ class EnvBuilder:
5467 def install_scripts (self , context : SimpleNamespace , path : str ) -> None : ...
5568 if sys .version_info >= (3 , 9 ):
5669 def upgrade_dependencies (self , context : SimpleNamespace ) -> None : ...
70+ if sys .version_info >= (3 , 13 ):
71+ def create_git_ignore_file (self , context : SimpleNamespace ) -> None : ...
5772
58- if sys .version_info >= (3 , 9 ):
73+ if sys .version_info >= (3 , 13 ):
74+ def create (
75+ env_dir : StrOrBytesPath ,
76+ system_site_packages : bool = False ,
77+ clear : bool = False ,
78+ symlinks : bool = False ,
79+ with_pip : bool = False ,
80+ prompt : str | None = None ,
81+ upgrade_deps : bool = False ,
82+ * ,
83+ scm_ignore_files : Iterable [str ] = ...,
84+ ) -> None : ...
85+
86+ elif sys .version_info >= (3 , 9 ):
5987 def create (
6088 env_dir : StrOrBytesPath ,
6189 system_site_packages : bool = False ,
0 commit comments