brizental pushed to branch tor-browser-147.0a1-16.0-2 at The Tor Project / Applications / Tor Browser

Commits:

2 changed files:

Changes:

  • testing/mozbase/manifestparser/setup.py
    ... ... @@ -25,6 +25,7 @@ setup(
    25 25
             "Programming Language :: Python :: 3.10",
    
    26 26
             "Programming Language :: Python :: 3.11",
    
    27 27
             "Programming Language :: Python :: 3.12",
    
    28
    +        "Programming Language :: Python :: 3.13",
    
    28 29
         ],
    
    29 30
         # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
    
    30 31
         keywords="mozilla manifests",
    
    ... ... @@ -39,5 +40,5 @@ setup(
    39 40
           [console_scripts]
    
    40 41
           manifestparser = manifestparser.cli:main
    
    41 42
           """,
    
    42
    -    python_requires=">=3.8, <3.13",
    
    43
    +    python_requires=">=3.8",
    
    43 44
     )

  • testing/mozbase/mozinstall/mozinstall/mozinstall.py
    ... ... @@ -121,12 +121,12 @@ def install(src, dest):
    121 121
             if src.lower().endswith(".msix"):
    
    122 122
                 # MSIX packages _are_ ZIP files, so we need to look for them first.
    
    123 123
                 install_dir = _install_msix(src)
    
    124
    -        elif zipfile.is_zipfile(src) or tarfile.is_tarfile(src):
    
    125
    -            install_dir = mozfile.extract(src, dest)[0]
    
    126 124
             elif src.lower().endswith(".dmg"):
    
    127 125
                 install_dir = _install_dmg(src, dest)
    
    128 126
             elif src.lower().endswith(".exe"):
    
    129 127
                 install_dir = _install_exe(src, dest)
    
    128
    +        elif zipfile.is_zipfile(src) or tarfile.is_tarfile(src):
    
    129
    +            install_dir = mozfile.extract(src, dest)[0]
    
    130 130
             else:
    
    131 131
                 raise InvalidSource(f"{src} is not a valid installer file")
    
    132 132