GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update Python libraries and tests from Python 3.13 · Issue #5529 · RustPython/RustPython

Update Python libraries and tests from Python 3.13 #5529

New issue
Copy link
New issue
Copy link
Closed
#6593
Closed
Update Python libraries and tests from Python 3.13#5529
#6593
Copy link
Labels
A-stdlibC-compatA discrepancy between RustPython and CPythonA discrepancy between RustPython and CPythonC-enhancementNew feature or requestNew feature or requestcpythonCPython source code relatedCPython source code relatedgood first issueGood for newcomersGood for newcomers

Description

@youknowone
youknowone
opened on Feb 20, 2025
Issue body actions

Though it will be sometimes blocked by rust side issues, don't worry!
Please just create PR about the broken test and and create issues related to the new bugs.

If you are new to updating cpython libraries, this guide will be useful:
https://github.com/RustPython/RustPython/wiki/How-to-update-test-files

When updating module Lib/X, please don't forget to also update Lib/test/test_X

A few libraries doesn't need to be updated because CPython also kept it same as previous version. In that case, please leave a comment to let us mark it as done. Thank you!

Tips

  • To get specific version of CPython source code, e.g. try git checkout v3.13.1 from CPython repository.
  • Please check Update libraries and tests from CPython 3.10.6 #4064 for example. Not the entire changes but the each commits. One of the middle size example is 17e12de . Sometimes it can be really simple like 9571a68
  • Please create one PR for one library+test pair whenever possible. Once you stuck by dependencies, go to one of the dependency first and finish it before restarting the stuck one unless they become simpler to be updated at the same time. Normally adding more libraries make passing tests (a lot) harder.
  • To run tests, try cargo run --features ssl -- -m test -v <test_name>. e.g. If you changed test_unicode.py, cargo run --features ssl -- -m test -v test_unicode
    • If it runs too slow, try to add --release like cargo run --release --features ssl -- -m test -v test_unicode

