diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9dce4526..4293a21f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,52 +17,52 @@ jobs: # If failure occurs on one OS, it is still relevant to see which others may work fail-fast: false matrix: - python-version: ["3.9"] + python-version: ["3.11"] os: [ubuntu-latest] steps: - - name: Github Actor Info - run: | - echo "Workflow triggered by github actor ${{ github.actor }}" + - name: Github Actor Info + run: | + echo "Workflow triggered by github actor ${{ github.actor }}" - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - - name: Checkout - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 - - name: Activate Cache for pip - uses: actions/cache@v3 - id: cache-python-env - with: - path: ${{ env.pythonLocation }} - key: "v3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}" + - name: Activate Cache for pip + uses: actions/cache@v3 + id: cache-python-env + with: + path: ${{ env.pythonLocation }} + key: "v3-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}" - - name: Update pip and friends - run: | - python -m pip install --upgrade pip setuptools wheel - if: steps.cache-python-env.outputs.cache-hit != 'true' + - name: Update pip and friends + run: | + python -m pip install --upgrade pip setuptools wheel + if: steps.cache-python-env.outputs.cache-hit != 'true' - - name: Install TA-lib - # Inspiration for this step is taken from here: https://github.com/mrjbq7/ta-lib/blob/master/.github/workflows/tests.yml - shell: bash - run: | - wget https://raw.githubusercontent.com/mrjbq7/ta-lib/master/tools/build_talib_from_source.bash - chmod +x build_talib_from_source.bash - ./build_talib_from_source.bash $DEPS_PATH - python -m pip install TA-lib - env: - DEPS_PATH: ${{ github.workspace }}/dependencies - TA_INCLUDE_PATH: ${{ github.workspace }}/dependencies/include - TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib + - name: Install TA-lib + # Inspiration for this step is taken from here: https://github.com/mrjbq7/ta-lib/blob/master/.github/workflows/tests.yml + shell: bash + run: | + wget https://raw.githubusercontent.com/mrjbq7/ta-lib/master/tools/build_talib_from_source.bash + chmod +x build_talib_from_source.bash + ./build_talib_from_source.bash $DEPS_PATH + python -m pip install TA-lib + env: + DEPS_PATH: ${{ github.workspace }}/dependencies + TA_INCLUDE_PATH: ${{ github.workspace }}/dependencies/include + TA_LIBRARY_PATH: ${{ github.workspace }}/dependencies/lib - - name: Install pandas-ta - run: | - python -m pip install ".[test]" + - name: Install pandas-ta + run: | + python -m pip install ".[test]" - - name: Run tests - shell: bash - run: | - make tests \ No newline at end of file + - name: Run tests + shell: bash + run: | + make tests diff --git a/requirements.txt b/requirements.txt index cff4aaf3..e52218a8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,13 +2,13 @@ ipython==8.21.0 matplotlib==3.8.2 matplotlib-inline==0.1.6 multitasking==0.0.11 -numba==0.59.0 +numba==0.59.1 numpy==1.26.4 -pandas==2.2.0 +pandas==2.2.2 pandas-datareader==0.10.0 pyarrow==15.0.0 -scipy==1.12.0 +scipy==1.13.1 setuptools=70.0.0 streamlit==1.31.0 TA-Lib==0.4.28 -yfinance==0.2.36 +yfinance==0.2.40