Commit Graph

15379 Commits

Author SHA1 Message Date
Jeong, YunWon
2da102fab8 FromArgs with error_msg (#6804) 2026-01-20 02:10:19 +09:00
dependabot[bot]
e5720232e1 Bump chrono from 0.4.42 to 0.4.43 (#6803)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.42 to 0.4.43.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.42...v0.4.43)

---
updated-dependencies:
- dependency-name: chrono
  dependency-version: 0.4.43
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 01:43:11 +09:00
dependabot[bot]
aff85c87ce Bump junction from 1.3.0 to 1.4.1 (#6801)
Bumps [junction](https://github.com/tesuji/junction) from 1.3.0 to 1.4.1.
- [Release notes](https://github.com/tesuji/junction/releases)
- [Changelog](https://github.com/tesuji/junction/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tesuji/junction/compare/v1.3.0...v1.4.1)

---
updated-dependencies:
- dependency-name: junction
  dependency-version: 1.4.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 01:42:55 +09:00
dependabot[bot]
b7f55decbd Bump cranelift-jit from 0.127.1 to 0.127.2 (#6800)
Bumps [cranelift-jit](https://github.com/bytecodealliance/wasmtime) from 0.127.1 to 0.127.2.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/RELEASES.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/commits)

---
updated-dependencies:
- dependency-name: cranelift-jit
  dependency-version: 0.127.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-20 01:06:56 +09:00
Jeong, YunWon
82a8f67c71 Replace custom opcodes with CPython standard sequences (#6794)
* Replace custom opcodes with standard sequences

Remove RustPython-specific opcodes (BuildListFromTuples,
BuildMapForCall, BuildSetFromTuples, BuildTupleFromTuples)
and replace their usage with CPython 3.14 standard opcode
sequences:

- BuildListFromTuples → BUILD_LIST + LIST_EXTEND loop
- BuildSetFromTuples → BUILD_SET + SET_UPDATE loop
- BuildTupleFromTuples → BUILD_LIST + LIST_EXTEND + CALL_INTRINSIC_1(ListToTuple)
- BuildMapForCall → DICT_MERGE loop

Implement missing opcodes:
- ListExtend: Extend list with iterable elements
- SetUpdate: Add iterable elements to set
- DictMerge: Merge dict with duplicate key checking

* Auto-generate: generate_opcode_metadata.py

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-01-20 00:34:46 +09:00
Jeong, YunWon
d7a885cea8 sys._clear_type_descriptors (#6795) 2026-01-19 16:43:20 +09:00
Jeong, YunWon
6a064aad3b Drop for PySSLSocket (#6791) 2026-01-19 10:01:11 +09:00
Lee Dogeon
4ab6a45405 Use stdlib native modules in benchmarks (#6792)
Change benchmark interpreter from without_stdlib to with_init to load
Rust-optimized native modules like _json, ensuring benchmarks measure
actual optimized performance rather than pure Python fallbacks.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 08:43:25 +09:00
Jiseok CHOI
00440b179a Update sqlite3 and the tests to CPython 3.14.2 (#6787)
* Update sqlite3, dbm.sqlite3 and tests to CPython 3.14.2

* Add skip decorators for failing sqlite3 tests

Skip tests that fail due to unimplemented features or behavior differences:
- _iterdump not implemented (test_dump.py)
- Unraisable exception handling not implemented (test_hooks.py, test_userfunctions.py)
- Keyword-only arguments not supported for various methods
- Autocommit behavior differences (test_transactions.py)
- TransactionTests skipped due to timeout parameter type issue
- Various error message differences (test_dbapi.py)
- SQLITE_DBCONFIG constants not implemented
- Row and Connection signature inspection issues

All tests now pass with 95 skipped out of 493 total tests.

* Change @unittest.skip to @unittest.expectedFailure per code review

- Convert @unittest.skip decorators to @unittest.expectedFailure for tests that fail without panic/hang
- Keep @unittest.skip only for TransactionTests class (setUp fails with timeout=0 int type)

* fixup
2026-01-19 02:45:47 +09:00
Jeong, YunWon
130bb82a43 LoadClosure as pseudo op (#6789) 2026-01-19 02:45:00 +09:00
Lee Dogeon
9b5eefbb7b Replace _compression with compression and update related too (#6788) 2026-01-19 00:38:51 +09:00
Jeong, YunWon
0717b53123 Align CallFunctionEx to 3.14 (#6786) 2026-01-19 00:37:18 +09:00
Lee Dogeon
ed785e3d86 Bump base64 to 3.14.2 (#6776) 2026-01-19 00:04:06 +09:00
Jeong, YunWon
3a9f020234 update test_sys from 3.14.2 (#6781)
* sys.is_remote_debug_enabled, supports_isolated_interpreters

* Update test_sys form Python 3.14.2

---------

Co-authored-by: CPython Devleopers <>
2026-01-18 23:58:39 +09:00
Jiseok CHOI
050db4725f sqlite3: fix Connection.cursor() factory argument handling (#6783)
Fix test_is_instance in CursorFactoryTests by properly handling the
factory argument in Connection.cursor() method. Now the factory can
be passed as both positional and keyword argument, and returns the
correct subclass type instead of always returning PyRef<Cursor>.

- Use FromArgs derive macro with CursorArgs struct for argument parsing
- Return PyObjectRef instead of PyRef<Cursor> to allow subclasses
- Use fast_issubclass to validate returned cursor is a Cursor subclass
- Properly differentiate between 'no argument' and 'None passed'
2026-01-18 23:37:47 +09:00
Jeong, YunWon
9301ae2746 traverse and clear (#6780) 2026-01-18 23:23:11 +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
Jeong, YunWon
252fa816d6 sys._jit (#6779) 2026-01-18 21:54:44 +09:00
Lee Dogeon
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
d3d63ea2d3 enable test_bytes (#6777) 2026-01-18 21:33:37 +09:00
Jeong, YunWon
6f266651c0 better ssl write handling (#6763)
* ssl_write

* Fix thread count timing
2026-01-18 21:10:35 +09:00
Jeong, YunWon
e0479fe197 Merge pull request #6768 from youknowone/support
Update support to 3.14.2
2026-01-18 20:36:04 +09:00
Jeong, YunWon
e0b19c833c skip flaky test 2026-01-18 20:33:12 +09:00
Jeong, YunWon
8f7b1343bc mark and unmark successful/failing tests 2026-01-18 20:00:15 +09:00
Jeong, YunWon
3836958eaa Make ready_to_import always remove tempdir from sys.path (re-apply #6687) 2026-01-18 20:00:14 +09:00
CPython Devleopers
005014a3f9 Update test.support from 3.14.2 2026-01-18 19:56:55 +09:00
Jeong, YunWon
e0185aefb1 mark failing tests 2026-01-18 19:56:54 +09:00
CPython Devleopers
dfed341ec8 Upgrade unittest from 3.14.2 2026-01-18 19:56:54 +09:00
Lee Dogeon
5242ff5243 Bump json to 3.14.2 (#6774) 2026-01-18 19:16:48 +09:00
Jeong, YunWon
e8dd5826e6 init warnings before site (#6771) 2026-01-18 19:16:02 +09:00
Jeong, YunWon
f8a78e6ab6 stack soft limit (#6754) 2026-01-18 18:09:55 +09:00
Jeong, YunWon
941a7bb784 setup ndk on CI (#6773) 2026-01-18 18:02:57 +09:00
Jeong, YunWon
1ccd99ea20 use ast namespace (#6769) 2026-01-18 17:30:36 +09:00
Jeong, YunWon
eb50246b41 fix annotation (#6767) 2026-01-18 15:24:17 +09:00
Jeong, YunWon
7c7b824aa9 fix asyncgen finalizer (#6761) 2026-01-18 14:18:30 +09:00
fanninpm
e4ce70bbda Update Lib/warnings to CPython 3.14 (#6762)
* Update Lib/warnings to CPython 3.14

* Add context_aware_warnings setting

XXX- The default setting of this and thread_inherit_context should be
true.

* Unmark passing test

* Mark failing tests

* Skip failing test in test_sys for now

Updating test_sys to CPython 3.14 is beyond the scope of this PR.

* test_improper_option is fixed

---------

Co-authored-by: Jeong, YunWon <jeong@youknowone.org>
2026-01-18 13:59:49 +09:00
Jeong, YunWon
96e08a425e Initialize warnings module during interpreter startup to process (#6766) 2026-01-18 13:15:40 +09:00
Jeong, YunWon
6616961d08 skip flaky tests (#6764) 2026-01-18 11:16:25 +09:00
Jeong, YunWon
abea6bd114 traverse for generator (#6760) 2026-01-18 09:36:09 +09:00
Jeong, YunWon
ca76cb7bb0 thread_inherit_context, upgrade threading & contextvar (#6727)
* thread_inherit_context

* Update contextvar, threading from CPython 3.14.2

* partially patch test_sys to 3.14.2

---------

Co-authored-by: CPython Devleopers <>
2026-01-18 08:53:41 +09:00
Jeong, YunWon
11c9b0e783 fix finalizing and atexit timing (#6626)
* fix finalizing and atexit timing

* fix shutdown
2026-01-18 01:54:16 +09:00
Shahar Naveh
8ce5f49908 Update graphlib, heapq, ipaddress to 3.14.2 (#6758) 2026-01-18 01:23:34 +09:00
Jeong, YunWon
6df3753229 Py 3.14 changes fix (#6755)
* marshal v5

* conditional blclk

* fix jit don't use lossy string

* add varname

* symboltable takes responsibility of __debug__
2026-01-18 01:02:40 +09:00
Shahar Naveh
892116c009 Add some compiler tests from 3.13.11 (#6752)
* Add some compiler tests from 3.13.11

* Unmark passing test
2026-01-18 00:26:06 +09:00
Shahar Naveh
6dd5e36d02 Remove misleading placeholder comments (#6757) 2026-01-17 22:53:00 +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
4eb49491a3 Change dockerfile to be available on aarch64 (#6751) 2026-01-17 21:53:13 +09:00
Jeong, YunWon
c490a357fd relocate scripts (#6753) 2026-01-17 21:52:53 +09:00
Jeong, YunWon
273c5a349b Merge pull request #6718 from youknowone/py-3.14
RustPython version to 3.14
2026-01-17 20:58:23 +09:00
github-actions[bot]
60fb4384e1 Auto-format: ruff check --select I --fix 2026-01-17 10:34:53 +00:00