Open
Description
PyPI: https://pypi.org/project/sabctools/
GitHub: https://github.com/sabnzbd/sabctools/
Quick reproduction:
❯ docker run --rm -it ghcr.io/astral-sh/uv:0.6.3-python3.13-bookworm /bin/sh
# uv venv -p 3.13
Using CPython 3.13.2 interpreter at: /usr/local/bin/python3.13
Creating virtual environment at: .venv
# uv pip install sabctools
Resolved 1 package in 81ms
Prepared 1 package in 59ms
Installed 1 package in 4ms
+ sabctools==8.2.5
# uv run python
Python 3.13.2 (main, Feb 6 2025, 22:37:13) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sabctools
>>> sabctools.__version__
'8.2.5'
>>> exit
# rm -rf .venv
# uv venv -p 3.13 --python-preference only-managed
Using CPython 3.13.2
Creating virtual environment at: .venv
# uv pip install sabctools
Resolved 1 package in 9ms
Installed 1 package in 13ms
+ sabctools==8.2.5
# uv run python
Python 3.13.2 (main, Feb 12 2025, 14:51:17) [Clang 19.1.6 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sabctools
AttributeError: module '_ssl' has no attribute '__file__'. Did you mean: '__name__'?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import sabctools
File "/.venv/lib/python3.13/site-packages/sabctools/__init__.py", line 2, in <module>
from sabctools.sabctools import *
SystemError: initialization of sabctools raised unreported exception
>>>