Skip to content

Commit 71e271c

Browse files
authored
Merge pull request #192 from oracle/dev/v1.10.0
Bump version to 1.10
2 parents 19d6745 + ac0bd69 commit 71e271c

File tree

10 files changed

+27
-17
lines changed

10 files changed

+27
-17
lines changed

.github/workflows/dbt-oracle-adapter-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
fail-fast: true
99
matrix:
1010
os: [ ubuntu-latest ]
11-
python-version: ['3.9', '3.10', '3.11', '3.12']
11+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1212

1313
services:
1414
oracle_db:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Configuration variables
2-
VERSION=1.9.4
2+
VERSION=1.10.0
33
PROJ_DIR?=$(shell pwd)
44
VENV_DIR?=${PROJ_DIR}/.bldenv
55
BUILD_DIR=${PROJ_DIR}/build

dbt/adapters/oracle/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
"""
17-
version = "1.9.4"
17+
version = "1.10.0"

dbt/include/oracle/macros/columns.sql

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,12 @@
5656
{% endfor %}
5757
{%- set cols_csv = quoted | join(', ') -%}
5858
{{ return(cols_csv) }}
59-
{% endmacro %}
59+
{% endmacro %}
60+
61+
{% macro oracle__create_columns(relation, columns) %}
62+
{% for column in columns %}
63+
{% call statement() %}
64+
alter table {{ relation }} add {{ adapter.check_and_quote_identifier(column.name, model.columns) }} {{ column.data_type }}
65+
{% endcall %}
66+
{% endfor %}
67+
{% endmacro %}

dbt_adbs_test_project/models/test_py_ref.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ def model(dbt, session):
22
# Must be either table or incremental (view is not currently supported)
33
dbt.config(materialized="table")
44
dbt.config(async_flag=True)
5-
dbt.config(timeout=900) # In seconds
65
dbt.config(service="HIGH") # LOW, MEDIUM, HIGH
76
# oml.core.DataFrame representing a datasource
87
s_df = dbt.ref("sales_cost")

dbt_adbs_test_project/profiles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dbt_test:
77
pass: "{{ env_var('DBT_ORACLE_PASSWORD') }}"
88
protocol: "tcps"
99
host: "{{ env_var('DBT_ORACLE_HOST') }}"
10-
port: 1522
10+
port: 1521
1111
service: "{{ env_var('DBT_ORACLE_SERVICE') }}"
1212
database: "{{ env_var('DBT_ORACLE_DATABASE') }}"
1313
schema: "{{ env_var('DBT_ORACLE_SCHEMA') }}"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dbt-common>=1.1.0,<2.0
22
dbt-adapters>=1.2.1,<2.0
33
dbt-core~=1.10,<1.11
4-
oracledb==3.3.0
4+
oracledb==3.4.1

setup.cfg

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
[metadata]
22
name = dbt-oracle
3-
version = 1.9.4
3+
version = 1.10.0
44
description = dbt (data build tool) adapter for Oracle Autonomous Database
55
long_description = file: README.md
66
long_description_content_type = text/markdown
77
keywords = Oracle dbt
88
author = Oracle
9-
license = Apache Software License 2.0
9+
license = Apache License 2.0
10+
license_files =
11+
LICENSE.txt
1012
classifiers =
1113
Development Status :: 5 - Production/Stable
1214
Intended Audience :: Developers
13-
License :: OSI Approved :: Apache Software License
1415
Programming Language :: Python :: 3
1516
Programming Language :: Python :: 3.9
1617
Programming Language :: Python :: 3.10
1718
Programming Language :: Python :: 3.11
1819
Programming Language :: Python :: 3.12
20+
Programming Language :: Python :: 3.13
1921

2022
# Map or URL names to links
2123
# Github, PyPI and documentations urls should be added below
@@ -35,7 +37,7 @@ install_requires =
3537
dbt-common>=1.1.0,<2.0
3638
dbt-adapters>=1.2.1,<2.0
3739
dbt-core~=1.10,<1.11
38-
oracledb==3.2.0
40+
oracledb==3.4.1
3941
test_suite=tests
4042
test_requires =
4143
dbt-tests-adapter~=1.10,<1.11

setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"dbt-common>=1.1.0,<2.0",
4444
"dbt-adapters>=1.2.1,<2.0",
4545
"dbt-core~=1.10,<1.11",
46-
"oracledb==3.3.0"
46+
"oracledb==3.4.1"
4747
]
4848

4949
test_requirements = [
@@ -61,24 +61,25 @@
6161

6262
url = 'https://github.com/oracle/dbt-oracle'
6363

64-
VERSION = '1.9.4'
64+
VERSION = '1.10.0'
6565
setup(
6666
author="Oracle",
6767
python_requires='>=3.9',
6868
classifiers=[
6969
'Development Status :: 5 - Production/Stable',
7070
'Intended Audience :: Developers',
71-
'License :: OSI Approved :: Apache Software License',
7271
'Natural Language :: English',
7372
'Programming Language :: Python :: 3',
7473
'Programming Language :: Python :: 3.9',
7574
'Programming Language :: Python :: 3.10',
7675
'Programming Language :: Python :: 3.11',
77-
'Programming Language :: Python :: 3.12'
76+
'Programming Language :: Python :: 3.12',
77+
'Programming Language :: Python :: 3.13'
7878
],
7979
description="dbt (data build tool) adapter for Oracle Autonomous Database",
8080
install_requires=requirements,
81-
license="Apache Software License 2.0",
81+
license="Apache License 2.0",
82+
license_files=["LICENSE.txt"],
8283
long_description=readme,
8384
long_description_content_type='text/markdown',
8485
include_package_data=True,

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3{9,10,11,12}
2+
envlist = py3{9,10,11,12,13}
33

44
[testenv]
55
passenv =

0 commit comments

Comments
 (0)