Skip to content

Commit

Permalink
Use .venv for catalog virtualenv instead of venv (#4369)
Browse files Browse the repository at this point in the history
  • Loading branch information
thegreendrinker authored May 23, 2024
1 parent 9b27da8 commit 0e2ed03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion catalog/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export CATALOG_AIRFLOW_VERSION := `grep '^apache-airflow' requirements-prod.txt
# Create a virtual environment using the project Python version
venv:
# Invokes `python<version>`, like `python3.10`
bash -c "python$CATALOG_PY_VERSION -m venv venv/"
bash -c "python$CATALOG_PY_VERSION -m venv .venv/"

# Check that the active Python version matches the required Python version
check-py-version:
Expand Down
4 changes: 2 additions & 2 deletions documentation/catalog/guides/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ To set up the local python environment along with the pre-commit hook, run:
<!-- vale Vale.Repetition = NO -->

```shell
python3 -m venv venv
source venv/bin/activate
just venv
source .venv/bin/activate
just catalog/install
```

Expand Down

0 comments on commit 0e2ed03

Please sign in to comment.