Skip to content

Commit

Permalink
Merge pull request #232 from PrimozGodec/fix-cachecontrol
Browse files Browse the repository at this point in the history
Temporarily fix urllib3 version
  • Loading branch information
PrimozGodec committed May 11, 2023
2 parents 20ab280 + 4d5d423 commit dee3850
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions orangecontrib/imageanalytics/tests/test_dependencies.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from datetime import datetime
from unittest import TestCase


class TestUrllib(TestCase):
def test_remove_urllib_fix(self):
"""
When test start to fail check https://github.com/ionrock/cachecontrol/pull/294
if already fixed and if fix cachecontrol also released. If true:
- remove this test file
- remove urllib3 pin (line 104 and 105)
"""
self.assertLess(datetime.today(), datetime(2023, 5,30))
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ def include_documentation(local_dir, install_dir):
"orange-widget-base >=4.20.0",
"pillow >=6.2.0",
"requests",
# temporary fixes https://github.com/ionrock/cachecontrol/pull/294
"urllib3<2",
"scipy",
],
extras_require={
Expand Down

0 comments on commit dee3850

Please sign in to comment.