Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork74
Add support for Python 3.15#282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -12,12 +12,15 @@ jobs: | ||||||||||||||||||||||||||
| strategy: | ||||||||||||||||||||||||||
| fail-fast: false | ||||||||||||||||||||||||||
| matrix: | ||||||||||||||||||||||||||
| python-version: ["3.15", "3.14", "3.13", "3.12"] | ||||||||||||||||||||||||||
| include: | ||||||||||||||||||||||||||
| - python-version: "3.15" | ||||||||||||||||||||||||||
| branch: "main" | ||||||||||||||||||||||||||
Comment on lines +16 to +18 Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. A possible improvement is to compute the branch and extra opts once and assign them to env vars: Suggested change
This keeps all the data and logic closer and avoids duplication. However we only need the branch and the extra opts once in the workflow, so your less-verbose solution is fine too. MemberAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Yeah, that is quite a bit more verbose, let's stick with the current version. Thanks! | ||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||
| - uses: actions/checkout@v5 | ||||||||||||||||||||||||||
| - uses: actions/setup-python@v6 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| python-version: ${{ matrix.python-version }} | ||||||||||||||||||||||||||
| allow-prereleases: true | ||||||||||||||||||||||||||
| cache: pip | ||||||||||||||||||||||||||
| - name: Clone docsbuild scripts | ||||||||||||||||||||||||||
| @@ -38,16 +41,16 @@ jobs: | ||||||||||||||||||||||||||
| --skip-cache-invalidation | ||||||||||||||||||||||||||
| --theme "$(pwd)" | ||||||||||||||||||||||||||
| --languages en | ||||||||||||||||||||||||||
| --branches ${{ matrix.branch|| matrix.python-version}} | ||||||||||||||||||||||||||
| ${{ matrix.branch == 'main' && '--select-output no-html' || '' }} | ||||||||||||||||||||||||||
Comment on lines +44 to +45 Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Suggested change
| ||||||||||||||||||||||||||
| - name: Show logs | ||||||||||||||||||||||||||
| if: failure() | ||||||||||||||||||||||||||
| run: | | ||||||||||||||||||||||||||
| cat ./logs/docsbuild.log | ||||||||||||||||||||||||||
| - name: Upload | ||||||||||||||||||||||||||
| uses: actions/upload-artifact@v5 | ||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||
| name: doc-html-${{ matrix.python-version }} | ||||||||||||||||||||||||||
| path: www/ | ||||||||||||||||||||||||||
| translations: | ||||||||||||||||||||||||||
Uh oh!
There was an error while loading.Please reload this page.