Skip to content

Commit

Permalink
Stop installing prereleases from PyPI in favor of stable releases only (
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeatty10 authored Nov 22, 2024
1 parent f41d1b9 commit 1cc3090
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- checkout
- run: pip install --pre dbt-core dbt-postgres
- run: pip install dbt-core dbt-postgres
- run:
name: "Run Tests - Postgres"
command: |
Expand All @@ -41,7 +41,7 @@ jobs:
- image: cimg/python:3.9
steps:
- checkout
- run: pip install --pre dbt-core dbt-redshift
- run: pip install dbt-core dbt-redshift
- run:
name: "Run Tests - Redshift"
command: |
Expand All @@ -63,7 +63,7 @@ jobs:
- image: cimg/python:3.9
steps:
- checkout
- run: pip install --pre dbt-core dbt-snowflake
- run: pip install dbt-core dbt-snowflake
- run:
name: "Run Tests - Snowflake"
command: |
Expand All @@ -87,7 +87,7 @@ jobs:
- image: cimg/python:3.9
steps:
- checkout
- run: pip install --pre dbt-core dbt-bigquery
- run: pip install dbt-core dbt-bigquery
- run:
name: Setup Environment Variables
command: |
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dev: ## Installs dbt-* packages in develop mode along with development dependenc
@\
echo "Install dbt-$(target)..."; \
python -m pip install --upgrade pip setuptools; \
python -m pip install --pre dbt-core "dbt-$(target)";
python -m pip install dbt-core "dbt-$(target)";

.PHONY: setup-db
setup-db: ## Setup Postgres database with docker-compose for system testing.
Expand Down
7 changes: 2 additions & 5 deletions integration_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,17 @@ Next, install `dbt-core` (and its dependencies) with:
```shell
make dev target=[postgres|redshift|...]
# or
python3 -m pip install --pre dbt-core dbt-[postgres|redshift|...]
python3 -m pip install dbt-core dbt-[postgres|redshift|...]
```

Or more specific:

```shell
make dev target=postgres
# or
python3 -m pip install --pre dbt-core dbt-postgres
python3 -m pip install dbt-core dbt-postgres
```

> [!NOTE]
> The `--pre` flag tells pip to install the latest pre-release version of whatever you pass to install. This ensures you're always using the latest version of dbt, so if your code interacts with dbt in a way that causes issues or test failures, we'll know about it ahead of a release.
Make sure to reload your virtual environment after installing the dependencies:

```shell
Expand Down

0 comments on commit 1cc3090

Please sign in to comment.