-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
A-stdlibE-help-wantedExtra attention is neededExtra attention is neededgood first issueGood for newcomersGood for newcomers
Description
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, try
git checkout v3.11.2from 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 changedtest_unicode.py,cargo run --features ssl -- -m test -v test_unicode- If it runs too slow, try to add
--releaselikecargo run --release --features ssl -- -m test -v test_unicode
- If it runs too slow, try to add
List of libraries
-
__future__.py- maybe related to allow
from __future__ import generator_stop#4060?
- maybe related to allow
-
__hello__.pyUpdate __hello__ from cpython #4570 -
__phello__Update __hello__ from cpython #4570 -
_collections_abc.pyupdated _collections_abc.py and test_collections.py to CPython 3.11.2 #5016 -
_compat_pickle.py -
_compression.pyUpdate _compression, gzip, and test_gzip for CPython v3.11.2 #4688 -
_markupbase.pyUpdate _markupbase, html/parser for CPython v3.11.2 #4703 -
unchanged_osx_support.py -
_py_abc.py -
_pycodecs.py -
_pydecimal.py -
_pyio.py -
_sitebuiltins.py -
_threading_local.py -
_weakrefset.py -
abc.pyUpdate abc.py from Python 3.11 #4985 -
aifc.py -
antigravity.py— feat(antigravity): update to 3.11 #4591 -
argparse.py— feat(argparse): update to 3.11 #4592 -
ast.py -
asynchat.py -
asyncio -
asyncore.py -
base64.pyCommit 185111d -
bdb.py -
Deprecated.binhex.py -
bisect.pyUpdate bisect.py and test_bisect.py from CPython v3.11.2 #4774 -
bz2.pyUnchanged -
calendar.pyUpdate calendar.py from CPython 3.11 #4669 -
cgi.py -
cgitb.py -
chunk.py -
cmd.py -
code.py -
codecs.py -
codeop.py -
collections -
colorsys.py -
compileall.pyUpdate compileall to CPython 3.11.5 #5070 -
concurrent -
configparser.pyfeat(configparser): update to 3.11 #4595 -
contextlib.pyUpdate test/test_contextlib.py from CPython 3.11.2 #4649 Update contextlib.py and test_contextlib from CPython 3.11.2 #4659 -
contextvars.py -
copy.pyUpdate copy.py from CPython 3.11 #4674 -
copyreg.py -
csv.py -
ctypes -
dataclasses.pypendingmatchstatement support. -
datetime.py -
dbm -
decimal.py -
difflib.pyupdate test_difflib from CPython3.11.2 #5063 -
dis.py -
distutils -
doctest.py -
email -
encodings -
ensurepipUpdate ensurepip from cpython 3.11.2 #4590 -
enum.pyUpdate enum to CPython 3.11.5 #5074 -
filecmp.py -
fileinput.pyUpdate fileinput to CPython 3.11.5 #5071 -
fnmatch.py -
Deprecatedformatter.py -
fractions.pyUpdate fractions to CPython 3.11.5 #5072 -
ftplib.pyUpdate ftplib to CPython 3.11.5 #5073 -
functools.py -
gc.py -
genericpath.py -
getopt.py -
getpass.py -
gettext.py -
glob.pyUpdate glob.py and test/test_glob.py from CPython v3.11.2 #4744 -
graphlib.py -
gzip.pyUpdate _compression, gzip, and test_gzip for CPython v3.11.2 #4688 -
hashlib.py -
heapq.py -
hmac.pyunchanged -
html- html/parser Update _markupbase, html/parser for CPython v3.11.2 #4703
- test_html is unchanged
-
http -
imghdr.py -
imp.py -
importlibUpdate importlib from CPython 3.11.2 #4561 -
inspect.py -
io.py -
ipaddress.py -
json -
keyword.pyunchanged -
linecache.py -
locale.pyUpdate test.support from CPython 3.11.2 #4537 -
logging -
mailbox.py -
mimetypes.py -
multiprocessing- See also _multiprocessing_SemLock #3965
-
netrc.py -
nntplib.py -
ntpath.py -
nturl2path.py -
numbers.py -
opcode.py -
unchangedoperator.py -
optparse.pyunchanged -
os.py -
pathlib.py -
pdb.py -
pickle.py -
pickletools.py -
pkgutil.py -
platform.py -
plistlib.py -
posixpath.py -
pprint.py -
pty.py -
py_compile.py -
pydoc.py-
pydoc_data
-
-
queue.py- See also [RFC] _queue is missing #3608
-
quopri.py -
random.pyFix int.from_bytes and Update random.py and test/test_random.py from CPython v3.11.2 #4748 -
re.py -
reprlib.py -
rlcompleter.py -
runpy.py -
sched.py -
secrets.py -
selectors.py -
shelve.py -
shlex.py -
shutil.py -
signal.py -
site.py -
smtpd.py -
smtplib.py -
sndhdr.py -
socket.py -
socketserver.py -
sqlite3 -
sre_compile.py -
sre_constants.py -
sre_parse.py -
ssl.py -
stat.py -
statistics.py -
string.py -
stringprep.py -
struct.py -
subprocess.pyUpdate subprocess to CPython 3.11 #4981 -
sunau.py -
sysconfig.pyUpdate sysconfig, test_sys and test_syslog from CPython 3.11 #4569 -
tabnanny.py -
tarfile.py -
telnetlib.py -
tempfile.py -
textwrap.py -
this.py -
threading.py -
timeit.py -
token.py -
tokenize.py -
tomllib -
trace.pyUpdate trace from CPython 3.11.2 #4586 -
traceback.py -
tty.py -
types.py -
typing.py -
unittestUpdate unittest from CPython 3.11 #4560 -
urllib -
uu.py -
uuid.py -
venv -
warnings.py -
weakref.py -
webbrowser.py -
wsgiref -
xdrlib.py -
xml -
xmlrpc -
zipapp.py -
zipfile.py -
zipimport.py - test.support Update test.support from CPython 3.11.2 #4537
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.pyUpdate test_array.py from Cpython v3.11.2 #4745 -
test/test_asdl_parser.py -
test/test_asyncgen.py -
test/test_atexit.pyUpdate test_atexit from cpython 3.11.2 #4621 -
test/test_audioop.py -
test/test_audit.py -
unchangedtest/test_augassign.py -
test/test_baseexception.py— Update test_baseexception.py from cpython 3.11.2 #4624 -
test/test_bigaddrspace.py -
test/test_bigmem.pyUpdate test_bigmem from cpython 3.11.2 #4625 -
test/test_binascii.py -
unchangedtest/test_binop.py -
test/test_bool.pyUpdate test/test_bool from cpython 3.11.2 #4631 -
test/test_buffer.pyUpdate test/test_buffer from CPython 3.11.2 #4632 -
unchangedtest/test_bufio.py -
test/test_builtin.pyupdate test_builtin.py from cpython v3.11.2 #4765 -
test/test_bytes.pyUpdate test_bytes.py from CPython v3.11.2 #4746 -
test/test_bz2.py -
test/test_c_locale_coercion.py -
test/test_call.py -
unchangedtest/test_charmapcodec.py -
test/test_check_c_globals.py -
test/test_class.py -
test/test_clinic.py -
unchangedtest/test_cmath.py -
test/test_cmd_line.pyUpdate test_cmd_line from Cpython v3.11.2 #4801 -
test/test_cmd_line_script.pyUpdate test_cmd_line_script from Cpython v3.11.2 #4802 -
unchangedtest/test_code_module.py -
unchangedtest/test_codeccallbacks.py -
test/test_compare.pyUpdate test_compare from Cpython v3.11.2 #4803 -
test/test_compile.pyUpdate test_compile from Cpython v3.11.2 #4804 -
test/test_complex.pyupdate test_complex.py from cpython 3.11.2 #4755 -
unchangedtest/test_contains.py -
test/test_context.pyUpdate test_context from Cpython v3.11.2 #4805 -
test/test_contextlib_async.py -
test/test_coroutines.py -
CPython specifictest/test_crashers.pyUpdate test_crashers from Cpython v3.11.2 #4807 -
test/test_csv.py -
test/test_decorators.pyUpdate test_decorators from Cpython v3.11.2 #4806 -
unchangedtest/test_defaultdict.py -
test/test_deque.pyupdated test_deque.py from CPython v3.11.2 #4761 -
unchangedtest/test_descr.py -
test/test_descrtut.py -
test/test_devpoll.pyUpdate test_devpoll from Cpython v3.11.2 #4808 -
test/test_dict.pyUpdate test_dict.py from CPython v3.11.2 #4763 -
Not implemented in RustPythontest/test_dict_version.pyUpdate test_dict_version.py from Cpython v3.11.2 #4809 -
unchangedtest/test_dictcomps.py -
test/test_dictviews.pyUpdate test_dictviews.py from Cpython v3.11.2 #4810 -
test/test_docxmlrpc.pyUpdate test_docxmlrpc.py from Cpython v3.11.2 #4811 -
test/test_dtrace.pyUpdate test_dtrace.py from Cpython v3.11.2 #4812 -
test/test_dynamic.pyUpdate test_dynamic.py from Cpython v3.11.2 #4813 -
unchangedtest/test_dynamicclassattribute.py -
test/test_eintr.pyUpdate test_eintr.py from Cpython v3.11.2 #4814 -
CPython specific.test/test_embed.pyUpdate test_embed.py from Cpython v3.11.2 #4815 -
test/test_enumerate.py -
test/test_eof.pyAdd test_eof.py from Cpython v3.11.2 #4753 -
test/test_epoll.pyUpdate test_epoll.py from Cpython v3.11.2 #4816 -
unchangedtest/test_errno.py -
test/test_except_star.py -
test/test_exception_group.pyAdd test_exception_group.py from Cpython v3.11.2 #4817 -
test/test_exception_hierarchy.pyUpdate test_exception_hierarchy.py from Cpython v3.11.2 #4818 -
test/test_exception_variations.py -
test/test_exceptions.pyUpdate test_exceptions.py from Cpython v3.11.2 #4819 -
test/test_extcall.py -
test/test_faulthandler.pyUpdate test_faulthandler.py from Cpython v3.11.2 #4820 -
unchangedtest/test_fcntl.py -
unchangedtest/test_file.py -
test/test_file_eintr.py -
test/test_fileio.pyUpdate test_fileio.py from Cpython v3.11.2 #4821 -
CPython specifictest/test_fileutils.pyAdd test_fileutils.py from Cpython v3.11.2 #4822 -
test/test_finalization.py -
test/test_float.pyUpdate test_float.py from Cpython v3.11.2 #4823 -
CPython specifictest/test_flufl.pyAdd test_flufl.py from Cpython v3.11.2 #4824 -
test/test_fork1.py -
test/test_format.pyUpdate test_format.py from Cpython v3.11.2 #4825 -
test/test_frame.py -
test/test_frozen.py -
test/test_fstring.py -
test/test_funcattrs.pyAdd test_funcattrs.py from Cpython v3.11.2 #4829 -
test/test_future.pyUpdate test_future.py from Cpython v3.11.2 #4830 -
unchangedtest/test_future3.py -
unchangedtest/test_future4.py -
unchangedtest/test_future5.py -
test/test_gdb.py -
test/test_generator_stop.py -
test/test_generators.py -
test/test_genericalias.pyUpdate test_genericclass.py from Cpython v3.11.2 #4831 -
test/test_genericclass.py -
test/test_genexps.py -
test/test_getpath.py -
test/test_global.pyUpdate test_global.py from Cpython v3.11.2 #4832 -
test/test_grammar.py -
test/test_grp.pyUpdate test_grp.py from Cpython v3.11.2 #4833 -
test/test_hash.pyUpdate test_hash.py from Cpython v3.11.2 #4834 -
test/test_hashlib.pyUpdate test_hashlib.py from Cpython v3.11.2 & refactor hashlib #4835 -
unchangedtest/test_index.py -
test/test_int.py -
unchangedtest/test_int_literal.py -
test/test_interpreters.py -
unchangedtest/test_ioctl.py -
unchangedtest/test_isinstance.py -
test/test_iter.py -
unchangedtest/test_iterlen.py -
test/test_itertools.pyUpdate test_itertools.py from Cpython v3.11.2 #4836 -
unchangedtest/test_keywordonlyarg.py -
test/test_kqueue.pyAdd test_kqueue.py from Cpython v3.11.2 #4837 -
test/test_largefile.pyAdd test_largefile.py from Cpython v3.11.2 #4838 -
CPython specifictest/test_launcher.py -
test/test_list.py -
test/test_listcomps.pyupdate test_listcomps.py from cpython 3.11.2 #4757 -
test/test_lltrace.py -
test/test_long.pyUpdate test_long.py from Cpython v3.11.2 #4840 -
unchangedtest/test_longexp.py -
test/test_marshal.py- See also marshal module is imcomplete #3458
-
test/test_math.pyupdate test_math.py from cpython 3.11.2 #4754 -
unchangedtest/test_memoryio.py -
unchangedtest/test_memoryview.py -
test/test_metaclass.py -
test/test_minidom.py -
test/test_mmap.py -
test/test_module.pyUpdate test_module.py from Cpython v3.11.2 #4842 -
test/test_multibytecodec.py -
unchangedtest/test_named_expressions.py -
test/test_nis.py -
test/test_numeric_tower.pyUpdate test_numeric_tower.py from Cpython v3.11.2 #4843 -
test/test_opcache.pyUpdate test_opcache.py from Cpython v3.11.2 #4844 -
unchangedtest/test_openpty.py -
test/test_ordered_dict.pyUpdate test_ordered_dict.py from Cpython v3.11.2 #4846 -
test/test_ossaudiodev.py -
test/test_osx_env.py -
test/test_patma.py -
test/test_peepholer.py -
test/test_pep646_syntax.py -
test/test_picklebuffer.py -
test/test_pkg.py -
test/test_poll.pyAdd test_poll.py from Cpython v3.11.2 #4888 -
test/test_popen.pyUpdate test_popen.py from Cpython v3.11.2 #4889 -
test/test_positional_only_arg.py -
test/test_posix.pyUpdate test_posix.py from Cpython v3.11.2 #4890 -
test/test_pow.pyUpdate test_pow.py from Cpython v3.11.2 #4891 -
test/test_print.pyadded test_print.py and marked TODOs #4778 -
test/test_property.pyUpdate test_property.py from Cpython v3.11.2 #4892- See also support property name #4067
-
test/test_pulldom.pyAdd test_pulldom.py from Cpython v3.11.2 #4893 -
test/test_pwd.py -
test/test_pyexpat.py -
test/test_raise.py -
test/test_range.py -
test/test_readline.py -
test/test_regrtest.py -
test/test_repl.py -
test/test_resource.py -
test/test_richcmp.py -
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 -
test/test_setcomps.py -
test/test_slice.py -
test/test_smtpnet.py -
test/test_sort.pyupdated test_sort from cpython 3.11.2 #4749 -
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.pyUpdate test_string.py from Cpython v3.11.2 #4751 -
test/test_string_literals.py -
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 -
test/test_support.py -
test/test_syntax.pyUpdate test_syntax from CPython 3.11.0 #4602 -
test.test_sysUpdate sysconfig, test_sys and test_syslog from CPython 3.11 #4569 -
test/test_sys_setprofile.py -
test/test_sys_settrace.py -
test/test_syslog.pyUpdate sysconfig, test_sys and test_syslog from CPython 3.11 #4569 -
test/test_tcl.py -
test/test_thread.py -
test/test_threadedtempfile.py -
test/test_threadsignals.py -
test/test_time.py -
test/test_timeout.py -
test/test_tix.py -
test/test_tuple.py -
test/test_type_annotations.py -
test/test_type_cache.py -
test/test_type_comments.py -
test/test_typechecks.py -
test/test_types.pyUpdate test/test_types from CPython 3.11.2 #4683 -
test/test_ucn.py -
test/test_unary.py -
test/test_unicode.py -
test/test_unicode_file.py -
test/test_unicode_file_functions.pyUpdate test_unicode_file_functions.py from CPython 3.11.2 #4741 -
test/test_unicode_identifiers.py -
test/test_unicodedata.pyUpdate test_unicodedata from CPython 3.11.2 #4678 -
unchangedtest/test_univnewlines.py -
test/test_unpack.pyUpdate test/test_unpack.py from CPython 3.11.2 #4676 -
test/test_unpack_ex.py -
test/test_unparse.py -
test/test_userdict.pyUpdate test/test_userlist.py and test_userdict.py from CPython 3.11.2 #4666 -
test/test_userlist.pyUpdate test/test_userlist.py and test_userdict.py from CPython 3.11.2 #4666 -
test/test_userstring.pyUpdate test/test_userstring.py from CPython 3.11.2 #4658 -
unchangedtest/test_utf8_mode.py -
unchangedtest/test_utf8source.py -
test/test_wait3.py -
test/test_wait4.py -
test/test_weakset.pyUpdate test/test_weakset.py from CPython 3.11.2 #4657 -
test/test_winconsoleio.py -
test/test_winreg.py -
test/test_winsound.py -
test/test_with.pyUpdate test/test_with.py from CPython 3.11.2 #4648 -
unchangedtest/test_yield_from.py -
test/test_zlib.pyUpdate test/test_zlib.py from CPython 3.11.2 #4647 -
test/test_asyncio -
test/test_capi -
test/test_importAdd test_import from CPython 3.11.2 #4599 -
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 -
_pycodecs.py -
cProfile.py -
crypt.py -
curses -
idlelib -
imaplib.py -
imp.py- See also correct impl _imp.source_hash #4075
-
lzma.py -
mailcap.py -
modulefinder.py -
msilib -
pipes.py -
poplib.py -
pstats.py -
pyclbr.py -
symtable.py -
tkinter -
tracemalloc.py -
turtle.py -
wave.py -
zoneinfo
jopemachine, moreal, Snowapril, ever0de, dalinaum and 1 morejopemachine and Snowaprilseungha-kim
Metadata
Metadata
Assignees
Labels
A-stdlibE-help-wantedExtra attention is neededExtra attention is neededgood first issueGood for newcomersGood for newcomers