epicserve / django-cache-url

Use Cache URLs in your Django Application
MIT License
18 stars 12 forks source link

Versions >=3.1.2 unusable? #8

Closed muchzill4 closed 3 years ago

muchzill4 commented 3 years ago

Is there a problem with packages published to PyPI or am I failing somewhere?

❯ python -m venv .venv && source .venv/bin/activate.fish
.venv ❯ pip install django-cache-url
.venv ❯ python -c "import django_cache_url"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'django_cache_url'

FWIW:

.venv ❯ pip list
Package          Version
---------------- -------
django-cache-url 3.2.1
pip              20.2.3
setuptools       49.2.1
.venv ❯ python --version
Python 3.9.0

Above import does not fail for version 3.1.2.

epicserve commented 3 years ago

@muchzill4, thank you for bringing that to my attention. I'll remove the two versions that don't work from pypi. I made a new release that works. They must have changed something in the setup.py API, because I haven't changed anything in the setup.py. Anyway the release I just made should work.

➜ python -m venv .venv && source .venv/bin/activate

~ via brento took 2s
➜ pip install --no-cache-dir django-cache-url
Collecting django-cache-url
  Downloading django_cache_url-3.2.2-py2.py3-none-any.whl (4.6 kB)
Installing collected packages: django-cache-url
Successfully installed django-cache-url-3.2.2
WARNING: You are using pip version 20.2.3; however, version 21.0.1 is available.
You should consider upgrading via the '/Users/brento/.venv/bin/python -m pip install --upgrade pip' command.

~ via brento
➜ python -c "import django_cache_url"