List of libraries

  • __future__.py
    • Related test is test_future_stmt
  • _colorize Add _colorize at 3.13.2 #5520 Update _colorize.py from 3.13.5 #5988
  • _compression.py
  • _markupbase.py
  • _osx_support.py _osx_support update to 3.13.2 #5596
  • _threading_local.py
  • _weakrefset.py Update _weakrefset.py from 3.13.5 #6004
  • abc.py Upgrade abc.py _py_abc.py to 3.13.5 #5865
    • _collections_abc.py
    • _py_abc.py
  • aifc.py removed in 3.13
  • argparse.py Update argparse to 3.13.5 #5874
  • ast.py Update ast.py from 3.13.5 #6006
  • asynchat.py removed in 3.13 Remove asynchat and asyncore #5688
  • asyncio Update asyncio library #6601
  • asyncore.py removed in 3.13 Remove asynchat and asyncore #5688
  • base64.py Update base64.py from 3.13.6 #6087 Update base64 3.13.5 #5872
  • bdb.py Updated bdb.py + test_bdb.py #6593
  • bisect.py not changed
  • bz2.py Fix bz2 module #5605 Update bz2.py from 3.13.5 #6055
  • calendar.py Update calendar and test_calendar to 3.13.2 #5696
  • cgi.py removed in 3.13 Remove cgi module #5597
  • cgitb.py removed in 3.13 Remove cgitb module #5609
  • chunk.pyremoved in 3.13
  • cmd.py Update cmd from 3.13.5 #5920
  • code.py Update straightforward packages Pt 1 #6595
    • test_code_module is related test
  • codecs.py Update codecs from 3.13.7 #6130
    • _pycodecs.py
  • codeop.py Update codeop.py from 3.13.5 #6026
  • collections Update test_collections.py from 3.13.7 #6136
    • See also Introduce _collections.OrderedDict type (a.k.a. collections.OrderedDict) #3418
  • colorsys.py Update some libraries to 3.13.3 #5731
  • compileall.py Update compileall from 3.13.5 #5914
  • concurrent
  • configparser.py Update configparser.py from 3.13.5 #6062
  • contextlib.py Update contextlib from 3.13.5, #6056
    • test/test_contextlib_async.py
  • contextvars.py not changed
  • copy.py Update copy from 3.13.5 #5913
  • copyreg.py not changed
  • csv.py Update csv.py from 3.13.5 #6035 Update struct to 3.13.3 and update parts of test.support #5702
  • ctypes
    • Implement the ctypes module #1217
    • See also Ctypes implementation #2364
  • dataclasses.py pending match statement support.
  • datetime.py Update test_datetime from 3.13.5 #5911
    • _pydatetime.py Update straightforward packages Pt 1 #6595
  • dbm
  • decimal.py Update {_py,}decimal.py from 3.13.5 #6034 Update struct to 3.13.3 and update parts of test.support #5702
    • _pydecimal.py
  • difflib.py Update difflib.py from 3.13.5 #6067
  • dis.py Update opcode from 3.13.7 #6156
    • see also Add missing dis features for modulefinder #3846
  • distutils Update straightforward packages Pt 1 #6595
  • doctest.py Update straightforward packages Pt 1 #6595 Added doctest tests #6598
  • email
  • encodings Update {io,encodings} from 3.13.7 #6153
  • ensurepip Update ensurepip from CPython 3.13.9 #5740
  • enum.py Updated enum + file_cmp library + tests - v3.13.10 #6606
  • filecmp.py Updated enum + file_cmp library + tests - v3.13.10 #6606
  • fileinput.py More stdlib updates #5737
  • fnmatch.py Update fnmatch from 3.13.7 #6149
  • fractions.py Update the fractions and ftplib libraries + associated tests - v.3.13.10 #6607
  • ftplib.py Update the fractions and ftplib libraries + associated tests - v.3.13.10 #6607
  • functools.py Update functools from 3.13.9 #6205
  • gc.py
    • [RFC] GC: Both Stop-the-World and On-the-fly #4158
  • genericpath.py Fix broken CI on windows #6143 Update genericpath.py from 3.13.5 #6065
  • getopt.py More stdlib updates #5737
  • getpass.py More stdlib updates #5737
  • gettext.py Update gettext.py from 3.13.5 #6063
  • glob.py Update glob from 3.13.7 #6152
  • graphlib.py Update some libraries to 3.13.3 #5731
  • gzip.py Update gzip from 3.13.5 #5912 Fix a bunch of zlib tests & update gzip.py to Python 3.13 #5563
  • hashlib.py
  • heapq.py Update some libraries to 3.13.3 #5731
  • hmac.py Updated the hmac + mailbox libraries + associated tests #6608
  • html Update html* from 3.13.7 #6133 Update html from 3.13.5 #6031
  • http
  • imghdr.py removed in 3.13
  • imp.py removed in 3.12 Remove imp #5693
  • importlib Updated the importlib + nturl2path + pathlib libraries + associated tests - v3.13.10 #6609 Updated the pkgutil + unittest libraries + the pkgutil, unittest and import tests - v.3.13.11 #6610
    • Add proper __origname__ to frozen module #4565
  • inspect.py
  • io.py Update {io,encodings} from 3.13.7 #6153
    • _pyio.py
    • Handle windows test proper way #3960
    • See also TextIOWrapper.detach #4072
  • ipaddress.py Update ipaddress from 3.13.5 #5878
  • json Update json from 3.13.5 #6007
  • keyword.py not changed
  • linecache.py Update some libraries to 3.13.3 #5731
  • locale.py Update locale.py from 3.13.6 and made _locale available on android #6091
    • See also locale support including _locale and time.tzname #3850
  • logging Use ast.unparse for generating patches with lib_updater.py #6142 Update logging from 3.13.5 #6003
  • mailbox.py Updated the hmac + mailbox libraries + associated tests #6608
    • TextIOWrapper.detach #4072
  • mimetypes.py
  • multiprocessing Update multiprocess from 3.13.5 #6000
    • See also _multiprocessing_SemLock #3965
  • netrc.py Update netrc.py from 3.13.6 and make pwd accesible on Android #6083
  • nntplib.py removed in 3.13 Remove nntplib #5683
  • ntpath.py Fix broken CI on windows #6143 Update {nt,posix}path.py from 3.13.5 #6070
  • nturl2path.py Updated the importlib + nturl2path + pathlib libraries + associated tests - v3.13.10 #6609
  • numbers.py not changed
  • opcode.py Update opcode from 3.13.7 #6156
  • operator.py Update operator from 3.13.5 #5935
  • optparse.py Update some tests from 3.13.7 #6108
  • os.py Use ast.unparse for generating patches with lib_updater.py #6142 Update os.py from 3.13.5 #6076
    • Blocker: Some tests requires async comprehension
    • Handle windows test proper way #3960
    • See also Tracking issue of os.utime regression #4053
  • pathlib.py Updated the importlib + nturl2path + pathlib libraries + associated tests - v3.13.10 #6609 Updated the pkgutil + unittest libraries + the pkgutil, unittest and import tests - v.3.13.11 #6610
    • Handle windows test proper way #3960
  • pdb.py
  • pickle.py Update pickle{tools,}.py from 3.13.5 #6064
    • See also replace array.__reduce__ to array.__reduce_ex__ #3876
    • _compat_pickle.py
    • test/pickletester.py supports test_pickle.py
    • test/test_picklebuffer.py
  • pickletools.py Update pickle{tools,}.py from 3.13.5 #6064
  • pkgutil.py Updated the pkgutil + unittest libraries + the pkgutil, unittest and import tests - v.3.13.11 #6610
  • platform.py Updated the platform + plistlib libraries + associated tests v.3.13.10 #6611
  • plistlib.py Updated the platform + plistlib libraries + associated tests v.3.13.10 #6611
  • posixpath.py Update {nt,posix}path.py from 3.13.5 #6070
  • pprint.py Update some tests from 3.13.7 #6115 Update some libraries to 3.13.3 #5731
  • pty.py
  • py_compile.py Fix broken CI on windows #6143
  • pydoc.py
    • pydoc_data
  • _pyrepl Add _pyrepl #5540
  • queue.py Update some libraries to 3.13.3 #5731
    • See also [RFC] _queue is missing #3608
  • quopri.py Update quopri from 3.13.5 #5989
  • random.py Fix a bunch of random tests #5533
  • re.py
    • Don't forget sre files sre_compile.py, sre_constants.py, sre_parse.py
  • reprlib.py More stdlib updates #5737
  • rlcompleter.py
  • runpy.py Update{runpy,numbers}.py from 3.13.7 #6141
  • sched.py Update some libraries to 3.13.3 #5731
  • secrets.py Update secrets from 3.13.5 #5991
  • selectors.py Update selector.py from 3.13.5 #6002
  • shelve.py Update shelve.py from 3.13.11 #6483
  • shlex.py Update shlex from 3.13.5 #5977
  • shutil.py Fix broken CI on windows #6143
    • Handle windows test proper way #3960
  • signal.py
  • site.py Update Lib with changed files in 3.13.8 #6186 Update {site,sysconfig}.py from 3.13.7 #6132
    • Don't forget _sitebuiltins.py
  • smtpd.py removed in 3.13
  • smtplib.py
  • sndhdr.py removed in 3.13
  • socket.py Update socket and test from CPython 3.12.2 #5255
  • socketserver.py
  • sqlite3
  • ssl.py Update ssl.py from CPython 3.13.9 #6217
  • stat.py Fix broken CI on windows #6143 Update stat from 3.13.5 #5992 Implement _stat module #5847
  • statistics.py Update statistics to 3.13.2 #5592
  • string.py
  • stringprep.py
  • struct.py Update struct to 3.13.3 and update parts of test.support #5702
  • subprocess.py
  • sunau.py removed in 3.13
  • sysconfig.py Update Lib with changed files in 3.13.8 #6186 Update {site,sysconfig}.py from 3.13.7 #6132
  • tabnanny.py Update tabnanny.py from 3.13.5 #6021
  • tarfile.py Fix broken CI on windows #6143 Update tarfile to 3.12.3 #5714
  • telnetlib.py removed in 3.13 Remove telnetlib #5649
  • tempfile.py
  • textwrap.py Update textwrap from 3.13.5 #5952
  • threading.py
  • timeit.py More stdlib updates #5737
  • token.py
  • tokenize.py
  • tomllib Update tomllib from 3.13.5 #5902
  • trace.py Update trace.py from 3.13.5 #6029
  • traceback.py Update test_exception*.py from 3.13.5 #5978
  • tty.py
  • types.py Upgrade Lib/types.py from Python 3.13.5 #5928
  • typing.py typing upgrade to 3.13.2 #5590 Update Lib with changed files in 3.13.8 #6186 Update test_typing from Python 3.13.5 #6013
  • unittest Update unittest partially #6051 (partial) Updated the pkgutil + unittest libraries + the pkgutil, unittest and import tests - v.3.13.11 #6610
  • urllib
  • uu.py removed in 3.13 Remove uu.py and test_uu.py #5607
  • uuid.py Update uuid from 3.13.7 #6155 Update uuid from 3.13.5 #5901
  • venv
    • Handle windows test proper way #3960
  • warnings.py Update warnings from 3.13.5 #6019
    • implement warnings more #4013
  • weakref.py Update test_{dict,weakref}.py from 3.13.5 #5963
  • webbrowser.py Update webbrowser and test_webbrowser to 3.13.3 #5724
  • wsgiref
  • xdrlib.py removed in 3.13 Remove xdrlib #5648
  • xml Update xml from 3.13.7 #6100
    • test_xml_etree.py Use ast.unparse for generating patches with lib_updater.py #6142
  • xmlrpc
  • zipapp.py Update zipapp.py from 3.13.5 #6075
  • zipfile.py
  • zipimport.py
  • zoneinfo Update zoneinfo and _strptime from 3.13.7 #6139
  • test.support
    • Check our wasm32-unknown-unknown compatible with CPython emscripten build #4538
    • sys.safe_path with Command line parameter -P and environment variable PYTHONSAFEPATH #4541

