Skip to content

Commit

Permalink
changing to odbc driver 18
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbuckley committed Jan 15, 2025
1 parent 3f51c5b commit 12dd660
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
# Update package lists
sudo apt-get update
# Accept the EULA and install msodbcsql17
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17 unixodbc-dev
# Accept the EULA and install msodbcsql18
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev
- name: Run Pytest with the matrix database
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN if [ "$USE_MSSQL" = "true" && "$(dpkg --print-architecture)" = "amd64" ]; th
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/microsoft.gpg && \
curl https://packages.microsoft.com/config/debian/11/prod.list | tee /etc/apt/sources.list.d/mssql-release.list && \
apt-get update && \
ACCEPT_EULA=Y apt-get install -y msodbcsql17 unixodbc-dev; \
ACCEPT_EULA=Y apt-get install -y msodbcsql18 unixodbc-dev; \
fi

WORKDIR /code
Expand Down
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ services:
api:
condition: service_healthy
profiles:
- algo-test
- algo-test
2 changes: 1 addition & 1 deletion docs/site/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ drivers are installed allowing for connections to:

- **[pyodbc](https://github.com/mkleehammer/pyodbc/wiki) (sqlite)**

Example: `mssql+pyodbc://user:password@localhost/dbname?driver=ODBC+Driver+17+for+SQL+Server`
Example: `mssql+pyodbc://user:password@localhost/dbname?driver=ODBC+Driver+18+for+SQL+Server`


## Docker Configuration
Expand Down

0 comments on commit 12dd660

Please sign in to comment.