Skip to content

Commit 86a706d

Browse files
committed
Filter out 3.9 deprecation warning
Tried as a filterwarnings on pyproject.toml but it was not getting picked up :/
1 parent 2f818a4 commit 86a706d

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/snowflake-integration-tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
# branches: [ "main" ]
99
# Skip on this check PR to minimize the load against Snowflake (and keep PR checks fast)
1010

11-
1211
# Allows you to run this workflow manually from the Actions tab
1312
workflow_dispatch:
1413

@@ -33,7 +32,7 @@ jobs:
3332
- uses: actions/setup-python@v5
3433
with:
3534
python-version: "3.11"
36-
cache: 'pip'
35+
cache: "pip"
3736
cache-dependency-path: pyproject.toml
3837
- run: pip install ".[dev]"
3938
- run: pip install ".[pandas]"
@@ -46,4 +45,4 @@ jobs:
4645
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
4746
SNOWFLAKE_ROLE: ACCOUNTADMIN
4847
SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}
49-
run: pytest tests/ --include-snowflake
48+
run: pytest tests/ --include-snowflake -W "ignore:Python Runtime 3.9 reached its End-Of-Life:DeprecationWarning"

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ name: Run Python unit tests
44
on:
55
# Triggers the workflow on push or pull request events but only for the "main" branch
66
push:
7-
branches: [ "main" ]
7+
branches: ["main"]
88
pull_request:
99
paths:
1010
- "python-wrapper/**" # python code + its resources
1111
- "python-wrapper/pyproject.toml" # dependencies
12-
branches: [ "main" ]
12+
branches: ["main"]
1313

1414
# Allows you to run this workflow manually from the Actions tab
1515
workflow_dispatch:
@@ -36,7 +36,7 @@ jobs:
3636
- uses: actions/setup-python@v5
3737
with:
3838
python-version: ${{ matrix.python-version }}
39-
cache: 'pip'
39+
cache: "pip"
4040
cache-dependency-path: pyproject.toml
4141
- run: pip install ".[dev]"
4242
- run: pip install ".[pandas]"
@@ -45,4 +45,4 @@ jobs:
4545
- run: pip install ".[snowflake]"
4646

4747
- name: Run tests
48-
run: pytest tests/
48+
run: pytest tests/ -W "ignore:Python Runtime 3.9 reached its End-Of-Life:DeprecationWarning"

0 commit comments

Comments
 (0)