Commit Graph
16800 Commits
Author SHA1 Message Date
dependabot[bot] f92eed52f1 Bump bitflags from 2.11.1 to 2.12.1 (#8082)
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.11.1 to 2.12.1.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.11.1...2.12.1)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-version: 2.12.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-06-12 11:10:21 +09:00
dependabot[bot] 0fe0c706e1 Bump libsqlite3-sys from 0.38.0 to 0.38.1 (#8081)
Bumps [libsqlite3-sys](https://github.com/rusqlite/rusqlite) from 0.38.0 to 0.38.1.
- [Release notes](https://github.com/rusqlite/rusqlite/releases)
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md)
- [Commits](https://github.com/rusqlite/rusqlite/commits)

---
updated-dependencies:
- dependency-name: libsqlite3-sys
  dependency-version: 0.38.1
  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-06-12 11:10:11 +09:00
dependabot[bot] 1ff05a485d Bump chrono from 0.4.44 to 0.4.45 (#8080)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.44 to 0.4.45.
- [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.44...v0.4.45)

---
updated-dependencies:
- dependency-name: chrono
  dependency-version: 0.4.45
  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-06-12 11:10:01 +09:00
dependabot[bot] 61f4961a0b Bump the wasmtime group across 1 directory with 2 updates (#8079)
Bumps the wasmtime group with 1 update in the / directory: [cranelift-jit](https://github.com/bytecodealliance/wasmtime).


Updates `cranelift-jit` from 0.132.0 to 0.132.1
- [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)

Updates `cranelift-module` from 0.132.0 to 0.132.1
- [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.132.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: wasmtime
- dependency-name: cranelift-module
  dependency-version: 0.132.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: wasmtime
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-12 11:09:50 +09:00
Shahar Naveh 1526a06274 TODO: Flaky test -> TODO: RUSTPYTHON; Flaky test (#8078) 2026-06-12 11:09:44 +09:00
Shahar Naveh b35c5c3ead Remove redundant to_owned() calls (#8077) 2026-06-12 11:09:22 +09:00
Shahar Naveh f38b8b8dfd Bump targeted CPython version to 3.14.6 (#8074)
* Bump targeted cpython version to 3.14.6

* Adjust `upgrade-pylib.md`
2026-06-12 11:08:27 +09:00
Shahar Naveh 65dee6c55c Skip flaky asyncio tests (#8075)
* Skip flaky test on windows

* Skip another flaky test
2026-06-11 18:45:34 +09:00
Shahar Naveh 27fbe24343 Don't skip test in test_tempfile.py on all platforms (#8067) 2026-06-11 18:11:30 +09:00
Kwak Byoung Min 9259d22f81 Avoid callable iterator deadlock during sentinel comparison (#8040)
Constraint: Python-level sentinel equality can re-enter the same callable iterator while internal iterator state is protected by a non-reentrant lock.

Rejected: Holding the callable iterator status lock across sentinel equality | user-defined __eq__ can call next() on the same iterator and deadlock.

Confidence: high

Scope-risk: moderate

Tested: pre-commit run --all-files; cargo test --workspace --exclude rustpython_wasm --exclude rustpython-venvlauncher; cargo build --release --features sqlite; pytest -v in extra_tests; cargo run --quiet -- extra_tests/snippets/protocol_iternext.py; cargo check -p rustpython-vm; cargo clippy -p rustpython-vm --all-targets -- -D warnings; git diff --check

Not-tested: push/PR creation

Assisted-by: Codex:gpt-5.5
2026-06-11 13:38:07 +09:00
Shahar Naveh 3a813615de Update some tests to 3.14.5 (#8072)
* Update `test_poll.py` to 3.14.5

* Update `test_utf8_mode.py` to 3.14.5

* Align patches for `test_unpack.py`
2026-06-11 13:36:51 +09:00
Shahar Naveh 0f36637f2a Don't skip test in test_typing.py (#8073) 2026-06-11 13:36:40 +09:00
Shahar Naveh ec60bda802 Update pdb.py to 3.14.5 (#8070)
* Update `pdb.py` to 3.14.5

* Add `test_pdb.py` from 3.14.5

* Update `_pyrepl/types.py`

* Update `_pyrepl/utils.py`

* Mark failing tests

* Mark failing tests
2026-06-11 13:36:30 +09:00
dependabot[bot] 4bc80c81ca Bump shell-quote from 1.8.2 to 1.8.4 in /wasm/demo (#8069)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.2 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.2...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-11 13:36:09 +09:00
Shahar Naveh e45bc449b0 Remove stale patches from test_traceback.py (#8068) 2026-06-11 12:49:08 +09:00
Shahar Naveh e452be9c5b Conditionally skip test_pty tests (#8066) 2026-06-11 12:15:41 +09:00
Shahar Naveh d8380f71c7 Fix test_tty.py tests (#8065)
* Align patches of `test_tty`

* Fix failing tests at `test_tty.py`

* Align patches of `test_termios.py`

* Unmark passing tests under `test_termios.py`

* Unmark another passing test
2026-06-11 12:15:21 +09:00
Bas Schoenmaeckers 110f27b15b Convert claude skills to more generic agent skills (#8064) 2026-06-11 12:13:25 +09:00
dependabot[bot] 11e147110e Bump https://github.com/astral-sh/ruff-pre-commit (#8061)
Bumps [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit) from v0.15.14 to 0.15.15.
- [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases)
- [Commits](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.14...v0.15.15)

---
updated-dependencies:
- dependency-name: https://github.com/astral-sh/ruff-pre-commit
  dependency-version: 0.15.15
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-11 12:12:41 +09:00
Shahar Naveh 65a2c1d284 Skip flakey windows test (#8063) 2026-06-11 12:12:33 +09:00
dependabot[bot] 2450a7baac Bump github/gh-aw from 0.76.1 to 0.77.5 (#8062)
Bumps [github/gh-aw](https://github.com/github/gh-aw) from 0.76.1 to 0.77.5.
- [Release notes](https://github.com/github/gh-aw/releases)
- [Changelog](https://github.com/github/gh-aw/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/gh-aw/compare/58d1bedbb7200f59c2d224151339e38fd8687d05...f990bbb7eb83981a203d4b5eccdc24f677e950c7)

---
updated-dependencies:
- dependency-name: github/gh-aw
  dependency-version: 0.77.5
  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-06-11 12:12:19 +09:00
dependabot[bot] 50eb2b42dd Bump taiki-e/install-action from 2.79.10 to 2.81.1 (#8060)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.79.10 to 2.81.1.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/60ae4ce63c7aeb6e96d7f572c1ec7fafbb17ca80...e49978b799e49ff429d162b7a30601a569ab6538)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.81.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-06-11 12:12:13 +09:00
Shahar Naveh b25155e4fd Add _heapq module (#8059)
* Basic `_heapq` module

* Accept generic siftup functions
2026-06-11 12:11:54 +09:00
Shahar Naveh b77ada9ba4 Code nitpicks (#8058)
* Code nitpicks

* fix error message

* Use `vm.new_.*_error` methods
2026-06-11 11:40:11 +09:00
Shahar Naveh 7f75ef1c55 scripts/update_lib migrate to preserve patches on classes (#8057) 2026-06-10 11:17:50 +09:00
Shahar Naveh a50880ecfe Update test_code.py to 3.14.5 (#8054)
* Update `test_code.py` to 3.14.5

* skip flakey ci test
2026-06-10 11:14:47 +09:00
Shahar Naveh c864885900 Add _blake2 consts (#8053)
* Add `_blake2` consts

* Update `test_hashlib.py` to 3.14.5
2026-06-10 11:14:05 +09:00
Shahar Naveh 28addda34f more clippy rules (#8050)
* `checked_conversions`

* duration_suboptimal_units

* inefficient_to_string

* iter_on_single_items

* needless_collect

* needless_for_each

* ptr_offset_by_literal

* return_self_not_must_use
2026-06-10 11:13:42 +09:00
dependabot[bot] 9f05508c89 Bump rustls-native-certs from 0.8.3 to 0.8.4 (#8049)
Bumps [rustls-native-certs](https://github.com/rustls/rustls-native-certs) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/rustls/rustls-native-certs/releases)
- [Commits](https://github.com/rustls/rustls-native-certs/compare/v/0.8.3...v/0.8.4)

---
updated-dependencies:
- dependency-name: rustls-native-certs
  dependency-version: 0.8.4
  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-06-10 11:05:46 +09:00
dependabot[bot] 3ea37803e8 Bump lz4_flex from 0.13.0 to 0.13.1 (#8047)
Bumps [lz4_flex](https://github.com/pseitz/lz4_flex) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/pseitz/lz4_flex/releases)
- [Changelog](https://github.com/PSeitz/lz4_flex/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pseitz/lz4_flex/compare/0.13.0...0.13.1)

---
updated-dependencies:
- dependency-name: lz4_flex
  dependency-version: 0.13.1
  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-06-10 11:05:39 +09:00
dependabot[bot] 16f661e146 Bump uuid from 1.23.1 to 1.23.2 (#8046)
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.23.1 to 1.23.2.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.23.1...v1.23.2)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 1.23.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-06-10 11:05:29 +09:00
Bas Schoenmaeckers 19ca50898a Add more list functions to the c-api (#8045) 2026-06-10 11:05:18 +09:00
Bas Schoenmaeckers ee4e7203f9 Add more unicode functions to c-api (#8044)
* Add more unicode functions to c-api

* Update crates/capi/src/unicodeobject.rs
2026-06-10 11:04:40 +09:00
Bas Schoenmaeckers a57512192d Add more dict functions to c-api (#8043) 2026-06-10 11:03:29 +09:00
Bas Schoenmaeckers 52afc12159 Add more object functions to c-api (#8042) 2026-06-10 11:02:26 +09:00
Shahar Naveh c13db75373 General code nits (#8041) 2026-06-10 11:00:58 +09:00
Shahar Naveh fb422da87a Add set_attrs! macro for setting multiple attributes on an object (#8034) 2026-06-09 10:12:57 +09:00
dependabot[bot] 51c97b9311 Bump taiki-e/install-action from 2.79.9 to 2.79.10 (#8026)
Bumps [taiki-e/install-action](https://github.com/taiki-e/install-action) from 2.79.9 to 2.79.10.
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/install-action/compare/8f531eaecd1898bc3da7d104ad91bee98d1b97bd...60ae4ce63c7aeb6e96d7f572c1ec7fafbb17ca80)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.79.10
  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-06-04 11:18:46 +09:00
Bas Schoenmaeckers dec99426f9 Add iter support to c-api (#8035) 2026-06-04 10:34:28 +09:00
dependabot[bot] d82250b266 Bump constant_time_eq from 0.4.2 to 0.5.0 (#8028)
Bumps [constant_time_eq](https://github.com/cesarb/constant_time_eq) from 0.4.2 to 0.5.0.
- [Changelog](https://github.com/cesarb/constant_time_eq/blob/main/CHANGES)
- [Commits](https://github.com/cesarb/constant_time_eq/compare/0.4.2...0.5.0)

---
updated-dependencies:
- dependency-name: constant_time_eq
  dependency-version: 0.5.0
  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-06-04 10:07:23 +09:00
dependabot[bot] a8e8ba1155 Bump xml from 1.2.1 to 1.3.0 (#8037)
Bumps [xml](https://github.com/kornelski/xml-rs) from 1.2.1 to 1.3.0.
- [Changelog](https://github.com/kornelski/xml-rs/blob/main/Changelog.md)
- [Commits](https://github.com/kornelski/xml-rs/compare/1.2.1...1.3.0)

---
updated-dependencies:
- dependency-name: xml
  dependency-version: 1.3.0
  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-06-04 09:46:44 +09:00
dependabot[bot] 9cc37cda63 Bump socket2 from 0.6.3 to 0.6.4 (#8039)
Bumps [socket2](https://github.com/rust-lang/socket2) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/socket2/commits)

---
updated-dependencies:
- dependency-name: socket2
  dependency-version: 0.6.4
  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-06-04 09:46:34 +09:00
dependabot[bot] 99bfbad8ee Bump memchr from 2.8.0 to 2.8.1 (#8038)
Bumps [memchr](https://github.com/BurntSushi/memchr) from 2.8.0 to 2.8.1.
- [Commits](https://github.com/BurntSushi/memchr/compare/2.8.0...2.8.1)

---
updated-dependencies:
- dependency-name: memchr
  dependency-version: 2.8.1
  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-06-04 09:46:23 +09:00
dependabot[bot] a0bc9a79e5 Bump log from 0.4.29 to 0.4.30 (#8036)
Bumps [log](https://github.com/rust-lang/log) from 0.4.29 to 0.4.30.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.29...0.4.30)

---
updated-dependencies:
- dependency-name: log
  dependency-version: 0.4.30
  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-06-04 09:46:15 +09:00
dependabot[bot] c2ed8d7c82 Bump libsqlite3-sys from 0.37.0 to 0.38.0 (#8029)
Bumps [libsqlite3-sys](https://github.com/rusqlite/rusqlite) from 0.37.0 to 0.38.0.
- [Release notes](https://github.com/rusqlite/rusqlite/releases)
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md)
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: libsqlite3-sys
  dependency-version: 0.38.0
  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-06-03 15:27:44 -04:00
dependabot[bot] 0f446722ec Bump junction from 1.4.2 to 2.0.0 (#8027)
Bumps [junction](https://github.com/tesuji/junction) from 1.4.2 to 2.0.0.
- [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.4.2...v2.0.0)

---
updated-dependencies:
- dependency-name: junction
  dependency-version: 2.0.0
  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>
2026-06-03 14:32:40 -04:00
Bas Schoenmaeckers c061013ae5 Add PyDictProxy_New to the c-api (#8033) 2026-06-03 15:45:26 +00:00
Jeong, YunWon f43ae46738 xz (#7756) 2026-06-04 00:18:55 +09:00
Bas Schoenmaeckers 57d1695a63 Add basic module functions to c-api (#8032) 2026-06-03 22:52:17 +09:00
Shahar Naveh 23ba8d6345 Update test_sys{log,_settrace}.py to 3.14.5 (#8030)
* Update `test_syslog.py` to 3.14.5

* Update `test_sys_settrace.py` to 3.14.5
2026-06-03 22:51:41 +09:00