RustPython icon indicating copy to clipboard operation
RustPython copied to clipboard

Refactor, remove symlink pylib/Lib -> Lib and moved path

Open Undersk0re opened this issue 8 months ago • 3 comments

Overview

refactor: reorganized Lib folder structure and updated symlinks

  • moved Lib to pylib/Lib and inverted the symlinks accordingly
  • tested using pdc.sh before and after the refactor
  • no functional changes, only path adjustments

pdc.sh log before refactor

== Tests result: FAILURE ==

292 tests OK.

2 tests failed:
    test_rlcompleter test_support

14 tests skipped:
    test_android test_audit test_compile test_ctypes test_devpoll
    test_kqueue test_multiprocessing_main_handling test_smtpnet
    test_socketserver test_sqlite3 test_urllib2net test_urllibnet
    test_winapi test_zipfile64

Total duration: 19 min 22 sec
Tests result: FAILURE
./pdc.sh: riga 49: pytest: comando non trovato


*********************
PDC failed
     Fail cargo clippy --all -- -Dwarnings
     Fail cargo test --all
     Fail cargo run --release -- -m test -v
     Fail pytest

pdc.sh log after refactor

----------------------------------------------------------------------
Ran 2 tests in 0.001s

OK (skipped=2)
test_zoneinfo passed

== Tests result: FAILURE ==

292 tests OK.

2 tests failed:
    test_rlcompleter test_support

14 tests skipped:
    test_android test_audit test_compile test_ctypes test_devpoll
    test_kqueue test_multiprocessing_main_handling test_smtpnet
    test_socketserver test_sqlite3 test_urllib2net test_urllibnet
    test_winapi test_zipfile64

Total duration: 17 min 54 sec
Tests result: FAILURE
./pdc.sh: riga 49: pytest: comando non trovato


*********************
PDC failed
     Fail cargo clippy --all -- -Dwarnings
     Fail cargo test --all
     Fail cargo run --release -- -m test -v
     Fail pytest

Undersk0re avatar Apr 30 '25 19:04 Undersk0re

recommitted #5746 because i have not the permission to reopen pull requests

Undersk0re avatar Apr 30 '25 21:04 Undersk0re

GH Actions needs to be patched, because it expects Lib/. Additionally this has to be rebased over main due to conflicts.

arihant2math avatar Apr 30 '25 23:04 arihant2math

Switching using Rust path references is a quicker and more stable solution

Undersk0re avatar May 02 '25 20:05 Undersk0re