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

Integration tests fail on PyPy on Windows #2496

Open
jaraco opened this issue Dec 20, 2020 · 2 comments
Open

Integration tests fail on PyPy on Windows #2496

jaraco opened this issue Dec 20, 2020 · 2 comments

Comments

@jaraco
Copy link
Member

jaraco commented Dec 20, 2020

#2486 introduced a new environment for testing, including PyPy on Windows and that environment is failing.

@jaraco
Copy link
Member Author

jaraco commented Dec 20, 2020

At least one error is

_______________________________ test_stevedore ________________________________

install_context = <setuptools.command.easy_install.easy_install object at 0x0e5a5a50>

    def test_stevedore(install_context):
        _install_one('stevedore', install_context,
>                    'stevedore', 'extension.py')
WARNING: The easy_install command is deprecated and will be removed in a future version.
__________________________________ test_pbr ___________________________________

install_context = <setuptools.command.easy_install.easy_install object at 0x0f326dd0>

    def test_pbr(install_context):
        _install_one('pbr', install_context,
>                    'pbr', 'core.py')

D:\a\setuptools\setuptools\setuptools\tests\test_integration.py:94: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
D:\a\setuptools\setuptools\setuptools\tests\test_integration.py:74: in _install_one
    cmd.run()
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:408: in run
    self.easy_install(spec, not self.no_deps)
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:669: in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:697: in install_item
    self.process_distribution(spec, dist, deps)
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:722: in process_distribution
    self.install_egg_scripts(dist)
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:601: in install_egg_scripts
    self.install_wrapper_scripts(dist)
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:790: in install_wrapper_scripts
    for args in ScriptWriter.best().get_args(dist):
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:2088: in get_args
    for res in args:
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:2222: in _get_script_args
    yield (m_name, load_launcher_manifest(name), 't')
D:\a\setuptools\setuptools\setuptools\command\easy_install.py:2247: in load_launcher_manifest
    manifest = pkg_resources.resource_string(__name__, 'launcher manifest.xml')
d:\a\setuptools\setuptools\pkg_resources\__init__.py:1141: in resource_string
    self, resource_name
d:\a\setuptools\setuptools\pkg_resources\__init__.py:1386: in get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pkg_resources.DefaultProvider object at 0x1363aaf0>
path = 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-unknown\\pytest-0\\test_pbr0\\launcher manifest.xml'

    def _get(self, path):
>       with open(path, 'rb') as stream:
E       FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pytest-of-unknown\\pytest-0\\test_pbr0\\launcher manifest.xml'

d:\a\setuptools\setuptools\pkg_resources\__init__.py:1609: FileNotFoundError
---------------------------- Captured stdout call -----------------------------
Searching for pbr
Reading https://pypi.org/simple/pbr/
Downloading https://files.pythonhosted.org/packages/fb/48/69046506f6ac61c1eaa9a0d42d22d54673b69e176d30ca98e3f61513e980/pbr-5.5.1-py2.py3-none-any.whl#sha256=b236cde0ac9a6aedd5e3c34517b423cd4fd97ef723849da6b0d2231142d89c00
Best match: pbr 5.5.1
Processing pbr-5.5.1-py2.py3-none-any.whl
Installing pbr-5.5.1-py2.py3-none-any.whl to c:\users\runneradmin\appdata\local\temp\pytest-of-unknown\pytest-0\test_pbr0\install_dir
Adding pbr 5.5.1 to easy-install.pth file
Installing pbr-script.py script to C:\Users\runneradmin\AppData\Local\Temp\pytest-of-unknown\pytest-0\test_pbr0\install_dir
Installing pbr.exe script to C:\Users\runneradmin\AppData\Local\Temp\pytest-of-unknown\pytest-0\test_pbr0\install_dir
---------------------------- Captured stderr call -----------------------------
WARNING: The easy_install command is deprecated and will be removed in a future version.

@jaraco jaraco changed the title Tests fail on PyPy on Windows Integration tests fail on PyPy on Windows Dec 21, 2020
@jaraco
Copy link
Member Author

jaraco commented Dec 21, 2020

Good news - I'm also able to replicate the errors locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant