arpitjain099 opened a new pull request, #64929:
URL: https://github.com/apache/doris/pull/64929

   ### What problem does this PR solve?
   
   Issue Number: close #60780
   
   Related PR: N/A
   
   Problem Summary:
   The dbt-doris adapter test suite cannot run on a fresh checkout due to two 
dependency issues that have been broken since early 2025.
   
   **1. dbt-tests-adapter moved to a new repo**
   
   The `dbt-tests-adapter` package was relocated from `dbt-labs/dbt-core` 
(under `tests/adapter`) to `dbt-labs/dbt-adapters` (under `dbt-tests-adapter`). 
The old git URL in `dev-requirements.txt` fails during `pip install`, blocking 
any contributor from setting up the adapter dev environment.
   
   Updated the URL to 
`git+https://github.com/dbt-labs/dbt-adapters.git@main#subdirectory=dbt-tests-adapter`.
   
   **2. pytest-logbook incompatible with logbook 1.8+**
   
   `pytest-logbook==1.2.0` imports `logbook.compat`, which was removed in 
`logbook` 1.8+. Without a pin, pip installs the latest logbook, and every test 
run fails with:
   
   ```
   AttributeError: module 'logbook' has no attribute 'compat'
   ```
   
   Added an explicit `logbook<1.8` pin to keep `pytest-logbook` functional.
   
   **3. mysql-connector-python lower bound**
   
   Raised the lower bound from `>=8.0.0` to `>=8.0.33` to include 
authentication-related fixes in the official connector.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Test
       - [ ] Regression test
       - [ ] Unit Test
       - [x] Manual test (add detailed scripts or steps below)
         - Ran `pip install -r extension/dbt-doris/dev-requirements.txt` in a 
clean virtualenv. All packages resolve and install without errors.
         - Confirmed `pytest-logbook` loads without the `logbook.compat` 
AttributeError.
       - [ ] No need to test or manual test. Explain why:
           - [ ] This is a refactor/code format and no logic has been changed.
           - [ ] Previous test can cover this change.
           - [ ] No code files have been changed.
           - [ ] Other reason
   
   - Behavior changed:
       - [x] No.
   
   - Does this need documentation?
       - [x] No.


-- 
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 specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to