Skip to content

Commit

Permalink
fix: pin idna<3 version becasue of version conflict between urlextrac…
Browse files Browse the repository at this point in the history
…t & requests

can be resolved after psf/requests#5710 is fixed
  • Loading branch information
karlicoss committed May 10, 2021
1 parent 92dbf97 commit d6dfc53
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -36,6 +36,7 @@ def main() -> None:
'sqlalchemy', # DB api
'cachew>=0.8.0', # caching with type hints

'idna<3', # temporary, can remove after https://github.com/psf/requests/issues/5710 is resolved
*DEPS_INDEXER,
*DEPS_SERVER,
],
Expand Down
1 change: 0 additions & 1 deletion src/promnesia/sources/browser.py
Expand Up @@ -209,7 +209,6 @@ def _row2visit_firefox(row: sqlite3.Row, loc: Loc) -> Visit:
else:
# milliseconds
ts /= 1_000
print(ts)
dt = datetime.fromtimestamp(ts, pytz.utc)
url = unquote(url) # firefox urls are all quoted
return Visit(
Expand Down

0 comments on commit d6dfc53

Please sign in to comment.