Skip to content

Conversation

@arihant2math
Copy link
Collaborator

@arihant2math arihant2math commented Feb 13, 2025

  • Importlib to 3.13.2
  • test support to 3.13.2
  • libregrtest to 3.13.2
  • added _colorize superseded by Add _colorize at 3.13.2 #5520
  • test_csv to 3.13.2
  • test_cmd_line to 3.13.2

Rustpython issues I found

  • libregrtest has an unsupported match statement
  • what is implemented of match statements is very broken, it managed to hang itself
  • certain classes in libregrtest (like State), would cause a panic when used normally:

panic!("The symbol '{name}' must be present in the symbol table, even when it is undefined in python.");
from compile.rs.

  • Another different panic
>>>  cargo run -r -- -m test -v test_cmd_line
AttributeError: module 'sys' has no attribute 'stderr'
thread 'main' panicked at vm\src\vm\mod.rs:355:30:
essential initialization failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@arihant2math arihant2math changed the title Importlib upgrade to 3.13.2 Test infrastructure upgrade to 3.13.2 Feb 13, 2025
@arihant2math arihant2math marked this pull request as draft February 13, 2025 18:09
@arihant2math arihant2math force-pushed the importlib-313 branch 2 times, most recently from 3112e7a to 512594b Compare February 13, 2025 18:43
@youknowone
Copy link
Member

#5500

Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
Signed-off-by: Ashwin Naren <[email protected]>
@arihant2math
Copy link
Collaborator Author

arihant2math commented Feb 20, 2025

Current todo list before this can be retried/merged:

  • Fix cargo run -r -- -m test . on windows (it fails right now).
  • Incrementally update test_support to 3.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants