Skip to content

Commit

Permalink
New Release: 1.7.0 (#97)
Browse files Browse the repository at this point in the history
* update 1.7.pre to pull from github branch instead of PyPI

* create 1.7.latest requirements off of stable releases

* add 1.7.0 to the test versions

* update scheduled releases to include 1.7.0

* remove dbt-rpc from requirements

* add dbt-rpc back in

* add trino and databricks to the 1.7.pre bundle

* 1.7.latest is ahead of rc1, which causes a conflict with rc1
  • Loading branch information
mikealfare authored Nov 2, 2023
1 parent fb0afb0 commit 2469d8a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scheduled_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
matrix:
# we support the trailing four versions plus the latest pre-release
# and the upcoming version's pre-release.
version: ["1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "1.6.0b2", "1.6.0", "1.7.0b1"]
version: ["1.1.0", "1.2.0", "1.3.0", "1.4.0", "1.5.0", "1.6.0b2", "1.6.0", "1.7.0rc1", "1.7.0"]
with:
version_number: ${{ matrix.version }}
14 changes: 14 additions & 0 deletions release_creation/bundle/requirements/v1.7.latest.requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
dbt-core~=1.7.0 --no-binary dbt-postgres
dbt-snowflake~=1.7.0
dbt-bigquery~=1.7.0
dbt-redshift~=1.7.0
dbt-postgres~=1.7.0
dbt-spark[PyHive,ODBC]~=1.7.0
# dbt-databricks~=1.7.0
# dbt-trino~=1.7.0
dbt-rpc~=0.4.1
grpcio-status~=1.47.0
pyasn1-modules~=0.2.1
pyarrow~=12.0.0,!=12.0.1
pyodbc==4.0.39 --no-binary pyodbc
snowflake-connector-python~=3.0,!=3.0.4
16 changes: 8 additions & 8 deletions release_creation/bundle/requirements/v1.7.pre.requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
dbt-core~=1.7.0b1 --no-binary dbt-postgres
dbt-snowflake~=1.7.0b1
dbt-bigquery~=1.7.0b1
dbt-redshift~=1.7.0b1
dbt-postgres~=1.7.0b1
dbt-spark[PyHive,ODBC]~=1.7.0b1
# dbt-databricks~=1.7.0b1
# dbt-trino~=1.7.0b1
dbt-core~=1.7.0rc1 --no-binary dbt-postgres
dbt-snowflake~=1.7.0rc1
dbt-bigquery~=1.7.0rc1
dbt-redshift~=1.7.0rc1
dbt-postgres~=1.7.0rc1
dbt-spark[PyHive,ODBC]~=1.7.0rc1
dbt-databricks~=1.7.0rc1
dbt-trino~=1.7.0rc1
dbt-rpc~=0.4.1
grpcio-status~=1.47.0
pyasn1-modules~=0.2.1
Expand Down
4 changes: 2 additions & 2 deletions test/integration/bundle/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@


@pytest.mark.parametrize(argnames="test_version",
argvalues=["1.3.0", "1.4.0", "1.5.0", "1.5.0rc1",
"1.6.0b2", "1.6.0", "1.7.0b1", "0.0.0"])
argvalues=["0.0.0", "1.3.0", "1.4.0", "1.5.0rc1", "1.5.0",
"1.6.0b2", "1.6.0", "1.7.0b1", "1.7.0"])
def test_generate_bundle_creates_a_bundle_with_valid_version(test_version):
created_assets = generate_bundle(Version.coerce(test_version))
for asset_name, asset_location in created_assets.items():
Expand Down

0 comments on commit 2469d8a

Please sign in to comment.