Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@


DEPENDENCIES = (
"cachetools>=2.0.0,<5.0",
'cachetools>=2.0.0,<5.0; python_version < "3.7"',
'cachetools>=2.0.0,<6.0; python_version >= "3.7"',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'cachetools>=2.0.0,<5.0; python_version < "3.7"',
'cachetools>=2.0.0,<6.0; python_version >= "3.7"',
'cachetools>=2.0.0,<6.0',

That shouldn't be necessary. Pip can automatically resolve the compatible version. I.e. pip will choose <5.0 for Python 3.6.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry, I lost track of this PR. I've condensed this down to one pin as suggested.

"pyasn1-modules>=0.2.1",
# rsa==4.5 is the last version to support 2.7
# https://github.com/sybrenstuvel/python-rsa/issues/152#issuecomment-643470233
Expand Down