Skip to content

Commit 456c085

Browse files
authored
Remove upper bound on packaging (#190)
1 parent d4e59d3 commit 456c085

File tree

6 files changed

+433
-375
lines changed

6 files changed

+433
-375
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
strategy:
1414
matrix:
1515
python:
16-
- "3.9"
1716
- "3.10"
1817
- "3.11"
1918
- "3.12"

abi3audit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
abi3audit APIs.
33
"""
44

5-
__version__ = "0.0.25"
5+
__version__ = "0.0.26"

abi3audit/_extract.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from collections.abc import Iterator
1010
from pathlib import Path
1111
from tempfile import TemporaryDirectory
12-
from typing import Any, Union
12+
from typing import Any
1313
from zipfile import ZipFile
1414

1515
from 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

9696
def 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

abi3audit/_object.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import logging
88
import struct
99
from collections.abc import Iterator
10-
from typing import Any, Union
10+
from typing import Any
1111

1212
import pefile
1313
from 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

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ classifiers = [
2020
dependencies = [
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]
3333
Homepage = "https://pypi.org/project/abi3audit/"

0 commit comments

Comments
 (0)