Closed FuhuXia closed 9 months ago
@xSAVIKx Have you seen this before?
Hey @abatilo. No, not really. I'm using this plugin functionality in dozen of places and AFAIK it works just fine.
The only difference is that I'm not using built-in Python and always setting up Python via a respective action
That makes a lot of sense actually @xSAVIKx. @FuhuXia could you try that?
Confirmed, it works with python 3.10 added via actions/setup-python@v5
. Thanks.
...
jobs:
deploy-development:
name: deploy (development)
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ env.POETRY_VERSION }}
poetry-plugins: "poetry-plugin-export"
Run ALL_PLUGINS=$(echo "poetry-plugin-export")
ALL_PLUGINS=$(echo "poetry-plugin-export")
for PLUGIN in $ALL_PLUGINS; do
poetry self add $PLUGIN
done
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
PY_VERSION: 3.10
POETRY_VERSION: 1.7.1
pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib
Using version ^1.6.0 for poetry-plugin-export
Updating dependencies
Resolving dependencies...
No dependencies to install or update
Writing lock file
Seeing PermissionError when install
poetry-plugin-export
with python 3.10 and poetry 1.7.1Snippet from the job:
Error in the log: