You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "rs042009 (via GitHub)" <gi...@apache.org> on 2025/03/28 09:07:59 UTC

[I] Missing auth folder in 3.0.0b4 [airflow]

rs042009 opened a new issue, #48483:
URL: https://github.com/apache/airflow/issues/48483

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Hi Team,
   
   I have installed Apache Airflow 3.0.0b4 version. When I am trying to execute the "airflow db migrate", It is throwing the below error.
   
     File "/opt/airflow/venv/lib/python3.10/site-packages/airflow/providers/fab/auth_manager/models/__init__.py", line 47, in <module>
       from airflow.auth.managers.models.base_user import BaseUser
   ModuleNotFoundError: No module named 'airflow.auth'
   
   I could not find the auth folder under airflow.  Please let me know how to fix this issue.
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Step 1: Create the Virtual Environment
   
   Step 2: Install using pip3
   
   Step 3: Execute the command "airflow db migrate"
   
   ### Operating System
   
   WSL2 On Windows
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Missing auth folder in 3.0.0b4 [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil closed issue #48483: Missing auth folder in 3.0.0b4
URL: https://github.com/apache/airflow/issues/48483


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Missing auth folder in 3.0.0b4 [airflow]

Posted by "stephanetrou (via GitHub)" <gi...@apache.org>.
stephanetrou commented on issue #48483:
URL: https://github.com/apache/airflow/issues/48483#issuecomment-2770888626

   Hello, 
   
   I have the same problem when I run `airflow standalone`.  
   But according to [constraints-3.0](https://raw.githubusercontent.com/apache/airflow/refs/heads/constraints-3-0/constraints-3.12.txt), my package manager UV (ie: uv add --constraint ... ) didn't use the right version for apache-airflow-providers-fab (1.5.3) instead of 2.0.0b1. 
   
   Now I have   
   
   ```
   File ".../.venv/lib/python3.12/site-packages/airflow/cli/commands/local_commands/standalone_command.py", line 198, in initialize_database
       self.user_info = {"username": user_name, "password": password}
   ```
   but it is solved when apply the changed from https://github.com/apache/airflow/pull/48036


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Missing auth folder in 3.0.0b4 [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil commented on issue #48483:
URL: https://github.com/apache/airflow/issues/48483#issuecomment-2762056920

   Did you test it with `main` too? `airflow db migrate` works fine -- I just tried too


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Missing auth folder in 3.0.0b4 [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #48483:
URL: https://github.com/apache/airflow/issues/48483#issuecomment-2760622818

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org