Commit Graph

65 Commits

Author SHA1 Message Date
Jeong, YunWon
f35791ec64 Fix update_lib tests (#6866) 2026-01-24 22:47:03 +09:00
Jeong, YunWon
0cc8f63849 [update_lib] deps grouping (#6854) 2026-01-24 21:29:11 +09:00
Jeong, YunWon
691d2816f9 update_lib todo also shows test todo (#6859)
also tracking untracked files considered in  #6775
2026-01-24 16:04:36 +09:00
Noa
f842fbe25d Use std::fmt::from_fn (#6850)
New in 1.93 - replaces our ad-hoc equivalent types.
2026-01-24 09:21:45 +09:00
Jeong, YunWon
180c68e76b improve deps CI formatting and name resolution (#6847)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Improvements**
* Enhanced test module dependency tracking in automated checks to
properly identify and report test-related dependencies.
* Improved dependency resolution logic with better module name mapping
and deduplication for clearer dependency reporting.
* Refined formatting of dependency information and todo items for
improved readability.
* Dependency review comments now automatically refresh with the latest
information when updated.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-24 00:32:32 +09:00
Lee Dogeon
9b56aa5b60 [update_lib] show dependent tests in deps subcommand (#6828)
---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2026-01-23 08:13:16 +09:00
fanninpm
122fac9c53 Optimize CI cache usage (#6707)
* Make whats_left.py compile with same settings as before

* Add --no-default-features to scripts/whats_left.py

* Build RustPython with no default features

* Retrigger CI
2026-01-21 20:17:42 +09:00
Jeong, YunWon
d690b2d65e [update_lib] todo subcommand (#6823)
* [update_lib] todo

* better CI comment
2026-01-21 09:00:45 +09:00
Jeong, YunWon
58c804309b [update_lib] show deps (#6821)
* show_deps

* soft deps tree

* show deps CI
2026-01-21 01:25:30 +09:00
Jeong, YunWon
5ef8d48e5a update_lib hard dependency resolver (#6817)
* update_lib __init__ handling

* dependency

* Auto-format: ruff format

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-20 23:52:28 +09:00
github-actions[bot]
f1fd1e9121 Auto-format: ruff format 2026-01-20 11:38:26 +09:00
Jeong, YunWon
41cdc5cd5b BooleanOptionalAction 2026-01-20 11:38:26 +09:00
Lee Dogeon
876d3f5e80 Correct testcase 2026-01-20 11:38:26 +09:00
Lee Dogeon
fe6a60ade7 Fix error lines extraction 2026-01-20 11:38:26 +09:00
Jeong, YunWon
d119c47d2e Remake update_lib 2026-01-20 11:38:26 +09:00
Jeong, YunWon
2b8fac3af3 auto mark parent tests (#6778)
* don't skip auto-format

* auto mark parent
2026-01-18 22:06:07 +09:00
Lee Dogeon
3d86b26caf Complement upgrade-pylib Claude Code command (#6742)
* Insert unittest import line if it doesn't exist

* Complement upgrade-pylib Claude Code command

* Ensure test module having import statement at least one
2026-01-17 21:54:16 +09:00
Jeong, YunWon
c490a357fd relocate scripts (#6753) 2026-01-17 21:52:53 +09:00
Jeong, YunWon
133bdf655e auto_mark_test uses regex to check Run tests? sequentially 2026-01-17 19:22:18 +09:00
Jeong, YunWon
c934265304 rename fix_test and support removing unexpected success (#6748)
* fix_test to remove unexpected success

* rename fix_test

* Auto-format: ruff format

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-17 00:11:20 +09:00
Shahar Naveh
e3890f9b4a Bytecode pseudo opcodes (#6715) 2026-01-15 02:52:25 +09:00
Jeong, YunWon
13a875f609 fix backslash handling in fix_test.py (#6729) 2026-01-15 00:01:14 +09:00
Jeong, YunWon
4d7a289971 fix lib_update backslash support (#6719) 2026-01-13 19:02:34 +09:00
Lee Dogeon
f3b7f7fd47 Clarify commit message from pr-auto-commit (#6706)
* Clarify commit message from pr-auto-commit

* Auto-format: cargo fmt --all

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-12 08:08:50 +09:00
Jeong, YunWon
12f08d6ed5 Merge pull request #6698 from youknowone/quick-import
preparing step to integrate fix_test into lib_updater
2026-01-11 17:20:14 +09:00
Jeong YunWon
f2d5594288 fix_test --quick-import 2026-01-11 16:48:21 +09:00
Shahar Naveh
440b8de763 Move Instruction enum to its own file (#6693)
* Move `Instruction` to its own file

* Fix codegen and frame.rs

* Adjust script
2026-01-11 10:04:24 +09:00
Jeong YunWon
2a1faf4265 integrate to lib_updater 2026-01-11 00:47:06 +09:00
Jeong, YunWon
3909b18eac lib_updater --quick-upgrade (#6695) 2026-01-11 00:11:41 +09:00
Shahar Naveh
6fe05987f0 Remove Reverse bytecode (#6675)
* Remove `Reverse` bytecode

* Update crates/compiler-core/src/bytecode.rs

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>

* Gen

* Remove Reverse

* Auto-format: cargo fmt --all

* Revert comment

* Remove debug code

* Fix CI

---------

Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-10 18:55:15 +09:00
Shahar Naveh
c2bfdf30bd Assign opcode ids (#6637) 2026-01-09 22:52:47 +09:00
Terry Tianlin Luan
8977c39b60 Updated the re library + test (#6648)
* Updated re library + test

* Copied over generate_sre_constants from cpython/Tools

* Customized `generate_sre_constants.py` + ran to update `constants.rs`

* Clarified `dump_enum` docstring in `generate_sre_constants.py`
2026-01-05 13:55:07 +09:00
Jeong, YunWon
eee360822c Rework compiler about exception handling (#6638)
* asyncgen

* fix coroutine

* rewrite compiler

* tests

* set pyc magic number
2026-01-04 09:15:38 +09:00
Jeong, YunWon
7bfa5d9ced Buffer LongDouble + ndim (#6460)
* fix fix_test

* ndim buffer
2025-12-20 18:31:00 +09:00
Jeong, YunWon
ab1105a61d Fix fix_test.py (#6415) 2025-12-20 09:55:28 +09:00
Shahar Naveh
9ccf4c1872 Ruff auto-format (#6422) 2025-12-12 22:46:39 +09:00
ShaharNaveh
081a8f0451 Regenerate libc constatnts 2025-11-27 17:16:42 +02:00
Jeong, YunWon
614028f9a8 more ssl impl (#6228) 2025-10-29 23:01:04 +09:00
Shahar Naveh
f429ac4939 Use ast.unparse for generating patches with lib_updater.py (#6142)
* Use `ast.unparse` for decorator generation and every ut_method

* Ensure ut_method type for external patches

* use textwrap

* Apply patches to `test_os.py`

* Apoly on `test_xml_etree.py`

* Run on some test files

* Update `test_str.py`

* Update `test_logging.py` from 3.13.7
2025-09-11 22:42:19 +09:00
Shahar Naveh
c5c2bd050d Add tool for easier test updates (#6089)
* Add scripts/lib_updater.py

* Update `Lib/test/test_os.py` with tool

* Update `test_list.py` as well
2025-09-07 16:05:54 +09:00
Shahar Naveh
056795eed4 Attenpt to automate posix consts (#6117) 2025-09-03 22:19:30 +09:00
Jeong, YunWon
0095941fb7 ruff format (#5845) 2025-06-27 15:06:35 +09:00
Ashwin Naren
5a81533f61 stdlib compatability checking scripts (#5697)
* stdlib compat checking scripts

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>

* update output

---------

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-06-27 13:49:53 +09:00
Rex Ledesma
b696e56c5f chore: rely on the default inclusions for ruff 2025-05-15 19:15:51 +09:00
Ashwin Naren
c97f4d1daf Failure marker (#5695)
* initial auto-upgrader

* platform support

* use ast walking

* detect testname automatically

* handle classes properly

* add instructions to fix_test.py
2025-04-24 13:28:38 +09:00
Jeong YunWon
0e00d2328d wasm32-wasi -> wasm32-wasip1 2025-01-13 15:06:29 +09:00
Jeong YunWon
2c2e0fb172 pyperf bench script 2024-08-07 08:38:21 +09:00
Zanie
6363940d6c Delete stale ASDL update script 2023-07-11 15:27:16 -05:00
Jim Fasarakis-Hilliard
06c6244599 Fix failures in the cron ci. (#5002) 2023-06-11 14:23:17 +03:00
dvermd
c1aa5dfcbe remove scripts/generate_docs.py 2022-10-24 15:38:42 +02:00