Skip to content

Commit 74aff90

Browse files
committed
fix lint CI, try fix oracle CI
1 parent 6bd7864 commit 74aff90

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,13 @@ jobs:
99
strategy:
1010
matrix:
1111
# run static analysis on bleeding and trailing edges
12-
python-version: [ '3.8', '3.10', '3.12' ]
12+
python-version: [ '3.9', '3.12' ]
1313
django-version:
14-
- '3.2' # LTS April 2024
1514
- '4.2' # LTS April 2026
1615
- '5.1' # December 2025
1716
exclude:
18-
- python-version: '3.8'
17+
- python-version: '3.9'
1918
django-version: '5.1'
20-
- python-version: '3.10'
21-
django-version: '5.1'
22-
- python-version: '3.12'
23-
django-version: '3.2'
24-
- python-version: '3.10'
25-
django-version: '3.2'
26-
- python-version: '3.8'
27-
django-version: '4.2'
2819
- python-version: '3.12'
2920
django-version: '4.2'
3021

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ on:
55
workflow_dispatch:
66
inputs:
77
debug:
8-
description: 'Set to on, to open ssh debug session.'
8+
description: 'Open ssh debug session.'
99
required: true
10-
default: 'off'
10+
default: false
11+
type: boolean
1112
schedule:
1213
- cron: '0 13 * * *' # Runs at 6 am pacific every day
1314

@@ -509,8 +510,8 @@ jobs:
509510
timeout-minutes: 60
510511
- name: Install Oracle Client
511512
run: |
512-
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
513-
sudo apt install alien libaio1
513+
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
514+
sudo apt install alien
514515
sudo alien -i oracle-client.rpm
515516
sudo sh -c 'echo /usr/lib/oracle/21/client64/lib/ > /etc/ld.so.conf.d/oracle.conf'
516517
sudo ldconfig

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ numpy = [
8282
{version = ">=1.25", markers = "python_version >= '3.9'"}
8383
]
8484
django-stubs = {extras = ["compatible-mypy"], version = ">=4.2.7"}
85+
django-stubs = [
86+
{version = "<1.25", markers = "python_version < '3.9'"},
87+
{version = ">=1.25", markers = "python_version >= '3.9'"}
88+
]
8589
furo = "^2024.8.6"
8690
ruff = "^0.6.3"
8791
typing-extensions = "^4.12.2"

0 commit comments

Comments
 (0)