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

bug: builds broken due to django-celery-beat + setuptools deprecation #541

Closed
ericswpark opened this issue Jul 29, 2024 · 1 comment
Closed
Assignees
Labels
blocked This cannot be resolved due to depending on another issue/PR or 3rd-party bug Something isn't working dependencies Pull requests that update a dependency file P0 Priority Level 0 (Extremely urgent) python Python related

Comments

@ericswpark
Copy link
Collaborator

What subsystem are you reporting a problem with? (Hint: you can select multiple!)

shipper (backend)

What happened?

setuptools deprecated the test command, causing breakage of the django-celery-beat package. See the following issues:

What can we do to reproduce the problem?

  1. Try and install the requirements of the backend

Relevant log output

Collecting django-celery-beat==2.6.0 (from -r requirements/common.txt (line 5))
  Downloading django-celery-beat-2.6.0.tar.gz (160 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/tmp/pip-build-env-30w5cqbd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
        File "/tmp/pip-build-env-30w5cqbd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-30w5cqbd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-30w5cqbd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 9, in <module>
      ModuleNotFoundError: No module named 'setuptools.command.test'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Error: Process completed with exit code 1.

shipper version

master

shippy version

N/A

Anything else?

No response

@ericswpark ericswpark added the bug Something isn't working label Jul 29, 2024
@ericswpark ericswpark self-assigned this Jul 29, 2024
@ericswpark ericswpark added dependencies Pull requests that update a dependency file python Python related blocked This cannot be resolved due to depending on another issue/PR or 3rd-party P0 Priority Level 0 (Extremely urgent) labels Jul 29, 2024
@ericswpark
Copy link
Collaborator Author

Seems to have been fixed upstream, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This cannot be resolved due to depending on another issue/PR or 3rd-party bug Something isn't working dependencies Pull requests that update a dependency file P0 Priority Level 0 (Extremely urgent) python Python related
Projects
None yet
Development

No branches or pull requests

1 participant