Skip to content

Commit

Permalink
Merge pull request #262 from PrimozGodec/temp-fix-lxml
Browse files Browse the repository at this point in the history
[FIX] Temporarily skip installing yfinace and pandas_datareader for MacOS
  • Loading branch information
ajdapretnar authored Nov 30, 2023
2 parents a752b99 + 780fbf7 commit e5fbdbd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
16 changes: 16 additions & 0 deletions orangecontrib/timeseries/tests/test_lxml.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import unittest
from datetime import datetime


class TestReintroduceYahoo(unittest.TestCase):
def test_time_bomb(self):
"""
When this test start to fail, check if there are already ARM wheels for
LXML library for Python 3.9 and 3.10. If they exist revert commit that part
of it is also this test.
"""
self.assertLess(datetime.now(), datetime(2024, 1, 1), "Happy new year")


if __name__ == "__main__":
unittest.main()
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@
'statsmodels>=0.13.0',
'python-dateutil',
'pandas', # statsmodels requires this but doesn't have it in dependencies?
'pandas_datareader',
'pandas_datareader; sys_platform!="darwin"',
'numpy',
'scipy>=1.9.2',
'more-itertools',
# required to get current timezone
# adding it does not hurt, Pandas have it as a dependency
'python-dateutil',
'yfinance',
'yfinance; sys_platform!="darwin"',
'pyqtgraph>=0.13.1',
],
extras_require={
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ deps =
oldest: orange-widget-base==4.18.0
oldest: orange-canvas-core==0.1.27
oldest: scipy==1.9.2
oldest: pandas==1.4.0
latest: https://github.com/biolab/orange3/archive/refs/heads/master.zip#egg=orange3
latest: https://github.com/biolab/orange-canvas-core/archive/refs/heads/master.zip#egg=orange-canvas-core
latest: https://github.com/biolab/orange-widget-base/archive/refs/heads/master.zip#egg=orange-widget-base
Expand Down

0 comments on commit e5fbdbd

Please sign in to comment.