Skip to content

Commit 95f2a34

Browse files
committed
Use new oracledb client.
1 parent 33d4591 commit 95f2a34

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

oracle/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
install_requires=[
1010
"testcontainers-core",
1111
"sqlalchemy",
12-
"cx_Oracle",
12+
"oracledb",
1313
],
1414
python_requires=">=3.7",
1515
)

oracle/tests/test_oracle.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import sqlalchemy
2-
import pytest
32
from testcontainers.oracle import OracleDbContainer
43

54

6-
@pytest.mark.skip(reason="needs oracle client libraries unavailable on Travis")
75
def test_docker_run_oracle():
86
with OracleDbContainer() as oracledb:
97
e = sqlalchemy.create_engine(oracledb.get_connection_url())

requirements/3.10.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,9 @@ cryptography==36.0.2
127127
# via
128128
# -r requirements.in
129129
# azure-storage-blob
130+
# oracledb
130131
# paramiko
131132
# secretstorage
132-
cx-oracle==8.3.0
133-
# via testcontainers-oracle
134133
deprecation==2.1.0
135134
# via testcontainers-core
136135
distro==1.8.0
@@ -230,6 +229,8 @@ oauthlib==3.2.2
230229
# via requests-oauthlib
231230
opensearch-py==2.0.1
232231
# via testcontainers-opensearch
232+
oracledb==1.2.1
233+
# via testcontainers-oracle
233234
outcome==1.2.0
234235
# via trio
235236
packaging==22.0

requirements/3.7.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,9 @@ cryptography==36.0.2
133133
# via
134134
# -r requirements.in
135135
# azure-storage-blob
136+
# oracledb
136137
# paramiko
137138
# secretstorage
138-
cx-oracle==8.3.0
139-
# via testcontainers-oracle
140139
deprecation==2.1.0
141140
# via testcontainers-core
142141
distro==1.8.0
@@ -246,6 +245,8 @@ oauthlib==3.2.2
246245
# via requests-oauthlib
247246
opensearch-py==2.0.1
248247
# via testcontainers-opensearch
248+
oracledb==1.2.1
249+
# via testcontainers-oracle
249250
outcome==1.2.0
250251
# via trio
251252
packaging==22.0

requirements/3.8.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,9 @@ cryptography==36.0.2
131131
# via
132132
# -r requirements.in
133133
# azure-storage-blob
134+
# oracledb
134135
# paramiko
135136
# secretstorage
136-
cx-oracle==8.3.0
137-
# via testcontainers-oracle
138137
deprecation==2.1.0
139138
# via testcontainers-core
140139
distro==1.8.0
@@ -237,6 +236,8 @@ oauthlib==3.2.2
237236
# via requests-oauthlib
238237
opensearch-py==2.0.1
239238
# via testcontainers-opensearch
239+
oracledb==1.2.1
240+
# via testcontainers-oracle
240241
outcome==1.2.0
241242
# via trio
242243
packaging==22.0

requirements/3.9.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,9 @@ cryptography==36.0.2
127127
# via
128128
# -r requirements.in
129129
# azure-storage-blob
130+
# oracledb
130131
# paramiko
131132
# secretstorage
132-
cx-oracle==8.3.0
133-
# via testcontainers-oracle
134133
deprecation==2.1.0
135134
# via testcontainers-core
136135
distro==1.8.0
@@ -231,6 +230,8 @@ oauthlib==3.2.2
231230
# via requests-oauthlib
232231
opensearch-py==2.0.1
233232
# via testcontainers-opensearch
233+
oracledb==1.2.1
234+
# via testcontainers-oracle
234235
outcome==1.2.0
235236
# via trio
236237
packaging==22.0

0 commit comments

Comments
 (0)