From 03853dc3f99375d226cff7a294ab819770160b7b Mon Sep 17 00:00:00 2001 From: Stefanus Kurniawan Date: Thu, 15 Feb 2024 16:42:10 +1100 Subject: [PATCH] CONFIG: Update dependencies (#302) * CONFIG: Update dependencies * FIX: Stop testing python 3.6.5 in CI * FIX: Bump numpy to 1.23.0 * FIX: Bump CI Python version to 3.8.0 * FIX: Bump the CI Python version to 3.9.5 * FIX: Remove <3.9 versions from tox config * FIX: Ignore `unsubscriptable-object` errors in Pylint --------- Co-authored-by: ucokzeko Co-authored-by: Zac Brannelly --- .github/workflows/build.yml | 16 ++++++++-------- surround/pylintrc | 3 ++- surround/tox.ini | 2 +- surround_cli/pylintrc | 3 ++- surround_cli/requirements.txt | 4 ++-- surround_cli/tox.ini | 2 +- 6 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da019600..9a0a1474 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7.5 + - name: Set up Python 3.9.5 uses: actions/setup-python@v3 with: - python-version: "3.7.5" + python-version: "3.9.5" - name: Install tox run: | # Install tox @@ -40,10 +40,10 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7.5 + - name: Set up Python 3.9.5 uses: actions/setup-python@v3 with: - python-version: "3.7.5" + python-version: "3.9.5" - name: Install tox run: | # Install tox @@ -77,10 +77,10 @@ jobs: startsWith(github.ref_name, 'surround-v') steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7.5 + - name: Set up Python 3.9.5 uses: actions/setup-python@v3 with: - python-version: "3.7.5" + python-version: "3.9.5" - name: Publish run: | cd surround @@ -123,10 +123,10 @@ jobs: startsWith(github.ref_name, 'surround-cli-v') steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7.5 + - name: Set up Python 3.9.5 uses: actions/setup-python@v3 with: - python-version: "3.7.5" + python-version: "3.9.5" - name: Publish run: | cd surround_cli diff --git a/surround/pylintrc b/surround/pylintrc index ce25e6d3..fcd4e71f 100644 --- a/surround/pylintrc +++ b/surround/pylintrc @@ -12,4 +12,5 @@ disable = missing-docstring, attribute-defined-outside-init, relative-beyond-top-level, unused-argument, - too-many-arguments \ No newline at end of file + too-many-arguments, + unsubscriptable-object \ No newline at end of file diff --git a/surround/tox.ini b/surround/tox.ini index f25e08c0..6adf37f7 100644 --- a/surround/tox.ini +++ b/surround/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = python3.6, py37, python3.8, python3.9, python3.10 +envlist = python3.9, python3.10 skip_missing_interpreters = True [testenv] diff --git a/surround_cli/pylintrc b/surround_cli/pylintrc index ce25e6d3..fcd4e71f 100644 --- a/surround_cli/pylintrc +++ b/surround_cli/pylintrc @@ -12,4 +12,5 @@ disable = missing-docstring, attribute-defined-outside-init, relative-beyond-top-level, unused-argument, - too-many-arguments \ No newline at end of file + too-many-arguments, + unsubscriptable-object \ No newline at end of file diff --git a/surround_cli/requirements.txt b/surround_cli/requirements.txt index 1e4ca3a6..3ad4a5a2 100644 --- a/surround_cli/requirements.txt +++ b/surround_cli/requirements.txt @@ -1,5 +1,5 @@ -numpy==1.17.3 -pandas==0.25.2 +numpy==1.23.0 +pandas==2.2.0 doit==0.31.1 pylint==2.4.3 fastapi==0.68.1 diff --git a/surround_cli/tox.ini b/surround_cli/tox.ini index f92715db..13c3c114 100644 --- a/surround_cli/tox.ini +++ b/surround_cli/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = python3.6, py37, python3.8, python3.9, python3.10 +envlist = python3.9, python3.10 skip_missing_interpreters = True [testenv]