You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/07/27 14:42:55 UTC

[GitHub] [beam] AnandInguva opened a new issue, #22471: [Task]: Update Pytest to support Python 3.10

AnandInguva opened a new issue, #22471:
URL: https://github.com/apache/beam/issues/22471

   ### What needs to happen?
   
   Update Pytest >= 6.2.5 to support Python 3.10 for Apache Beam Python SDK.
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: sdk-py-core


-- 
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: github-unsubscribe@beam.apache.org.apache.org

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


[GitHub] [beam] AnandInguva commented on issue #22471: [Task]: Update Pytest to support Python 3.10

Posted by GitBox <gi...@apache.org>.
AnandInguva commented on issue #22471:
URL: https://github.com/apache/beam/issues/22471#issuecomment-1196860388

   `Run XVR_JavaUsingPython_Dataflow PostCommit` was failing with the Pytest update.  This gradle task runs on two times sequentially, with Python 3.7 and with Python 3.9 respectively. 
   
   When Pytest gets updated, the gradle task `:sdks:python:setupVirtualenv` runs only for Python 3.7 and when python 3.9 runs, `:sdks:python:setupVirtualenv` didn't run and it uses the cache from the previous Python run(I suspect this because, next to gradle task it says `UP-TO-DATE` but it shouldn't). 


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] svetakvsundhar commented on issue #22471: [Task]: Update Pytest to support Python 3.10

Posted by "svetakvsundhar (via GitHub)" <gi...@apache.org>.
svetakvsundhar commented on issue #22471:
URL: https://github.com/apache/beam/issues/22471#issuecomment-1572318432

   ```When Pytest gets updated, the gradle task :sdks:python:setupVirtualenv runs only for Python 3.7 and when Python 3.9 runs, :sdks:python:setupVirtualenv didn't run and it uses the cache from the previous Python run(I suspect this because, next to gradle task it says UP-TO-DATE but it shouldn't). This behavior is only observed when Pytest is updated from 4.6 to a version>=6.2.5.```
   
   >> @AnandInguva I'm currently observing this issue with Python 3.9 and PyTest 7.1.2. Is the current workaround to upgrade to Python 3.10?


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] AnandInguva commented on issue #22471: [Task]: Update Pytest to support Python 3.10

Posted by GitBox <gi...@apache.org>.
AnandInguva commented on issue #22471:
URL: https://github.com/apache/beam/issues/22471#issuecomment-1248202882

   .close-issue


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] github-actions[bot] closed issue #22471: [Task]: Update Pytest to support Python 3.10

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #22471: [Task]: Update Pytest to support Python 3.10
URL: https://github.com/apache/beam/issues/22471


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] AnandInguva commented on issue #22471: [Task]: Update Pytest to support Python 3.10

Posted by GitBox <gi...@apache.org>.
AnandInguva commented on issue #22471:
URL: https://github.com/apache/beam/issues/22471#issuecomment-1196853329

   .take-issue


-- 
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: github-unsubscribe@beam.apache.org

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