File tree Expand file tree Collapse file tree 6 files changed +433
-375
lines changed
Expand file tree Collapse file tree 6 files changed +433
-375
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 matrix :
1515 python :
16- - " 3.9"
1716 - " 3.10"
1817 - " 3.11"
1918 - " 3.12"
Original file line number Diff line number Diff line change 22abi3audit APIs.
33"""
44
5- __version__ = "0.0.25 "
5+ __version__ = "0.0.26 "
Original file line number Diff line number Diff line change 99from collections .abc import Iterator
1010from pathlib import Path
1111from tempfile import TemporaryDirectory
12- from typing import Any , Union
12+ from typing import Any
1313from zipfile import ZipFile
1414
1515from abi3info .models import PyVersion
@@ -90,7 +90,7 @@ def _extractor(self) -> Extractor:
9090 return PyPIExtractor (self )
9191
9292
93- Spec = Union [ WheelSpec , SharedObjectSpec , PyPISpec ]
93+ Spec = WheelSpec | SharedObjectSpec | PyPISpec
9494
9595
9696def make_specs (val : str , assume_minimum_abi3 : PyVersion | None = None ) -> list [Spec ]:
@@ -294,4 +294,4 @@ def __str__(self) -> str:
294294 return self .spec
295295
296296
297- Extractor = Union [ WheelExtractor , SharedObjectExtractor , PyPIExtractor ]
297+ Extractor = WheelExtractor | SharedObjectExtractor | PyPIExtractor
Original file line number Diff line number Diff line change 77import logging
88import struct
99from collections .abc import Iterator
10- from typing import Any , Union
10+ from typing import Any
1111
1212import pefile
1313from abi3info .models import PyVersion , Symbol , Visibility
@@ -243,4 +243,4 @@ def __iter__(self) -> Iterator[Symbol]:
243243 yield Symbol (imp .name .decode (), visibility = "global" )
244244
245245
246- SharedObject = Union [ _So , _Dll , _Dylib ]
246+ SharedObject = _So | _Dll | _Dylib
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ classifiers = [
2020dependencies = [
2121 " abi3info >= 2024.06.19" ,
2222 " kaitaistruct ~= 0.10" ,
23- " packaging >= 21.3,< 26.0 " ,
23+ " packaging >= 21.3" ,
2424 " pefile >= 2022.5.30" ,
2525 " pyelftools >= 0.29" ,
26- " requests >= 2.28.1,< 2.33.0 " ,
27- " requests-cache >= 0.9.6,< 1.3.0 " ,
28- " rich >= 12.5.1,< 14.3.0 " ,
26+ " requests >= 2.32.5 " ,
27+ " requests-cache >= 0.9.6" ,
28+ " rich >= 12.5.1" ,
2929]
30- requires-python = " >=3.9 "
30+ requires-python = " >=3.10 "
3131
3232[project .urls ]
3333Homepage = " https://pypi.org/project/abi3audit/"
You can’t perform that action at this time.
0 commit comments