Skip to content

Commit c71c833

Browse files
authored
Merge pull request #25 from oracle/security_fix/dbt-core==v1.0.8
Bumped dbt-core version to v1.0.8 for a critical security fix.
2 parents fa94c84 + d7462cc commit c71c833

File tree

4 files changed

+26
-7
lines changed

4 files changed

+26
-7
lines changed

Makefile

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Configuration variables
2-
VERSION=1.0.3rc1
2+
VERSION=1.0.4
33
PROJ_DIR?=$(shell pwd)
44
VENV_DIR?=${PROJ_DIR}/.bldenv
55
BUILD_DIR=${PROJ_DIR}/build
@@ -14,14 +14,33 @@ clean: clean_venv
1414
rm -fr ${DIST_DIR}
1515
rm -fr ${BUILD_DIR}
1616

17-
1817
wheel: clean
1918
${PYTHON_3} -m venv ${VENV_DIR}
2019
${VENV_DIR}/bin/pip install --upgrade wheel dataclasses build
2120
${VENV_DIR}/bin/python3 -m build
2221

22+
# Target to test dbt-oracle package in development environment.
23+
# This builds a wheel pkg from source in the current project directory and tests all dbt functionalities.
24+
adbs_local_env_test: wheel clean_venv
25+
${PYTHON_3} -m venv ${VENV_DIR}
26+
${VENV_DIR}/bin/pip install ${DIST_DIR}/dbt_oracle-${VERSION}-py3-none-any.whl
27+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt --version
28+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt debug --profiles-dir ./
29+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt run-operation drop_schema --args 'relation: ${DBT_ORACLE_SCHEMA}' --profiles-dir ./
30+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt deps --profiles-dir ./
31+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt seed --profiles-dir ./
32+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt run --profiles-dir ./
33+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt test --profiles-dir ./
34+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt test --profiles-dir ./
35+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt run --profiles-dir ./
36+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt snapshot --profiles-dir ./
37+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt snapshot --profiles-dir ./
38+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt docs generate --profiles-dir ./
39+
cd dbt_adbs_test_project && ${VENV_DIR}/bin/dbt clean --profiles-dir ./
40+
2341

2442
# Target to test a dbt-oracle package from PyPI.
43+
# This installs a dbt-oracle from PyPI and tests all dbt functionalities
2544
adbs_pypi_test: clean_venv
2645
${PYTHON_3} -m venv ${VENV_DIR}
2746
${VENV_DIR}/bin/pip install dbt-oracle==${VERSION}

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.0.7"
17+
version = "1.0.8"

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = dbt-oracle
3-
version = 1.0.3
3+
version = 1.0.4
44
description = dbt (data build tool) adapter for the Oracle database
55
long_description = file: README.md
66
long_description_content_type = text/markdown
@@ -31,7 +31,7 @@ packages = find:
3131
include_package_data = True
3232
install_requires =
3333
dbt-core==0.21.1; python_version < '3.7'
34-
dbt-core==1.0.7; python_version >= '3.7'
34+
dbt-core==1.0.8; python_version >= '3.7'
3535
cx_Oracle==8.3.0
3636
dataclasses; python_version < '3.7'
3737
test_suite=tests

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
requirements = [
2626
"dbt-core==0.21.1; python_version < '3.7'",
27-
"dbt-core==1.0.7; python_version >= '3.7'",
27+
"dbt-core==1.0.8; python_version >= '3.7'",
2828
"cx_Oracle==8.3.0",
2929
"dataclasses; python_version < '3.7'"
3030
]
@@ -43,7 +43,7 @@
4343

4444
url = 'https://github.com/oracle/dbt-oracle'
4545

46-
VERSION='1.0.3'
46+
VERSION='1.0.4'
4747
setup(
4848
author="Oracle",
4949
python_requires='>=3.6',

0 commit comments

Comments
 (0)