Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade test.support to 3.13.2 #5553

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

arihant2math
Copy link
Contributor

@arihant2math arihant2math commented Feb 24, 2025

This will take a while.
The process is updating a file, waiting for CI to return all failing tests, fixing those tests, making sure CI passes and then moving on.

  • Lib\test\support\__init__.py
  • Lib\test\support\_hypothesis_stubs
  • Lib\test\support\interpreters
  • Lib\test\support\ast_helper.py
  • Lib\test\support\asynchat.py
  • Lib\test\support\asyncore.py
  • Lib\test\support\bytecode_helper.py
  • Lib\test\support\hashlib_helper.py
  • Lib\test\support\hypothesis_helper.py
  • Lib\test\support\import_helper.py
  • Lib\test\support\interpreters.py
  • Lib\test\support\logging_helper.py
  • Lib\test\support\os_helper.py
  • Lib\test\support\script_helper.py
  • Lib\test\support\smtpd.py
  • Lib\test\support\socket_helper.py
  • Lib\test\support\testcase.py
  • Lib\test\support\testresult.py
  • Lib\test\support\threading_helper.py
  • Lib\test\support\warnings_helper.py
  • libregrtest (lots of dependency on test.support and needs to bumped)

Known issues

@arihant2math arihant2math marked this pull request as draft February 24, 2025 06:01
@arihant2math arihant2math force-pushed the gradual-test-support-upgrade branch from 1265ec5 to a5f8b95 Compare February 25, 2025 00:34
@arihant2math
Copy link
Contributor Author

arihant2math commented Feb 25, 2025

Here is what I currently have on windows (after running rustpython -m test -x test_glob test_io test_os test_rlcompleter test_pathlib test_posixpath test_venv):

30 tests skipped:
    test.test_multiprocessing_fork.test_manager
    test.test_multiprocessing_fork.test_misc
    test.test_multiprocessing_fork.test_processes
    test.test_multiprocessing_fork.test_threads
    test.test_multiprocessing_forkserver.test_manager
    test.test_multiprocessing_forkserver.test_misc
    test.test_multiprocessing_forkserver.test_processes
    test.test_multiprocessing_forkserver.test_threads
    test.test_multiprocessing_spawn.test_manager
    test.test_multiprocessing_spawn.test_misc
    test.test_multiprocessing_spawn.test_processes
    test.test_multiprocessing_spawn.test_threads test_bz2 test_compile
    test_ctypes test_devpoll test_epoll test_fcntl test_ftplib
    test_grp test_ioctl test_kqueue test_mmap
    test_multiprocessing_main_handling test_openpty test_poll test_pty
    test_pwd test_resource test_syslog

5 tests skipped (resource denied):
    test_smtpnet test_socketserver test_urllib2net test_urllibnet
    test_zipfile64

15 tests altered the execution environment (env changed):
    test_cmd_line_script test_docxmlrpc test_httplib test_import
    test_raise test_shutil test_site test_sqlite3 test_subprocess
    test_sys test_sys_settrace test_threading test_urllib2_localnet
    test_xmlrpc test_zipfile
...
# Failing tests omitted because those are mostly fixable.

I can't tell if the env changes are a cpython 3.12 bug or a rustpython bug, but I will see what I can do.

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
@arihant2math arihant2math force-pushed the gradual-test-support-upgrade branch from f97b4b3 to 56834d6 Compare February 26, 2025 19:53
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.

1 participant