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

Check release job is broken #11933

Closed
fcollonval opened this issue Jan 25, 2022 · 5 comments
Closed

Check release job is broken #11933

fcollonval opened this issue Jan 25, 2022 · 5 comments

Comments

@fcollonval
Copy link
Member

Description

The check release job on the CI is not working since a hour.

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-djmq9_gc/pyrsistent_7f01281cf3094749b2af81d844a15049/setup.py", line 52, in <module>
        setup(
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/command/install.py", line 546, in run
        self.run_command('build')
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/setuptools/command/build_py.py", line 56, in run
        self.build_package_data()
      File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/setuptools/command/build_py.py", line 127, in build_package_data
        srcfile in self.distribution.convert_2to3_doctests):
    AttributeError: 'Distribution' object has no attribute 'convert_2to3_doctests'
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Jan 25, 2022
@fcollonval fcollonval removed the status:Needs Triage Applied to new issues that need triage label Jan 26, 2022
@fcollonval
Copy link
Member Author

fcollonval commented Jan 26, 2022

Maybe related: pypa/setuptools#2765

It seems it comes from setuptools in the temporary virtual env being different of the one in the active environment.

@bollwyvl
Copy link
Contributor

Gross.

I guess either lab needs to pick a line in the sand in as to setuptools version in build-system.

Alternately, this could be applied in jupyter-packaging, and then raising the minimum pin....

@bollwyvl
Copy link
Contributor

Hm, appears to perhaps be related to jsonschema -> pyrsistent (source of everlasting joy).

@fcollonval
Copy link
Member Author

A similar issue was reported there

It was due to two versions of setuptools being installed simultaneously.

@jtpio
Copy link
Member

jtpio commented Jan 27, 2022

Closing as fixed by jupyter-server/jupyter_releaser#251

@jtpio jtpio closed this as completed Jan 27, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants