Skip to content

Commit

Permalink
[TEST_PYTHON_VERSIONS=test-all] upgrade to tox 4
Browse files Browse the repository at this point in the history
  • Loading branch information
PedramNavid committed Aug 6, 2024
1 parent bb9aec7 commit 68f94fa
Show file tree
Hide file tree
Showing 102 changed files with 635 additions and 194 deletions.
5 changes: 4 additions & 1 deletion docs/sphinx/_ext/dagster-sphinx/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_PULL_REQUEST COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_PULL_REQUEST
COVERALLS_REPO_TOKEN
BUILDKITE*
allowlist_externals =
/bin/bash
commands =
Expand Down
7 changes: 6 additions & 1 deletion docs/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ skipsdist = True

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN AWS_SECRET_ACCESS_KEY AWS_ACCESS_KEY_ID BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
AWS_SECRET_ACCESS_KEY
AWS_ACCESS_KEY_ID
BUILDKITE*
allowlist_externals =
make
uv
Expand Down
5 changes: 4 additions & 1 deletion examples/assets_dbt_python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
; note: "source" does not work at this time due to dagster-cloud source access
deps =
Expand Down
5 changes: 4 additions & 1 deletion examples/assets_dynamic_partitions/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/assets_modern_data_stack/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
; note: "source" does not work at this time due to dagster-cloud source access
deps =
Expand Down
5 changes: 4 additions & 1 deletion examples/assets_pandas_pyspark/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/assets_pandas_type_metadata/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/assets_smoke_test/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
6 changes: 5 additions & 1 deletion examples/deploy_docker/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ skipsdist = True

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE* DEPLOY_DOCKER_WEBSERVER_HOST
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
DEPLOY_DOCKER_WEBSERVER_HOST
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
6 changes: 5 additions & 1 deletion examples/deploy_ecs/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ skipsdist = True

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE* DEPLOY_DOCKER_WEBSERVER_HOST
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
DEPLOY_DOCKER_WEBSERVER_HOST
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/deploy_k8s/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = True

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/development_to_production/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = True

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
6 changes: 5 additions & 1 deletion examples/docs_snippets/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN POSTGRES_TEST_DB_HOST BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
POSTGRES_TEST_DB_HOST
BUILDKITE*
; dagstermill test errors prevent using uv, require compat mode install
; install_command = uv pip install {opts} {packages}
install_command = python -m pip install {opts} {packages} --config-settings editable_mode=compat
Expand Down
5 changes: 4 additions & 1 deletion examples/experimental/assets_yaml_dsl/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../../python_modules/dagster[test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../../../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/experimental/dagster-airlift/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/experimental/dagster-blueprints/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/feature_graph_backed_assets/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
8 changes: 7 additions & 1 deletion examples/project_fully_featured/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE* SNOWFLAKE_ACCOUNT SNOWFLAKE_USER SNOWFLAKE_PASSWORD
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
SNOWFLAKE_ACCOUNT
SNOWFLAKE_USER
SNOWFLAKE_PASSWORD
; version resolution using uv
; install_command = uv pip install {opts} {packages}
deps =
Expand Down
5 changes: 4 additions & 1 deletion examples/quickstart_aws/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
; version resolution issues prevent using uv
; install_command = uv pip install {opts} {packages}

Expand Down
5 changes: 4 additions & 1 deletion examples/quickstart_etl/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
; note: "source" does not work at this time due to dagster-cloud source access
deps =
Expand Down
5 changes: 4 additions & 1 deletion examples/quickstart_gcp/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
; note: "source" does not work at this time due to dagster-cloud source access
deps =
Expand Down
5 changes: 4 additions & 1 deletion examples/quickstart_snowflake/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
; note: "source" does not work at this time due to dagster-cloud source access
deps =
Expand Down
5 changes: 4 additions & 1 deletion examples/with_airflow/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
; uv has trouble with resolve
; https://buildkite.com/dagster/dagster-dagster/builds/76502#018dd221-e24c-40c2-a459-693bdb456f8f
; install_command = uv pip install {opts} {packages}
Expand Down
5 changes: 4 additions & 1 deletion examples/with_great_expectations/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/with_pyspark/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/with_pyspark_emr/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion examples/with_wandb/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = true
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE
install_command = uv pip install {opts} {packages}
deps =
-e ../../python_modules/dagster[test]
Expand Down
5 changes: 4 additions & 1 deletion helm/dagster/schema/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../../python_modules/dagster[test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ skipsdist = true

[testenv]
download = True
passenv = CI_* COVERALLS_REPO_TOKEN BUILDKITE*
passenv =
CI_*
COVERALLS_REPO_TOKEN
BUILDKITE*
install_command = uv pip install {opts} {packages}
deps =
-e ../../../python_modules/dagster[test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,18 @@ skipsdist = True

[testenv]
download = True
passenv = HOME AIRFLOW_HOME AWS_* BUILDKITE* CI_* COVERALLS_REPO_TOKEN DAGSTER_* DOCKER_* GOOGLE_* KUBECONFIG POSTGRES_TEST_DB_HOST
passenv =
HOME
AIRFLOW_HOME
AWS_*
BUILDKITE*
CI_*
COVERALLS_REPO_TOKEN
DAGSTER_*
DOCKER_*
GOOGLE_*
KUBECONFIG
POSTGRES_TEST_DB_HOST
install_command = uv pip install {opts} {packages}
deps =
-e ../../../python_modules/dagster[test]
Expand Down
Loading

0 comments on commit 68f94fa

Please sign in to comment.