ahawker / ulid

Universally Unique Lexicographically Sortable Identifier (ULID) in Python 3
Apache License 2.0
705 stars 42 forks source link

No module named 'ulid.api' #479

Closed Reskov closed 4 years ago

Reskov commented 4 years ago

Starting ulid 0.2.0 I get this error when I try to simple install library

(venv) ➜  pip install ulid-py==1.0.0               
Collecting ulid-py==1.0.0
  Using cached https://files.pythonhosted.org/packages/3f/9e/deba154963e4eb00cd31b60f35329359dcbf8ad34a01371c10f32faf3867/ulid_py-1.0.0-py2.py3-none-any.whl
Installing collected packages: ulid-py
  Found existing installation: ulid-py 0.1.0
    Uninstalling ulid-py-0.1.0:
      Successfully uninstalled ulid-py-0.1.0
Successfully installed ulid-py-1.0.0
(venv) ➜  python3 <<< "import ulid" 
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lib/python3.8/site-packages/ulid/__init__.py", line 10, in <module>
    from .api import default, microsecond, monotonic
ModuleNotFoundError: No module named 'ulid.api'

Also, when I download a package from PyPI and unpack it there is not API folder inside

ahawker commented 4 years ago

Yikes. 👀 into it now...

ahawker commented 4 years ago

Version 1.1.0 is available in pypi now and have yanked 1.0.0.

Keeping this issue open (for now) for visibility. Please let me know if this latest package version is working properly for you.

Reskov commented 4 years ago

@ahawker yes, everything is good now! thanks

ahawker commented 4 years ago

@Reskov Excellent. My apologies for the issue and thanks for reporting the issue and confirming the fix!