Should be able to run without importing Authl et al
Current Behavior
On a fresh environment without auth loaded, ImportError from tokens.py:
File "/Users/fluffy/Library/Caches/pypoetry/virtualenvs/sockpuppet-us-8iqWwwI--py3.11/lib/python3.11/site-packages/publ/entry.py", line 18, in <module>
from . import (caching, cards, html_entry, links, markdown, model, path_alias,
File "/Users/fluffy/Library/Caches/pypoetry/virtualenvs/sockpuppet-us-8iqWwwI--py3.11/lib/python3.11/site-packages/publ/path_alias.py", line 11, in <module>
from . import model, user
File "/Users/fluffy/Library/Caches/pypoetry/virtualenvs/sockpuppet-us-8iqWwwI--py3.11/lib/python3.11/site-packages/publ/user.py", line 19, in <module>
from . import caching, model, tokens, utils
File "/Users/fluffy/Library/Caches/pypoetry/virtualenvs/sockpuppet-us-8iqWwwI--py3.11/lib/python3.11/site-packages/publ/tokens.py", line 14, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
Possible Solution
Since the tokens functionality doesn't rely on authl, requests should be added to Publ's dependencies.
Expected Behavior
Should be able to run without importing Authl et al
Current Behavior
On a fresh environment without auth loaded, ImportError from tokens.py:
Possible Solution
Since the
tokens
functionality doesn't rely on authl,requests
should be added to Publ's dependencies.Steps to Reproduce (for bugs)
1. 2. 3. 4.
Context