You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "abeizn (via GitHub)" <gi...@apache.org> on 2023/04/17 10:35:11 UTC

[GitHub] [incubator-devlake] abeizn opened a new issue, #4944: [Bug][Devops] The python version can not adapt dbt.

abeizn opened a new issue, #4944:
URL: https://github.com/apache/incubator-devlake/issues/4944

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   When I enter the devlake container to execute the `dbt` command through the v0.16.0-beta14  version, an error will be reported. I think it is caused by the python version.
   
   ![image](https://user-images.githubusercontent.com/101256042/232458897-fbc23c26-8ffa-4236-bc0f-6f963e5b9e76.png)
   
   
   ### What do you expect to happen
   
   Executing `dbt` command should have such a result:
   ![eTCgnpkNQ1](https://user-images.githubusercontent.com/101256042/232459710-64e64dcd-3abb-4c7e-924b-ec43573e7bbe.jpg)
   
   
   ### How to reproduce
   
   1. installed devlake by https://devlake.apache.org/docs/next/GettingStarted/DockerComposeSetup (v0.16.0-beta14)
   2. Enter the devlake container and execute `dbt`
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.16.0
   
   ### 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://www.apache.org/foundation/policies/conduct)
   


-- 
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@devlake.apache.org.apache.org

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


[GitHub] [incubator-devlake] keon94 commented on issue #4944: [Bug][Devops] The python version can not adapt dbt.

Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4944:
URL: https://github.com/apache/incubator-devlake/issues/4944#issuecomment-1512184321

   Seems to be python version compatiblity issue. Neither 3.10 nor 3.11 work with it, but 3.10+ is what we're requiring for the python framework.


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] abeizn closed issue #4944: [Bug][Devops] The python version can not adapt dbt.

Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn closed issue #4944: [Bug][Devops] The python version can not adapt dbt.
URL: https://github.com/apache/incubator-devlake/issues/4944


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] CamilleTeruel commented on issue #4944: [Bug][Devops] The python version can not adapt dbt.

Posted by "CamilleTeruel (via GitHub)" <gi...@apache.org>.
CamilleTeruel commented on issue #4944:
URL: https://github.com/apache/incubator-devlake/issues/4944#issuecomment-1512707783

   > Setting the Python base image to 3.9 works, but that means we'll have to downgrade our requirement for the SDK to 3.9. @CamilleTeruel can this be done without consequences or are we relying on 3.10+ features anywhere?
   
   Just a few `match` statements in azuredevops `convert` methods that can be replaced with `if`s.


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] keon94 commented on issue #4944: [Bug][Devops] The python version can not adapt dbt.

Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4944:
URL: https://github.com/apache/incubator-devlake/issues/4944#issuecomment-1512195622

   dbt-mysql is at v0.19, only compatible up to Python 3.9. postgres (v1.4.5) works with 3.11 but its code is broken - it tries to import "Sequence" using "from collections import Sequence" in a few src files (dependencies) but it has to be "from collections.abc import Sequence" to work.


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] keon94 commented on issue #4944: [Bug][Devops] The python version can not adapt dbt.

Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4944:
URL: https://github.com/apache/incubator-devlake/issues/4944#issuecomment-1512208194

   Setting the Python base image to 3.9 works, but that means we'll have to downgrade our requirement for the SDK to 3.9. @CamilleTeruel can this be done without consequences or are we relying on 3.10+ features anywhere?


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] CamilleTeruel commented on issue #4944: [Bug][Devops] The python version can not adapt dbt.

Posted by "CamilleTeruel (via GitHub)" <gi...@apache.org>.
CamilleTeruel commented on issue #4944:
URL: https://github.com/apache/incubator-devlake/issues/4944#issuecomment-1512807513

   The version spec "^3.9" still matches 3.10
   
   PR: #4947


-- 
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@devlake.apache.org

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


[GitHub] [incubator-devlake] abeizn closed issue #4944: [Bug][Devops] The python version can not adapt dbt.

Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn closed issue #4944: [Bug][Devops] The python version can not adapt dbt.
URL: https://github.com/apache/incubator-devlake/issues/4944


-- 
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@devlake.apache.org

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