Split reviewboard.extensions.packaging into sub-modules.

Review Request #14139 — Created Sept. 3, 2024 and submitted

Information

Review Board
release-7.1.x

Reviewers

In preparation for new extension packaging work, required for changes
coming in Python's packaging ecosystem, we're now splitting up
reviewboard.extensions.packaging into new setuptools_backend and
static_media modules. This mirrors the type of move we did back in
Djblets 5.

The old imports will continue to work, but with deprecation warnings.

Successfully built extension packages. Saw the deprecation warning
but verified the packages built fine.

Summary ID
Split reviewboard.extensions.packaging into sub-modules.
In preparation for new extension packaging work, required for changes coming in Python's packaging ecosystem, we're now splitting up `reviewboard.extensions.packaging` into new `setuptools_backend` and `static_media` modules. This mirrors the type of move we did back in Djblets 5. The old imports will continue to work, but with deprecation warnings.
c1227e127ab14eb1aa8a65ffd0591585c589123e
Description From Last Updated

'typing.Any' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

'typing.Optional' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

'from setuptools.build_meta import *' used; unable to detect undefined names Column: 1 Error code: F403

reviewbotreviewbot

'setuptools.build_meta.*' imported but unused Column: 1 Error code: F401

reviewbotreviewbot

This module docstring can be more specific. Maybe "Setuptools backend support for building Review Board extensions."?

maubinmaubin

This one can also be more specific. How about "A builder for static media files."? (Copied from Djblets)

maubinmaubin
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
maubin
  1. 
      
  2. Show all issues

    This module docstring can be more specific. Maybe "Setuptools backend support for building Review Board extensions."?

  3. Show all issues

    This one can also be more specific. How about "A builder for static media files."? (Copied from Djblets)

  4. 
      
chipx86
maubin
  1. Ship It!
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.1.x (a488bc7)