List of no-update expected libraries

  • __hello__.py unchanged
  • __phello__
  • antigravity.py not changed
  • this.py

List of tests without python libraries

  • test/test___all__.py
  • test/test__locale.py
  • test/test__opcode.py
  • test/test_abstract_numbers.py
  • test/test_array.py
    • See also replace array.__reduce__ to array.__reduce_ex__ #3876
  • test/test_asdl_parser.py
  • test/test_asyncgen.py
  • test/test_atexit.py
  • test/test_audioop.py removed in 3.13
  • test/test_audit.py Added test_audit from 3.13.2 #5637
  • test/test_augassign.py unchanged
  • test/test_baseexception.py
  • test/test_bigaddrspace.py
  • test/test_bigmem.py unchanged
  • test/test_binascii.py Update some tests from 3.13.7 #6108
  • test/test_binop.py
  • test/test_bool.py unchanged
  • test/test_buffer.py
  • test/test_bufio.py
  • test/test_builtin.py
  • test/test_bytes.py Update Lib with changed files in 3.13.8 #6186 Update str related tests from 3.13.5 #5953
  • test/test_c_locale_coercion.py
  • test/test_call.py Update some tests to 3.13.7 #6171
  • test/test_charmapcodec.py
  • test/test_check_c_globals.py
  • test/test_class.py Update test class to cpython 3.13.2 #5613
  • test/test_clinic.py
  • test/test_cmath.py Update some tests from 3.13.7 #6108
  • test/test_cmd_line.py
  • test/test_cmd_line_script.py
  • test/test_codeccallbacks.py
  • test/test_compare.py
  • test/test_compile.py
  • test/test_complex.py Update test_{complex,float}.py from 3.13.5 #5961
  • test/test_contains.py
  • test/test_context.py
  • test/test_coroutines.py
  • test/test_crashers.py Update test_crashers from Cpython v3.11.2 #4807 CPython specific
  • test/test_decorators.py Update some tests from 3.13.7 #6115
  • test/test_defaultdict.py
  • test/test_deque.py Update test_deque from 3.13.5 #5939
  • test/test_descr.py Update test_{descr,super}.py from 3.13.9 #6314
  • test/test_descrtut.py
  • test/test_devpoll.py
  • test/test_dict.py Update test_{dict,weakref}.py from 3.13.5 #5963
  • test/test_dict_version.py Update test_dict_version.py from Cpython v3.11.2 #4809 Not implemented in RustPython
  • test/test_dictcomps.py
  • test/test_dictviews.py
  • test/test_docxmlrpc.py
  • test/test_dtrace.py Fix broken CI on windows #6143
  • test/test_dynamic.py Update some tests from 3.13.7 #6115
  • test/test_dynamicclassattribute.py
  • test/test_eintr.py
  • test/test_embed.py
  • test/test_enumerate.py Update test_enumerate.py from 3.13.5 #6032
  • test/test_eof.py Update some tests from 3.13.7 #6115
  • test/test_epoll.py
  • test/test_errno.py
  • test/test_except_star.py
  • test/test_exception_group.py Update test_exception*.py from 3.13.5 #5978
  • test/test_exception_hierarchy.py Update test_exception*.py from 3.13.5 #5978
  • test/test_exception_variations.py Update test_exception*.py from 3.13.5 #5978
  • test/test_exceptions.py Update Lib with changed files in 3.13.8 #6186 Updated test_baseexception from 3.13.2 #5638
  • test/test_extcall.py
  • test/test_faulthandler.py Update test_exception*.py from 3.13.5 #5978
  • test/test_fcntl.py
  • test/test_file.py
  • test/test_file_eintr.py Update some tests from 3.13.7 #6115
  • test/test_fileio.py Update some tests from 3.13.7 #6115
  • test/test_fileutils.py
  • test/test_finalization.py
  • test/test_float.py Update Lib/test/test_float.py from 3.13.7 #6099 Update test_{complex,float}.py from 3.13.5 #5961 Update struct to 3.13.3 and update parts of test.support #5702
  • test/test_flufl.py Add test_flufl.py from Cpython v3.11.2 #4824 CPython specific
  • test/test_fork1.py
  • test/test_format.py
  • test/test_frame.py
  • test/test_frozen.py
  • test/test_fstring.py Update test/test_fstring.py from 3.13.7 #6154
  • test/test_funcattrs.py
  • test/test_future.py
  • test/test_future3.py
  • test/test_future4.py
  • test/test_future5.py
  • test/test_gdb.py
  • test/test_generator_stop.py
  • test/test_generators.py
  • test/test_genericalias.py Update Lib with changed files in 3.13.8 #6186
  • test/test_genericclass.py
  • test/test_genexps.py
  • test/test_getpath.py
  • test/test_global.py
  • test/test_grammar.py Update some tests from 3.13.7 #6115
  • test/test_grp.py
  • test/test_hash.py
  • test/test_hashlib.py
  • test/test_index.py
  • test/test_int.py
  • test/test_int_literal.py ()
  • test/test_interpreters.py
  • test/test_ioctl.py
  • test/test_isinstance.py Update some tests from 3.13.7 #6115 Align is_instance #5855
  • test/test_iter.py
    • Handle windows test proper way #3960
  • test/test_iterlen.py
  • test/test_itertools.py Update test_itertools.py to 3.13.7 #6122
  • test/test_keywordonlyarg.py Update some tests from 3.13.7 #6115
  • test/test_kqueue.py Update some tests from 3.13.7 #6115
  • test/test_largefile.py
  • test/test_launcher.py
  • test/test_list.py Add tool for easier test updates #6089 Update test_{list,listcomps}.py from 3.13.5 #5965
  • test/test_listcomps.py Update test_{list,listcomps}.py from 3.13.5 #5965
  • test/test_lltrace.py
  • test/test_long.py Update some tests from 3.13.7 #6108
  • test/test_longexp.py
  • test/test_marshal.py
    • See also marshal module is imcomplete #3458
  • test/test_math.py Update some tests from 3.13.7 #6108 Now passing test_math from 3.13.2 with some caveat #5610
  • test/test_memoryio.py
  • test/test_memoryview.py
  • test/test_metaclass.py
  • test/test_minidom.py
  • test/test_mmap.py
    • See also mmap module for windows #3847
  • test/test_module.py
  • test/test_multibytecodec.py
  • test/test_named_expressions.py
  • test/test_nis.py
  • test/test_numeric_tower.py
  • test/test_opcache.py Update some tests from 3.13.7 #6108
  • test/test_openpty.py unchanged
  • test/test_ordered_dict.py
  • test/test_ossaudiodev.py
  • test/test_osx_env.py
  • test/test_patma.py More Pattern matching implementation mapping + class #6110
  • test/test_peepholer.py
  • test/test_pep646_syntax.py
  • test/test_pkg.py
  • test/test_poll.py
  • test/test_popen.py
  • test/test_positional_only_arg.py
  • test/test_posix.py Update Lib with changed files in 3.13.8 #6186
    • See also Enhance compatibility of os.pathconf_names #4494
  • test/test_pow.py Update some tests from 3.13.7 #6115
  • test/test_print.py Update test_print from 3.13.9 #6323
  • test/test_property.py Update some tests from 3.13.7 #6108
    • See also support property name #4067
  • test/test_pulldom.py
  • test/test_pwd.py
  • test/test_pyexpat.py Update Lib with changed files in 3.13.8 #6186
    • See also etree.XML raises TypeError on valid XML #3430
  • test/test_raise.py
  • test/test_range.py
  • test/test_readline.py
  • test/test_regrtest.py
    • test/libregrtest/__init__.py
    • test/libregrtest/cmdline.py
    • test/libregrtest/filter.py
    • test/libregrtest/findtests.py
    • test/libregrtest/logger.py
    • test/libregrtest/main.py
    • (test/libregrtest/mypy.ini)
    • test/libregrtest/parallel_case.py
    • test/libregrtest/pgo.py
    • test/libregrtest/refleak.py
    • test/libregrtest/result.py
    • test/libregrtest/results.py
    • test/libregrtest/run_workers.py
    • test/libregrtest/runtests.py
    • test/libregrtest/save_env.py
    • test/libregrtest/setup.py
    • test/libregrtest/single.py
    • test/libregrtest/testresult.py
    • test/libregrtest/tsan.py
    • test/libregrtest/utils.py
    • test/libregrtest/win_utils.py
    • test/libregrtest/worker.py
  • test/test_repl.py
  • test/test_resource.py Update resource from 3.13.5 #5893
  • test/test_richcmp.py Update some tests from 3.13.7 #6115
  • test/test_robotparser.py
  • test/test_sax.py
  • test/test_scope.py
  • test/test_script_helper.py
  • test/test_select.py
  • test/test_set.py
    • See also &= and -= operator between Set types do not work correctly. #3992
  • test/test_setcomps.py
  • test/test_slice.py
  • test/test_smtpnet.py
  • test/test_sort.py
  • test/test_source_encoding.py
  • test/test_spwd.py
  • test/test_stable_abi_ctypes.py
  • test/test_startfile.py
  • test/test_strftime.py
  • test/test_string.py
  • test/test_string_literals.py Update test_string_literals.py from 3.13.5 #5934
  • test/test_strptime.py
  • test/test_strtod.py
  • test/test_structseq.py
  • See also __match_args__ for structseq #4063
  • test/test_subclassinit.py
  • test/test_sundry.py
  • test/test_super.py Update test_{descr,super}.py from 3.13.9 #6314
    • See also Need compare between metaclass and internal contents of classcell in __build_class__ #3865
  • test/test_support.py
    • Check our wasm32-unknown-unknown compatible with CPython emscripten build #4538
  • test/test_syntax.py
    • Two CPython 3.11 syntax changes involving * operator are unsupported #4479
  • test.test_sys
    • See also sys.safe_path with Command line parameter -P and environment variable PYTHONSAFEPATH #4541
  • test/test_sys_setprofile.py
  • test/test_sys_settrace.py
  • test/test_syslog.py
  • test/test_tcl.py
  • test/test_thread.py
  • test/test_threadedtempfile.py
  • test/test_threadsignals.py
  • test/test_time.py
    • See also locale support including _locale and time.tzname #3850
    • See also time.strftime(arg) fails when arg is not valid format string #4157
  • test/test_timeout.py
  • test/test_tix.py
  • test/test_tuple.py Update test_tuple.py from 3.13.5 #5966
  • test/test_type_annotations.py
  • test/test_type_cache.py
  • test/test_type_comments.py
  • test/test_typechecks.py
  • test/test_types.py
  • test/test_ucn.py Update some tests from 3.13.7 #6108
  • test/test_unary.py
  • test/test_unicode.py Update str related tests from 3.13.5 #5953 Update struct to 3.13.3 and update parts of test.support #5702
  • test/test_unicode_file.py
  • test/test_unicode_file_functions.py
  • test/test_unicode_identifiers.py
  • test/test_unicodedata.py 5953
  • test/test_univnewlines.py Update some tests from 3.13.7 #6115
  • test/test_unpack.py
  • test/test_unpack_ex.py
  • test/test_unparse.py
  • test/test_userdict.py Update some tests from 3.13.7 #6115
  • test/test_userlist.py
  • test/test_userstring.py Update str related tests from 3.13.5 #5953
  • test/test_utf8_mode.py
  • test/test_utf8source.py
  • test/test_wait3.py
  • test/test_wait4.py
  • test/test_weakset.py
  • test/test_winapi.py Update struct to 3.13.3 and update parts of test.support #5702
  • test/test_winconsoleio.py
  • test/test_winreg.py Rewrite of winreg module and bump to 3.13.2 #5594
  • test/test_winsound.py
  • test/test_with.py Update some tests from 3.13.7 #6115
  • test/test_yield_from.py Update some tests to 3.13.7 #6171
  • test/test_zlib.py Update struct to 3.13.3 and update parts of test.support #5702
  • test/test_asyncio
  • test/test_capi
  • test/test_import
  • test/test_tools

