[PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-03-28 Thread via GitHub
Taragolis opened a new pull request, #38594: URL: https://github.com/apache/airflow/pull/38594 - [import mode](https://docs.pytest.org/en/latest/explanation/pythonpath.html#import-modes) - [Choosing a test layout / import rules](https://docs.pytest.org/en/latest/explanati

Re: [PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-03-28 Thread via GitHub
Taragolis closed pull request #38594: [Experiment] Use `importlib` import mode for `pytest` URL: https://github.com/apache/airflow/pull/38594 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the spec

Re: [PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-03-28 Thread via GitHub
potiuk commented on PR #38594: URL: https://github.com/apache/airflow/pull/38594#issuecomment-2026264100 interesting . I had no idea pytest is doing that. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above t

Re: [PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-03-28 Thread via GitHub
Taragolis commented on PR #38594: URL: https://github.com/apache/airflow/pull/38594#issuecomment-2026275654 > interesting . I had no idea pytest is doing that. I've found myself it about week ago when try to find how to solve one issue. -- This is an automated message from the Apach

Re: [PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-03-28 Thread via GitHub
Taragolis commented on PR #38594: URL: https://github.com/apache/airflow/pull/38594#issuecomment-2026281241 🤔 🤔 🤔 ```console # Provide existent file path, # so loaded YAML file content should be used to call deserialize_model_dict(), rather than None.

Re: [PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-03-28 Thread via GitHub
potiuk commented on PR #38594: URL: https://github.com/apache/airflow/pull/38594#issuecomment-2026283948 > path = sys.path[0] + "/tests/providers/cncf/kubernetes/pod.yaml" Yeah. Someone took advantage of assuming sys.path will be modified :) -- This is an automated message from the

Re: [PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-03-29 Thread via GitHub
Taragolis commented on code in PR #38594: URL: https://github.com/apache/airflow/pull/38594#discussion_r1544572827 ## pyproject.toml: ## @@ -445,7 +445,15 @@ fixture-parentheses = false # * Disable `flaky` plugin for pytest. This plugin conflicts with `rerunfailures` because p

Re: [PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-05-19 Thread via GitHub
github-actions[bot] commented on PR #38594: URL: https://github.com/apache/airflow/pull/38594#issuecomment-2119466398 This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for you

Re: [PR] [Experiment] Use `importlib` import mode for `pytest` [airflow]

2024-05-25 Thread via GitHub
github-actions[bot] closed pull request #38594: [Experiment] Use `importlib` import mode for `pytest` URL: https://github.com/apache/airflow/pull/38594 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go t