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

Fix Github Action for the new version of setuptools #1313

Closed
Pierre-Sassoulas opened this issue Dec 27, 2021 · 0 comments · Fixed by #1321
Closed

Fix Github Action for the new version of setuptools #1313

Pierre-Sassoulas opened this issue Dec 27, 2021 · 0 comments · Fixed by #1321
Labels
Maintenance Discussion or action around maintaining astroid or the dev workflow
Milestone

Comments

@Pierre-Sassoulas
Copy link
Member

Currently the pipeline is broken for the new version of python 3.10 on Windows:


================================== FAILURES ===================================
_________ ModuleFileTest.test_find_distutils_submodules_in_virtualenv _________

self = <tests.unittest_modutils.ModuleFileTest testMethod=test_find_distutils_submodules_in_virtualenv>

    def test_find_distutils_submodules_in_virtualenv(self) -> None:
        found_spec = spec.find_spec(["distutils", "version"])
>       self.assertEqual(found_spec.location, distutils.version.__file__)
E       AssertionError: 'C:\\hostedtoolcache\\windows\\Python\\3.1[32 chars]n.py' != 'D:\\a\\astroid\\astroid\\venv\\lib\\site-[40 chars]n.py'
E       - C:\hostedtoolcache\windows\Python\3.10.1\x64\lib\distutils\version.py
E       + D:\a\astroid\astroid\venv\lib\site-packages\setuptools\_distutils\version.py
@Pierre-Sassoulas Pierre-Sassoulas added blocker Maintenance Discussion or action around maintaining astroid or the dev workflow labels Dec 27, 2021
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.9.1 milestone Dec 27, 2021
@Pierre-Sassoulas Pierre-Sassoulas changed the title Fix Github Action for python 3.10 on Windows Fix Github Action for the new version of setuptools Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maintenance Discussion or action around maintaining astroid or the dev workflow
Projects
None yet
1 participant