diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 66457e8..f839f8c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,22 +9,13 @@ jobs: strategy: matrix: # run static analysis on bleeding and trailing edges - python-version: [ '3.8', '3.10', '3.12' ] + python-version: [ '3.9', '3.12' ] django-version: - - '3.2' # LTS April 2024 - '4.2' # LTS April 2026 - '5.1' # December 2025 exclude: - - python-version: '3.8' + - python-version: '3.9' django-version: '5.1' - - python-version: '3.10' - django-version: '5.1' - - python-version: '3.12' - django-version: '3.2' - - python-version: '3.10' - django-version: '3.2' - - python-version: '3.8' - django-version: '4.2' - python-version: '3.12' django-version: '4.2' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 25eea7a..731e678 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,9 +5,10 @@ on: workflow_dispatch: inputs: debug: - description: 'Set to on, to open ssh debug session.' + description: 'Open ssh debug session.' required: true - default: 'off' + default: false + type: boolean schedule: - cron: '0 13 * * *' # Runs at 6 am pacific every day @@ -509,8 +510,8 @@ jobs: timeout-minutes: 60 - name: Install Oracle Client run: | - curl --output oracle-client.rpm https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-basiclite-21.11.0.0.0-1.el8.x86_64.rpm - sudo apt install alien libaio1 + curl --output oracle-client.rpm https://download.oracle.com/otn_software/linux/instantclient/2116000/oracle-instantclient-basiclite-21.16.0.0.0-1.el8.x86_64.rpm + sudo apt install alien sudo alien -i oracle-client.rpm sudo sh -c 'echo /usr/lib/oracle/21/client64/lib/ > /etc/ld.so.conf.d/oracle.conf' sudo ldconfig diff --git a/pyproject.toml b/pyproject.toml index 3e93baa..cb2fb44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,6 +82,10 @@ numpy = [ {version = ">=1.25", markers = "python_version >= '3.9'"} ] django-stubs = {extras = ["compatible-mypy"], version = ">=4.2.7"} +django-stubs = [ + {version = "<1.25", markers = "python_version < '3.9'"}, + {version = ">=1.25", markers = "python_version >= '3.9'"} +] furo = "^2024.8.6" ruff = "^0.6.3" typing-extensions = "^4.12.2"