Downgrade numpy dependency from 2.3.4 to 2.3.3 #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Poetry Lock | |
| on: | |
| push: | |
| paths: | |
| - 'pyproject.toml' | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| update-poetry-lock: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' # Adjust to your preferred Python version | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| version: latest | |
| virtualenvs-create: true | |
| virtualenvs-in-project: true | |
| - name: Cache Poetry dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: .venv | |
| key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} | |
| - name: Update Poetry lock file | |
| run: poetry update | |
| - name: Check for changes in poetry.lock | |
| id: verify-changed-files | |
| run: | | |
| if [ -n "$(git status --porcelain poetry.lock)" ]; then | |
| echo "changed=true" >> $GITHUB_OUTPUT | |
| echo "Poetry lock file was updated" | |
| else | |
| echo "changed=false" >> $GITHUB_OUTPUT | |
| echo "No changes to poetry.lock file" | |
| fi | |
| - name: Create Pull Request | |
| if: steps.verify-changed-files.outputs.changed == 'true' | |
| uses: peter-evans/create-pull-request@v5 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: "chore: update poetry.lock after pyproject.toml changes" | |
| title: "🔄 Update poetry.lock file" | |
| body: | | |
| ## Poetry Lock Update | |
| This PR was automatically created because `pyproject.toml` was modified. | |
| ### Changes | |
| - Updated `poetry.lock` file to reflect dependency changes in `pyproject.toml` | |
| ### Notes | |
| - Please review the dependency changes before merging | |
| - Run tests to ensure compatibility with updated dependencies | |
| - Check for any breaking changes in updated packages | |
| --- | |
| *This PR was created automatically by the Poetry Update workflow* | |
| branch: chore/update-poetry-lock | |
| delete-branch: true | |
| assignees: ${{ github.actor }} | |
| reviewers: ${{ github.actor }} | |
| labels: | | |
| dependencies | |
| automated | |
| poetry |