Commit Graph
391 Commits
Author SHA1 Message Date
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
Jeong YunWon 43bd4940ea CI tests update_lib 2026-01-22 20:59:49 +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 94ccfb8b18 Prohibit AI PR submit (#6813) 2026-01-20 21:13:28 +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 DogeonandClaude Opus 4.5 4b5e73577a Add metadata when uploading benchmark data (#6759)
Generate a metadata file alongside criterion benchmark data containing
the commit hash, ref name, and timestamp for tracking purposes.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 21:51:39 +09:00
Jeong, YunWon 941a7bb784 setup ndk on CI (#6773) 2026-01-18 18:02:57 +09:00
Jeong, YunWon c490a357fd relocate scripts (#6753) 2026-01-17 21:52:53 +09:00
Jeong, YunWon ea1e60e9ca mark version to 3.14 2026-01-17 19:21:10 +09:00
Jeong, YunWon c06701abc8 skip test_multiprocessing_{fork,spawn}.test_threads.py (#6735) 2026-01-15 14:29:41 +09:00
Jeong, YunWon b214362ca1 remove polluting tests (#6733) 2026-01-15 08:36:56 +09:00
Jeong, YunWon 7a516c44c9 Update AI docs (#6728)
* update copilot instructions

* upgrade-pylib command
2026-01-14 23:51:41 +09:00
Jeong, YunWon 81d89d1d90 Fix flaky multiprocessing tests (#6725) 2026-01-14 16:59:10 +09:00
6cb763a332 Fix some parts of cron-ci workflow (#6724)
* Use shared PYTHON_VERSION in cron-ci benchmark job

* Correct extra-tests/jsontests.py script

When the `extra_tests/jsontests.py` script was added, it was presumably during
the time when Python versions 3.5 to 3.8 were in use. At that time,
`test.libregrtest.runtest` was a valid path, but from CPython version 3.11
onwards, the path changed to `test.libregrtest.findtests`.

* Use ssl-rustls feature instead of ssl in cron-ci workflow

Replace the ssl feature with ssl-rustls in both the CARGO_ARGS
environment variable and the cargo-llvm-cov test command to fix
the cron-ci workflow.

Since 1a783fc9ec, it is disallowed
to use ssl manually.

* Replace inspect.getargspec with inspect.getfullargspec in custom_text_test_runner

inspect.getargspec() was removed in Python 3.11, causing jsontests.py to
fail with "TypeError: 'NoneType' object is not iterable" when running on
RustPython (which targets Python 3.13).

The get_function_args() function was silently catching the AttributeError
and returning None, which then caused the error in store_class_fields()
when trying to iterate over None.

> https://docs.python.org/3/whatsnew/3.11.html
> The getargspec() function, deprecated since Python 3.0; use
> inspect.signature() or inspect.getfullargspec() instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Exclude rustpython-venvlauncher in cron-ci workflow

Since rustpython-venvlauncher is Windows-only,
it disables the project in the cron-ci workflow.

* Apply suggestion from @fanninpm

Co-authored-by: fanninpm <luxverdans@sbcglobal.net>

* Trigger cron-ci workflow in pull_request

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
Co-authored-by: fanninpm <luxverdans@sbcglobal.net>
2026-01-14 13:28:25 +09:00
Jeong, YunWon 69601a18a4 Upgrade threading to 3.13.11; sys.setprofile & impl more threading (#6691)
* Upgrade threading,test_threading from 3.13.11

* increase ci limit to 45mins

* impl more threading

* no static for asyncgen
2026-01-12 15:33:28 +09:00
Shahar Navehandgithub-actions[bot] 00bfea83bf Update ruff to 0.14.11 in the CI (#6708)
* Update ruff to 0.14.11 in the CI

* Auto-format: cargo fmt --all

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-12 10:52:15 +09:00
Lee Dogeonandgithub-actions[bot] 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
Padraic Fanning 1dcded40b8 Fix YAML formatting issue 2026-01-10 22:52:29 -05:00
Padraic Fanning f9a1f2bda8 Remove test_ssl from list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 8d505dc0e5 Remove test_raise from list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 717265a59a Remove test_import from list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 1c07d3545e Make skip in test_thread_pool os-agnostic 2026-01-10 22:10:35 -05:00
Padraic Fanning ae6deb7437 Skip environment polluter in test.test_concurrent_futures.test_thread_pool 2026-01-10 22:10:35 -05:00
Padraic Fanning e6d2ba06b1 Address coderabbit comments 2026-01-10 22:10:35 -05:00
Padraic Fanning a09ed1bf97 Remove test_subprocess from the list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 55c309669b Remove test_file_eintr from list of polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning d1e75c0ee0 Make env polluter skip in test_threading os-agnostic 2026-01-10 22:10:35 -05:00
Padraic Fanning b76c0a20a8 Skip certain problematic tests in test_threading 2026-01-10 22:10:35 -05:00
Padraic Fanning d170b0281f Remove tests from list of polluting tests 2026-01-10 22:10:35 -05:00
Padraic Fanning 8765d86355 Remove tests from list of environment polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 0a826731cb Mark test_import as polluting the environment 2026-01-10 22:10:35 -05:00
Padraic Fanning 0d128ccc28 Check 10 times if a test is still polluting the environment 2026-01-10 22:10:35 -05:00
Padraic Fanning 3427215611 Add test.test_multiprocessing_fork.test_misc to list of environment
polluters
2026-01-10 22:10:35 -05:00
Padraic Fanning 99168e076c Remove test_ftplib from list of environment polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 9500f6609b Remove test_sys from list of environment polluters 2026-01-10 22:10:35 -05:00
Padraic Fanning 1827af100b Skip tests that pollute the environment for some reason 2026-01-10 22:10:35 -05:00
Padraic Fanning 472c12cad7 Time out if any one test takes longer than 10 minutes 2026-01-10 22:10:35 -05:00
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 9291178b01 Ci gen opcode metadata (#6677)
* Autogen opcode metadata

* Manually modify opcode metadata
2026-01-10 17:33:11 +09:00
Noa bf80d2715d Update to windows-2025 runner on ci (#5571)
* Update to windows-2025 on ci

* Unmark unexpected successes

* Try adding .dll
2026-01-07 12:53:44 +09:00
7b9f0d9657 More tkinter (#5784)
* fix build

* fix usage of Tcl_GetVar2Ex

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

* no panic on mainloop

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

* add static var

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

* fix getvar

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

* add globalgetvar support

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

* formatting

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

* address review

* fix build

* Auto-format: cargo fmt --all

---------

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Co-authored-by: Jeong YunWon <jeong@youknowone.org>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-30 17:07:03 +09:00
Jeong, YunWon 5b20c458af Implement more except* (#6545)
* clean build documentation

* SetExcInfo

* fix EG subclass

* test_except_star
2025-12-27 23:03:23 +09:00
Jeong, YunWon 72a90da13b increase timeout-minutes to 45 (#6541) 2025-12-26 20:39:48 +09:00
Jeong, YunWon 40acd55290 venvlauncher (#6527) 2025-12-26 01:29:58 +09:00
Copilotandyouknowone ebdc033c59 Bundle Lib directory in GitHub releases (#6497)
* Initial plan

* Add Lib directory archives to release workflow

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

* Add release notes explaining users need both binary and Lib archive

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

* Remove unnecessary --notes-start-tag parameter

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

* Only create zip archive, remove tar.gz

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
2025-12-25 09:48:20 +09:00
Jeong, YunWon 09fa97d1b9 CI to test Apple Intel (#6465) 2025-12-21 00:54:05 +09:00
Jeong, YunWon 898fe85f40 More openssl impl (#6464)
* Add openssl build to CI

* more openssl impls
2025-12-21 00:38:50 +09:00
dependabot[bot] e6d9a9aef0 Bump actions/download-artifact from 6.0.0 to 7.0.0 (#6441) 2025-12-15 23:54:53 +09:00