Skip to content

Commit

Permalink
dependencies/relock 2024 02 02 (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti authored Feb 2, 2024
1 parent 0e8cda4 commit 0ab3d8a
Show file tree
Hide file tree
Showing 9 changed files with 202 additions and 191 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Unreleased

🔧 Changed
-----------
- Made pydobc an optional dependency
- Made pyodbc an optional dependency
- Made websockets the default way to use sqlalchemy with exasol
- Added deprecation warnings for pyodbc and trubodbc dialects

Expand Down
6 changes: 3 additions & 3 deletions exasol/driver/websocket/_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ def __init__(
"client_name": client_name,
"client_version": client_version,
"protocol_version": 3,
"websocket_sslopt": {"cert_reqs": ssl.CERT_REQUIRED}
if certificate_validation
else None,
"websocket_sslopt": (
{"cert_reqs": ssl.CERT_REQUIRED} if certificate_validation else None
),
"access_token": None,
"refresh_token": None,
}
Expand Down
1 change: 1 addition & 0 deletions exasol/driver/websocket/_cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.. _PEP-249-cursor: https://peps.python.org/pep-0249/#cursor-objects
"""

import datetime
import decimal
from collections import defaultdict
Expand Down
1 change: 1 addition & 0 deletions exasol/driver/websocket/_protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.. _PEP-249-connection: https://peps.python.org/pep-0249/#connection-objects
.. _PEP-249-cursor: https://peps.python.org/pep-0249/#cursor-objects
"""

from typing import Protocol


Expand Down
1 change: 1 addition & 0 deletions exasol/driver/websocket/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.. _PEP-249-types: https://peps.python.org/pep-0249/#type-objects-and-constructors
"""

from datetime import (
date,
datetime,
Expand Down
1 change: 1 addition & 0 deletions exasol/driver/websocket/dbapi2.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.. _PEP-249: https://peps.python.org/pep-0249/#interfaceerror
.. _exasol-websocket-api: https://github.com/exasol/websocket-api
"""

from exasol.driver.websocket._connection import Connection as DefaultConnection

# Re-export types and definitions required by dbapi2
Expand Down
379 changes: 192 additions & 187 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions test/integration/exasol/test_regression.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This module contains various regression test for issues which have been fixed in the past"""

import pytest
from sqlalchemy import (
Column,
Expand Down
1 change: 1 addition & 0 deletions test/unit/exasol/test_dbapi.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
This module contains compatibility tests for pythons dbapi module interface
"""

import datetime
import importlib

Expand Down

0 comments on commit 0ab3d8a

Please sign in to comment.