* chore: python3.13 support
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* chore: bump pydantic
```
error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)
= help: please check if an updated version of PyO3 is available. Current version: 0.21.2
= help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
```
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* chore: bump uuid-utils
https://katb.in/ahaqabugefo
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* chore: bump RestrictedPython
7.4 has support for py3.13
https://restrictedpython.readthedocs.io/en/latest/changes.html#id1
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* fix(deprecation_dumpster): import functools uncondtionally
Used here: 60f0b1d5c7/frappe/deprecation_dumpster.py (L177C10-L177C19)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
* chore(docref): improve error message
* fix: error on unability to hash; TypeError expected
* fix: migrate from 3.10 onwards
---------
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: David <dgx.arnold@gmail.com>
35 lines
845 B
YAML
35 lines
845 B
YAML
name: Regenerate POT file (translatable strings)
|
|
on:
|
|
schedule:
|
|
# 9:30 UTC => 3 PM IST Sunday
|
|
- cron: "30 9 * * 0"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
regenerate-pot-file:
|
|
name: Regenerate POT file
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
branch: ["develop"]
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ matrix.branch }}
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Run script to update POT file
|
|
run: |
|
|
bash ${GITHUB_WORKSPACE}/.github/helper/update_pot_file.sh
|
|
env:
|
|
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
|
BASE_BRANCH: ${{ matrix.branch }}
|