Not yet added libraries

These libraris are not added yet. Pure python one will be possible while others are not.

  • _bootsubprocess.py
  • cProfile.py
  • curses
  • idlelib
  • imaplib.py
  • imp.py Remove imp #5693
    • See also correct impl _imp.source_hash  #4075
  • lzma.py lzma implementation #5717
  • modulefinder.py
    • Add missing dis features for modulefinder #3846
  • poplib.py
  • pstats.py
  • pyclbr.py Added pyclbr from 3.13.5 #6028
  • symtable.py Add symtable.py from 3.13.5 #6048
  • tkinter _tkinter pt. 1 #5583
  • tracemalloc.py
  • turtle.py
  • wave.py Add wave at 3.13.2 #5723
Reacted by Theo Paris

Activity

Next
  1. youknowone
    pinned this issue on Feb 20, 2025
  2. youknowone
    added
    C-enhancementNew feature or requestNew feature or request
    good first issueGood for newcomersGood for newcomers
    C-compatA discrepancy between RustPython and CPythonA discrepancy between RustPython and CPython
    A-stdlib
    cpythonCPython source code relatedCPython source code related
    on Feb 20, 2025
  3. arihant2math commented on Feb 21, 2025

    @arihant2math
    arihant2math
    on Feb 21, 2025
    Contributor
    More actions

    antigravity does not need updating.

    Reacted by Jeong, YunWon and jerrychiu
  4. arihant2math commented on Feb 28, 2025

    @arihant2math
    arihant2math
    on Feb 28, 2025
    Contributor
    More actions

    __hello__.py is also not updated

    Reacted by Jeong, YunWon
  5. arihant2math commented on Feb 28, 2025

    @arihant2math
    arihant2math
    on Feb 28, 2025
    Contributor
    More actions

    Same with test_openpty

    Reacted by Jeong, YunWon
  6. hbina commented on Mar 8, 2025

    @hbina
    hbina
    on Mar 8, 2025
    Contributor
    More actions

    Python 3.13 added the following test

    with self.assertWarns(DeprecationWarning):
                # We need to put the bool in a variable, because the constant
                # ~False is evaluated at compile time due to constant folding;
                # consequently the DeprecationWarning would be issued during
                # module loading and not during test execution.
                false = False
                self.assertEqual(~false, -1)

    AFAICT, this is deceptively a big change to how its implemented now. It seems to me that bools are just ints in RustPython? The call to ~false here delegates to PyInt::invert.

    Edit: Oh wait...the test is disabled in RustPython.

    Edit2: Is this an acceptable fix?
    14b9178d759ca2d6545972c49b2e0572d05b9098
    Or its not worth it to support something that would be deprecated?

  7. hbina commented on Mar 8, 2025

    @hbina
    hbina
    on Mar 8, 2025
    Contributor
    More actions

    test_unary is okay

    hbina085@akarin-thinkpad ~/g/RustPython (main)> cp ../cpython/Lib/test/test_unary.py Lib/test/test_unary.py                                                                                                           (base) 
    hbina085@akarin-thinkpad ~/g/RustPython (main)> cargo run --release --quiet -- -m test test_unary -v --quiet                                                                                                          (base) 
    Run tests sequentially
    test_unary passed
    
    == Tests result: SUCCESS ==
    
    Total duration: 10 ms
    Tests result: SUCCESS
    
    Reacted by Jeong, YunWon
  8. arihant2math commented on Mar 13, 2025

    @arihant2math
    arihant2math
    on Mar 13, 2025
    Contributor
    More actions

    __hello__.py is unchanged and _osx_support.py has been updated. Also cgi.py has been removed.

    Reacted by Jeong, YunWon
  9. hbina commented on Mar 23, 2025

    @hbina
    hbina
    on Mar 23, 2025
    Contributor
    More actions

    test_bool.py doesn't change.

    Reacted by Jeong, YunWon
  10. youknowone commented on Mar 30, 2025

    @youknowone
    youknowone
    on Mar 30, 2025
    MemberAuthor
    More actions

    @hbina @arihant2math Thank you! all the comments are applied

    Reacted by Ashwin Naren
  11. youknowone commented on Mar 30, 2025

    @youknowone
    youknowone
    on Mar 30, 2025
    MemberAuthor
    More actions

    Is this an acceptable fix? Or its not worth it to support something that would be deprecated?

    @hbina Sure for both! We actually are good for either way. We can ignore it until being fully deprecated and removed later to work less, but welcome to merge it if you already made a patch.

  12. 25 remaining items

  13. terryluan12
    added 5 commits that reference this issue on Jan 14, 2026

    Updated all tests/test helper files from CPython version 3.13.11

    391d71e

    Updated all tests/test helper files from CPython version 3.13.11

    d3b863b

    Updated all tests/test helper files from CPython version 3.13.11

    fdcdc92

    Updated all tests/test helper files from CPython version 3.13.11

    cdf9e75

    Updated all tests/test helper files from CPython version 3.13.11

    ef2fc49
  14. youknowone commented on Jan 17, 2026

    @youknowone
    youknowone
    on Jan 17, 2026
    MemberAuthor
    More actions

    Since #6718 is merged, updating target is also moved to 3.14
    We had a great journey to follow up Python 3.13 changes for a year.

    Especially for this version, we got a few automating tools by @arihant2math and @ShaharNaveh
    That changed the workflow a lot.

    At the same time, sorry for not tracking the linked issue very well. Due to faster update process, at the end of the version, it was not easy to track to update the linked PR to each modules.

    I will open a new issue for 3.14 tracking soon.
    Thank you so much everyone for a year!

    Reacted by Shahar Naveh
  15. youknowone
    closed this as completedon Jan 17, 2026
  16. terryluan12
    added 6 commits that reference this issue on Jan 17, 2026

    Updated all tests/test helper files from CPython version 3.13.11

    e728b61

    Updated all tests/test helper files from CPython version 3.13.11

    4d902fe

    Updated all tests/test helper files from CPython version 3.13.11

    abf25d0

    Updated all tests/test helper files from CPython version 3.13.11

    258102a

    Updated all tests/test helper files from CPython version 3.13.11

    d2686bb

    Updated all tests/test helper files from CPython version 3.13.11

    30511d1
  17. ShaharNaveh commented on Jan 23, 2026

    @ShaharNaveh
    ShaharNaveh
    on Jan 23, 2026
    Contributor
    More actions

    @youknowone can we please unpin this issue and pin #6839 instead?

    Reacted by Mr. Walls
  18. ShaharNaveh
    unpinned this issue on Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-stdlibC-compatA discrepancy between RustPython and CPythonA discrepancy between RustPython and CPythonC-enhancementNew feature or requestNew feature or requestcpythonCPython source code relatedCPython source code relatedgood first issueGood for newcomersGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.