reduced min scipy req to 1.10 (#178) #65
This file contains 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: Synchronize Documentation Requirements | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'pyproject.toml' | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'pyproject.toml' | |
jobs: | |
update-docs-requirements: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.MY_GITHUB_PAT }} # Use the PAT for checkout | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install tomlkit for Python TOML manipulation | |
run: pip install tomlkit | |
- name: Update docs/requirements.txt | |
run: | | |
python .github/scripts/update_requirements.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.MY_GITHUB_PAT }} # Use the PAT for PR creation | |
commit-message: Update docs/requirements.txt | |
title: '[Automated] Update documentation requirements' | |
branch: update-docs-requirements | |
base: main | |
body: | | |
This is an automated pull request to update the documentation requirements based on pyproject.toml. | |
labels: | | |
automated PR |