Commit graph

25 commits

Author SHA1 Message Date
Akhil Narang
a803525933
refactor: ci
- Use bench commands directly
- Drop some redundant checks

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-03-14 00:05:09 +05:30
Akhil Narang
a7a6ce93a6
chore(ci): include v16 in patch test (#35885)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2026-01-13 16:53:21 +05:30
Akhil Narang
47f1c676f9
chore: update actions
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-23 13:27:43 +05:30
Akhil Narang
345f17558a
build(deps): bump to python>=3.14, nodejs>=24
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-12-22 20:33:11 +05:30
dependabot[bot]
a8d4fc9cd1
chore(deps): bump actions/checkout from 5 to 6 (#34871)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-25 11:16:16 +05:30
dependabot[bot]
c8835d7403
chore(deps): bump actions/checkout from 4 to 5 (#33612)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 11:03:25 +05:30
Ankush Menat
7b8eb5d1b6
feat: MariaDB 11.8 support (#32289)
* ci: Switch to MariaDB 11.8

* ci: Use mariadb's latest client libraries

Co-Authored-By: Sagar Vora <sagar@resilient.tech>

---------

Co-authored-by: Sagar Vora <sagar@resilient.tech>
2025-06-12 10:11:24 +00:00
Akhil Narang
4671552fe6
build: switch to node 22 (#32421)
It has LTS, 20 is in maintenance mode

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2025-05-07 10:43:00 +05:30
Ankush Menat
004990e53e
perf: Make frappe._dict great again (#28824)
* perf: Restore dict's flat overrides

Using `super()` is unnecessary cost. This class is used A LOT. Ref: https://github.com/frappe/frappe/pull/16449/

Please consider performance while adding types, it's almost always possible to achieve good typing without this.

Also `frappe._dict` is almost always used as `dict[Any, Any]` or
`dict[str, Any]`, type annotations are useless here.

* ci: ugh wait for processes to exit
2024-12-18 16:36:31 +05:30
Akhil Narang
fadbddff2e
refactor(ci): don't fetch actions from develop
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-16 16:10:46 +05:30
David Arnold
6e02bfedcd
fix: add backward compatibility for 5 item filter (#28678) 2024-12-05 09:10:45 +00:00
Akhil Narang
a390992408
chore: python3.13 support (#28624)
* 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>
2024-12-04 15:35:06 +00:00
David Arnold
7748910ddc
ci: chore revert using forked bench (#28584)
* ci: chore revert using branched bench

merge after is released: https://github.com/frappe/bench/pull/1600

* ci: name downstream job
2024-11-28 09:32:12 +01:00
David Arnold
9ed08706a2
ci: make db-migration arifact part of the workflow inputs (#28604)
* ci: make db-migration arifact part of the workflow inputs

* ci: chore cleanup

* ci: introduce
2024-11-27 21:18:20 +01:00
David Arnold
a4014ab1c4
fix(json-serialization): prioritize explicit __json__ before iterable (#28597) 2024-11-27 13:11:53 +00:00
David Arnold
92fb8e5c04
ci: fix migration base workflow when used downstream git ref (#28589)
* ci: fix migration base workflow when used downstream git ref

* ci: temporarily redirect
2024-11-27 00:28:15 +01:00
David Arnold
306c935fba
ci: fix migration base workflow when used downstream (#28588) 2024-11-26 22:28:55 +00:00
David Arnold
be4a561c92
ci: add a flexible migration pre-step to perpare the environment (#28587) 2024-11-26 21:02:46 +00:00
David Arnold
894c7d871c
ci: prepare shared action for concrete downstream use (#28572)
* ci: cleanup setup action

* ci: make migration & setup downstream-ready

* ci: replace obscure bench remove-app with an equivalent rm -rf
2024-11-26 17:11:08 +00:00
David Arnold
75ed8a8503
ci: small speed up (#28569)
* ci: small speedup

* chore: small fixes
2024-11-25 19:10:34 +01:00
David Arnold
08ef9df94c
ci: fixup bis (#28566) (#28568)
* ci: ensure new success checks fail when they should
2024-11-25 17:43:50 +01:00
David Arnold
4c5ecfa9e2
ci: fixup (#28566)
* ci: fixup

* ci: temporarily redirect to fixed base workflows

the purpose of this is to pass checks and get this fixed base workflows into develop asap
2024-11-25 14:34:05 +00:00
David Arnold
9cab72843f
ci: add unified success actions for checks (#28563) [follow up] (#28564) 2024-11-25 14:47:21 +01:00
David Arnold
7e6380ddc8
ci: add unified success actions for checks (#28563) 2024-11-25 12:48:36 +00:00
David Arnold
120566c0a0
chore: organize gh workflow names (#28562) 2024-11-25 13:10:02 +01:00
Renamed from .github/workflows/patch-base.yml (Browse further)