Skip to content

Commit

Permalink
swap back to __version__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Jan 31, 2024
1 parent 6069171 commit 0732783
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Rather than forking `dbt-labs/dbt-postgres`, use `dbt-labs/dbt-postgres` directl
[Setting up an environment](https://github.com/dbt-labs/dbt-core/blob/HEAD/CONTRIBUTING.md#setting-up-an-environment)
3. Install `dbt-postgres` and development dependencies in the virtual environment
```shell
pip install -e .[dev]
pip install -e "".[dev]""
```

When `dbt-postgres` is installed this way, any changes made to the `dbt-postgres` source code
Expand All @@ -86,6 +86,8 @@ will be reflected in the virtual environment immediately.
`dbt-postgres` contains [unit](https://github.com/dbt-labs/dbt-postgres/tree/main/tests/unit)
and [functional](https://github.com/dbt-labs/dbt-postgres/tree/main/tests/functional) tests.

To install test dependencies run: `pip install -e ".[test]"`

### Unit tests

Unit tests can be run locally without setting up a database connection:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ include = ["dbt"]
packages = ["dbt"]

[tool.hatch.version]
path = "dbt/adapters/postgres/__about__.py"
path = "dbt/adapters/postgres/__version__.py"

[tool.hatch.envs.default]
features = [
Expand Down

0 comments on commit 0732783

Please sign in to comment.