NineSue commented on code in PR #782:
URL: https://github.com/apache/incubator-graphar/pull/782#discussion_r2474195039


##########
.github/workflows/pyspark.yml:
##########
@@ -53,10 +53,13 @@ jobs:
         python-version: '3.10'
 
     - name: Install Poetry
-      working-directory: pyspark
       run: |
-        yes | sudo python3 -m pip install poetry --quiet
-        poetry env use python3
+        curl -sSL https://install.python-poetry.org | python3 -
+        echo "$HOME/.local/bin" >> $GITHUB_PATH

Review Comment:
   Uh, I changed the installation method because the original one caused an 
error:
   ```
   Run yes | sudo python3 -m pip install poetry --quiet
   ERROR: Cannot uninstall urllib3 2.0.7, RECORD file not found. Hint: The 
package was installed by debian.
   yes: standard output: Broken pipe
   Error: 进程已结束,退出代码为 1.
   ```
   This error happened because the old method tried to uninstall a system 
package, which isn't allowed. 
   To fix this, I used a different method that installs Poetry without touching 
the system packages. It seems there is still some room for discussion, but I 
think it is necessary. What should we do?



-- 
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