GeezerVison is showing github.com — Update importlib/test_importlib from CPython 3.10.6 by youknowone · Pull Request #3919 · RustPython/RustPython
Conversation
youknowone
commented
Jul 18, 2022
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
I have no idea whats going on its failure.
blocked by #3863, #3961
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Directory tree in RustPython (as it stands right now):
Lib/importlib/
├── __init__.py
├── _bootstrap.py
├── _bootstrap_external.py
├── abc.py
├── machinery.py
├── metadata.py
├── resources.py
└── util.py
Directory tree in CPython 3.10:
Lib/importlib/
├── metadata/
│ ├── __init__.py
│ ├── _adapters.py
│ ├── _collections.py
│ ├── _functools.py
│ ├── _itertools.py
│ ├── _meta.py
│ └── _text.py
├── __init__.py
├── _abc.py
├── _adapters.py
├── _bootstrap.py
├── _bootstrap_external.py
├── _common.py
├── abc.py
├── machinery.py
├── readers.py
├── resources.py
└── util.py
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I am sorry, it was my mistake to miss new files in commit. The error is very unexpected:
Traceback (most recent call last):
File "/Users/user/Projects/RustPython/vm/pylib-crate/Lib/unittest/loader.py", line 436, in _find_test_path
module = self._get_module_from_name(name)
File "/Users/user/Projects/RustPython/vm/pylib-crate/Lib/unittest/loader.py", line 377, in _get_module_from_name
__import__(name)
File "_frozen_importlib", line 1129, in __import__
File "_frozen_importlib", line 1050, in _gcd_import
File "_frozen_importlib", line 1027, in _find_and_load
File "_frozen_importlib", line 1027, in _find_and_load
File "_frozen_importlib", line 1006, in _find_and_load_unlocked
File "_frozen_importlib", line 703, in _load_unlocked
File "_frozen_importlib", line 701, in _load_unlocked
File "_frozen_importlib", line 694, in _load_unlocked
File "_frozen_importlib", line 688, in _load_unlocked
File "_frozen_importlib_external", line 879, in exec_module
File "_frozen_importlib_external", line 1017, in get_code
File "_frozen_importlib_external", line 948, in source_to_code
File "_frozen_importlib", line 241, in _call_with_frames_removed
File "/Users/user/Projects/RustPython/vm/pylib-crate/Lib/test/test_importlib/test_util.py", line 1
from . import util
^
SyntaxError: Got unexpected token at line 1 column 2
from . import util
^
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thank you, that explains the diff. It means we don't support bom for files.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
plistlib depends on new importlib
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
youknowone
changed the title
update importlib/test_importlib
Update importlib/test_importlib from CPython 3.10.6
Aug 13, 2022
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
|
tests that require it to be set to False."""
|
|
|
if sys.dont_write_bytecode:
|
|
|
return lambda *args, **kwargs: None
|
|
|
return unittest.skip(fxn)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|