Skip to content

Commit ccdf68c

Browse files
Update requirements.txt and test workflows (#41)
* Update requirements.txt * Update tests workflows because MSSQL was failing --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Martin Vergier <martinv13@users.noreply.github.com>
1 parent e6a283c commit ccdf68c

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
integration-tests:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
services:
1414
mssql:
1515
image: mcr.microsoft.com/mssql/server:2019-latest
@@ -31,15 +31,16 @@ jobs:
3131
- name: Install dependencies
3232
run: |
3333
sleep 20
34-
curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
35-
curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
34+
curl -sSL -O https://packages.microsoft.com/config/ubuntu/$(grep VERSION_ID /etc/os-release | cut -d '"' -f 2)/packages-microsoft-prod.deb
35+
sudo dpkg -i packages-microsoft-prod.deb
36+
rm packages-microsoft-prod.deb
3637
sudo apt-get update
37-
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17
38+
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18
3839
python -m pip install --upgrade pip
3940
python -m pip install flake8 .[tests] pyodbc
4041
4142
- name: Test with pytest
4243
run: |
4344
pytest tests -x
4445
env:
45-
DB_STRING: mssql+pyodbc://sa:MyTestPassword1@localhost:1433/master?driver=ODBC+Driver+17+for+SQL+Server
46+
DB_STRING: mssql+pyodbc://sa:MyTestPassword1@localhost:1433/master?driver=ODBC+Driver+18+for+SQL+Server&TrustServerCertificate=yes

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
integration-tests:
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
services:
1414
mysql:
1515
image: mysql:8.0
@@ -46,4 +46,4 @@ jobs:
4646
run: |
4747
pytest tests -x
4848
env:
49-
DB_STRING: mysql+pymysql://root:secretroot@127.0.0.1:3306/test_db
49+
DB_STRING: mysql+pymysql://root:secretroot@localhost:3306/test_db

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ on:
99

1010
jobs:
1111
integration-tests:
12-
runs-on: ubuntu-22.04
13-
container: python:3.12-bookworm
12+
runs-on: ubuntu-24.04
1413
services:
1514
postgres:
1615
image: postgres
1716
env:
1817
POSTGRES_PASSWORD: postgres
1918
TZ: 'Europe/Paris'
2019
PGTZ: 'Europe/Paris'
20+
ports:
21+
- 5432:5432
2122
# Set health checks to wait until postgres has started
2223
options: >-
2324
--health-cmd pg_isready
@@ -43,4 +44,4 @@ jobs:
4344
run: |
4445
pytest tests -x
4546
env:
46-
DB_STRING: postgresql+psycopg2://postgres:postgres@postgres:5432/postgres
47+
DB_STRING: postgresql+psycopg2://postgres:postgres@localhost:5432/postgres

requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
babel==2.17.0
22
backrefs==5.9
3-
certifi==2025.8.3
3+
certifi==2025.10.5
44
charset-normalizer==3.4.3
5-
click==8.2.1
5+
click==8.3.0
66
colorama==0.4.6
7-
duckdb==1.3.2
7+
duckdb==1.4.1
88
duckdb_engine==0.17.0
99
elementpath==5.0.4
1010
ghp-import==2.1.0
@@ -13,16 +13,16 @@ griffe==1.14.0
1313
idna==3.10
1414
iniconfig==2.1.0
1515
Jinja2==3.1.6
16-
lxml==6.0.1
16+
lxml==6.0.2
1717
Markdown==3.9
18-
MarkupSafe==3.0.2
18+
MarkupSafe==3.0.3
1919
mergedeep==1.3.4
2020
mkdocs==1.6.1
2121
mkdocs-autorefs==1.4.3
2222
mkdocs-get-deps==0.2.0
23-
mkdocs-material==9.6.19
23+
mkdocs-material==9.6.21
2424
mkdocs-material-extensions==1.3.1
25-
mkdocstrings==0.30.0
25+
mkdocstrings==0.30.1
2626
mkdocstrings-python==1.18.2
2727
packaging==25.0
2828
paginate==0.5.7
@@ -36,7 +36,7 @@ PyMySQL==1.1.2
3636
pyodbc==5.2.0
3737
pytest==8.4.2
3838
python-dateutil==2.9.0.post0
39-
PyYAML==6.0.2
39+
PyYAML==6.0.3
4040
pyyaml_env_tag==1.1
4141
requests==2.32.5
4242
six==1.17.0

0 commit comments

Comments
 (0)