Fatal bug fix: typing.Union in jeb_utils.utils was used but not imported

This commit is contained in:
2026-04-02 16:18:21 +02:00
parent 55d3eb8fab
commit bf8423d762
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -77,6 +77,9 @@ pip install jeb-utils --index-url https://repo.jcloud-services.ddns.net/simple/
- `create_file_if_not_exists`: Creates a file if it does not exist. - `create_file_if_not_exists`: Creates a file if it does not exist.
## Changelog ## Changelog
### Version 0.3.1
- Fatal bug fix: `typing.Union` in `jeb_utils.utils` was used but not imported
### Version 0.3.0 ### Version 0.3.0
- Make library backward compatible: use `typing.Union` instead of the `|` operator - Make library backward compatible: use `typing.Union` instead of the `|` operator
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "jeb-utils" name = "jeb-utils"
version = "0.3.0" version = "0.3.1"
description = "Common utils for JEB client and server." description = "Common utils for JEB client and server."
dependencies = ["cryptography"] dependencies = ["cryptography"]
license = "Apache-2.0" license = "Apache-2.0"
+1 -1
View File
@@ -13,7 +13,7 @@
# limitations under the License. # limitations under the License.
import os import os
from typing import Tuple, Literal, Sequence from typing import Tuple, Literal, Sequence, Union
import ipaddress import ipaddress
__all__ = [ __all__ = [